Use the standard library - Deepstash

Explore the World's Best Ideas

Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.

Use the standard library

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 code because you use packages familiar to them
  2. You save time by not having to implement functionality from scratch

7

53 reads

MORE IDEAS ON THIS

Benefits of idiomatic code

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...

7

65 reads

Idiomatic code

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.

6

102 reads

CURATED FROM

CURATED BY

ocpodariu

Alt account of @ocp. I use it to stash ideas about software engineering

๐Ÿ“– Writing Idiomatic Python

โ€œ

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Access to 200,000+ ideas

โ€”

Access to the mobile app

โ€”

Unlimited idea saving & library

โ€”

โ€”

Unlimited history

โ€”

โ€”

Unlimited listening to ideas

โ€”

โ€”

Downloading & offline access

โ€”

โ€”

Personalized recommendations

โ€”

โ€”

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates