Write Idiomatic Code - Deepstash

Bite-sized knowledge

to upgrade

your career

Ideas from books, articles & podcasts.

created 3 ideas

Write Idiomatic Code

📖 Writing Idiomatic Python

STASHED IN:

106 reads

Idiomatic code

Idiomatic refers to the most common way to write something in a language. Writing idiomatic code means following the conventions of the language, and solving problems the way they are meant to be solved in that language, not by porting programming patterns from other languages.

Benefits of idiomatic code

Learning and internalizing the idioms of a language greatly improves your reading abilities. You are able to focus on understanding what the code does instead of wondering why the code is written in an awkward way.

Projects that use idiomatic code benefit f...

Use the standard library

Writing idiomatic code implies relying on the standard library to solve problems, and not reimplementing functionality that is already maintained by core developers.

This has two main benefits:

  1. Others will find it easier to read and maintain your...

3 Reactions

Comment

MORE LIKE THIS

created 7 ideas

Chapter 3 How to influence people and friends

1

Comment

283 reads

It's time to

READ

LIKE

A PRO!

Jump-start your

reading habits

, gather your

knowledge

,

remember what you read

and stay ahead of the crowd!

Takes just 5 minutes a day.


TRY THE DEEPSTASH APP

+2M Installs

4.7 App Score