219 place 0

1049 Python Clean Code: Stop Writing Bad Code — Lessons from Uncle Bob

Habr
profleaddev @ Habr 1 place · 09/09/2024 03:26 EDT

Python Clean Code: Stop Writing Bad Code — Lessons from Uncle Bob

Are you tired of writing messy and unorganized code that leads to frustration and bugs? You can transform your code from a confusing mess into something crystal clear with a few simple changes. In this article, we'll explore key principles from the book "Clean Code" by Robert C. Martin, also known as Uncle Bob, and apply them to Python. Whether you're a web developer, software engineer, data analyst, or data scientist, these principles will help you write clean, readable, and maintainable Python code. Read.

To see detailed statistics for the news please log in »

Read the original

Add your comment
You must be logged in with Facebook to read and write comments.

A newsletter a day!

You may get 10 most important news around midday in daily newsletter. Press the button and we will send you the most important news only, no spam attached.

or register

LIKE us on Facebook so you won't miss the most important news of the day!

News from the same source
Habr Habr
🔮
24.07.2025 ♒︎ Dear Aquarius, today your astrological forecast is filled with both positive moments and some areas... Read more ›
Business Insider
Brent D. Griffiths @ Business Insider 1 place · today 11:05 EDT

Trump says he's not trying to 'destroy' Elon Musk's businesses by scaling back subsidies Tesla has thrived on

Trump is looking to set the record straight on his stance on Elon Musk's companies. The president said he wanted Elon's businesses to "thrive." Read more

1,684 fresh

Wired
David Gilbert @ Wired 1 place · today 11:28 EDT

An Inventor Is Injecting Bleach Into Cancerous Tumors—and Wants to Bring the Treatment to the US

A Chinese man with no medical training is injecting cancer patients with a toxic bleach solution; a full course of treatment runs $20,000. He's now working to bring the unproven treatment to the US. Read more

1,530 fresh

GSMArena.com
GSMArena.com 1 place · today 11:26 EDT

Realme 15 and 15 Pro debut with more powerful chipsets and new cameras

This year, Realme is streamlining its numerical lineup, so the Realme 15 Pro is a successor to the Realme 14 Pro+ from earlier this year, while the vanilla Realme 15 succeeds the Realme 14 Pro. Realme 15 Pro The new Realme 15 Pro is based on a more powerful chipset, the Snapdragon 7 Gen 4, and retains essentially the same 6.8-inch OLED panel, but with a 144Hz refresh rate this... Read more

873 fresh

Eurogamer.net
Matt Wales @ Eurogamer.net 1 place · today 12:44 EDT

Grounded 2 is celebrating its release with a chance to win a 10-foot fluffy ant you can use to frighten a child

Forget eight inches of Shadow the Hedgehog; forget 22 inches of Solid Snake (until you're alone at least), and behold the terrifying majesty of Grounded 2's 10-foot ant plushie/gaming chair hybrid, which Microsoft is currently giving away to promote its upcoming sequel. Read more Read more

711 fresh

Mashable
Mashable 1 place · today 05:41 EDT

Stephen Colbert doubles down on Trump/Epstein coverage, takes a shot at Paramount

Stephen Colbert has spoken about the latest Trump/Epstein news, and taken a shot at his parent company Paramount, in his latest "Late Show" monologue. Read more

701 fresh

MacRumors
Joe Rossignol @ MacRumors 1 place · today 09:33 EDT

Apple Shares iOS 18.6 Release Notes

While the focus is now on iOS 26, there is still an iOS 18.6 update incoming. As noted by Aaron Zollo, Apple on Wednesday re-labeled iOS 18.6 Beta 4 as simply iOS 18.6, meaning that it is the Release Candidate version. This change effectively confirms that the update will be released to the public next week. Alongside the new label, Apple shared release notes for iOS 18.6, which is a... Read more

646 fresh

Android Authority
Matt Horne @ Android Authority 1 place · today 11:49 EDT

Amazon launches a cheaper color Kindle and its first model for kids

You can save a few bucks on the original if you're happy with less storage and wired charging. Read more

573 fresh

Business Insider
Gabbi Shaw @ Business Insider 2 place · today 10:37 EDT

Every TV show ending in 2025, from 'Stranger Things' to 'The Late Show'

Catch up quickly on key TV show cancellations and fiales in 2025, including "Stranger Things" and "The Late Show," with our up-to-date list. Read more

543 fresh

Engadget
Matt Tate @ Engadget 1 place · today 11:42 EDT

Our favorite smart air purifier is currently 17 percent off

It’s always a good time to invest in an air purifier, but in the summer, when seasonal allergies can force sufferers to keep the windows closed, they’re especially useful. And right now our favorite overall air purifier can be picked up for 17 percent off when purchased from Amazon. Down to $183 from its usual price of $220 (the same deal that was running during Prime Day), the Levoit Core... Read more

542 fresh

The Verge
Jay Peters @ The Verge 1 place · today 09:00 EDT

Amazon is launching a cheaper color Kindle

After launching the Kindle Colorsoft last year — its first Kindle with a color screen — Amazon is adding two new iterations of the e-reader to its lineup today: a cheaper Colorsoft with 16GB of storage for $249.99 and a kids-focused bundle for $269.99. The Kindle Colorsoft Signature Edition will still be available for $279.99.  […] Read more

461 fresh

Wired
Lauren Goode @ Wired 2 place · today 11:00 EDT

Cursor’s New Bugbot Is Designed to Save Vibe Coders From Themselves

One of the most popular platforms for AI-assisted programming says the next era of vibe coding is all about supercharging error detection. Read more

451 fresh

The Verge
Emma Roth @ The Verge 2 place · today 11:47 EDT

Google’s shortened goo.gl links will stop working next month

Google will officially deprecate links generated with its URL shortening tool next month. On August 25th, 2025, all links in the “https://goo.gl/*” format will no longer work and return a 404 error message. Google shut down its URL shortener in 2019, citing “changes we’ve seen in how people find content on the internet.” Links created […] Read more

430 fresh

Engadget
Igor Bonifacic @ Engadget 2 place · today 10:43 EDT

Google's tool for virtually trying on clothes is now available in the US

At I/O 2025 in May, Google previewed a new AI-powered feature the company said would simplify online shopping. The tool allows you to upload a single, full-body photo of yourself to "try on" different pieces of clothing you find online. Following a limited preview, Google has begun rolling out the feature to users in the US. You can start trying on clothing for yourself by tapping the "try on" icon... Read more

419 fresh

Business Insider
Alex Morrell,Bradley Saacks @ Business Insider 3 place · today 11:32 EDT

'A long, slow bleed': Quant hedge funds are getting slammed and scrambling for answers

Hedge funds including Qube, Cubist, and Man Group have suffered prolonged losses in recent weeks. Quants are scrambling to identify the cause. Read more

417 fresh

The most popular news from the same source for the last week
Habr Habr
Habr
TantorLabs (Тантор Лабс) @ Habr 1 place · 07/17/2025 23:43 EDT

Redundant statistics slow down your Postgres? Try sampling in pg_stat_statements

pg_stat_statements is the standard PostgreSQL extension used to track query statistics: number of executions, total and average execution time, number of returned rows, and other metrics. This information allows to analyze query behavior over time, identify problem areas, and make informed optimization decisions. However, in systems with high contention, pg_stat_statements itself can become a bottleneck and cause performance drops. In this article, we will analyze in which scenarios the extension... Read more

0

Habr
melanny20 (Postgres Professional) @ Habr 2 place · 07/21/2025 07:30 EDT

[Translation] The future of AI: formal grammars

Why does even the most powerful LLM sometimes produce meaningless phrases and contradictions? It all comes down to the exponential growth of possibilities (N^M) and the free copying of human errors. Read the article to learn how we use formal grammars to turn chaotic generation into controlled synthesis, strengthening the role of semantics and enforcing structural rules. Read more Read more

0

Habr
Kaspersky_Lab («Лаборатория Касперского») @ Habr 2 place · 07/22/2025 03:18 EDT

Security Week 2530: уязвимость нулевого дня в Microsoft SharePoint

В воскресенье, 20 июля, компания Microsoft выпустила срочные патчи, закрывающие две уязвимости в ПО для совместной работы Microsoft SharePoint. Речь идет о корпоративных инсталляциях SharePoint, облачная версия SharePoint Online, входящая в пакет Microsoft 365, не подвержена проблеме. Уязвимости с идентификаторами CVE-2025-53770 и CVE-2025-53771 являются вариантами проблем, обнаруженных еще в мае этого года и пропатченных (как выяснилось, не до конца) в июльском наборе обновлений от Microsoft. Читать далее Read more

0

Habr
profleaddev @ Habr 1 place · 07/22/2025 08:44 EDT

n8n Local Install Tutorial (CLI + Docker)

n8n is a powerful, extendable workflow automation tool that allows you to connect different applications and services. Running it on your local machine gives you complete control over your data and workflows, which can be done on Windows, Mac, or Linux systems. This tutorial covers the two primary methods for local installation: using Docker and using Node.js (npm). If you are interested, then read this article until the end. :)... Read more

0

Most popular sources

  • You see 747 news out of 747.
  • Sources 61 out of 61.
Business Insider 23% 3
Tom's Hardware 9% 7
Wired 9% 6
Android Authority 8% 2
Vox 7% 3
View sources »

LIKE us on Facebook so you won't miss the most important news of the day!

24.07.2025 13:19
Last update: 13:10 EDT.
News rating updated: 20:12.

What is Times42?

Times42 brings you the most popular news from tech news portals in real-time chart.
Read about us in FAQ section.


Times42 © 2025