#programming-best-practices

[ follow ]
#code-clarity
fromHackernoon
2 years ago
Scala

Code Smell 297 - Syntactic Noise | HackerNoon

Code should be clear and understandable, not cryptic or excessively complex.
fromGitHub
2 months ago
JavaScript

GitHub - azat-io/eslint-plugin-de-morgan: ESLint plugin for transforming negated boolean expressions via De Morgan's laws

An ESLint plugin improves code clarity by transforming negated boolean expressions using De Morgan's laws.
fromHackernoon
2 years ago
Scala

Code Smell 297 - Syntactic Noise | HackerNoon

Code should be clear and understandable, not cryptic or excessively complex.
fromGitHub
2 months ago
JavaScript

GitHub - azat-io/eslint-plugin-de-morgan: ESLint plugin for transforming negated boolean expressions via De Morgan's laws

An ESLint plugin improves code clarity by transforming negated boolean expressions using De Morgan's laws.
more#code-clarity
#python
fromPythonmorsels
5 months ago
JavaScript

Python's pathlib module

Utilizing Python's pathlib module enhances file path management, making code more readable, maintainable, and cross-platform compatible.
fromMedium
8 months ago
Python

Level Up Your Python: Essential Style Guide Tips for Readable & Maintainable Code [Part 2]

Style in Python enhances readability and collaboration, making code not only functional but also aesthetically pleasing.
fromTechBeamers
1 month ago
Python

Python Increment and Decrement Operators

Python emphasizes explicit incrementing and decrementing using += and -= operators for clarity and predictability.
fromPycoders
1 week ago
Python

PyCoder's Weekly | Issue #678

Utilizing Python namespaces is essential for managing variable scopes effectively.
fromTall, Snarky Canadian
5 months ago
JavaScript

Don't return named tuples in new APIs

Named tuples should be used when tuple return types become insufficiently descriptive due to API expansion.
Starting with named tuples complicates API usage due to dual access methods for users.
fromPythonmorsels
5 months ago
JavaScript

Python's pathlib module

Utilizing Python's pathlib module enhances file path management, making code more readable, maintainable, and cross-platform compatible.
fromMedium
8 months ago
Python

Level Up Your Python: Essential Style Guide Tips for Readable & Maintainable Code [Part 2]

Style in Python enhances readability and collaboration, making code not only functional but also aesthetically pleasing.
fromTechBeamers
1 month ago
Python

Python Increment and Decrement Operators

Python emphasizes explicit incrementing and decrementing using += and -= operators for clarity and predictability.
fromPycoders
1 week ago
Python

PyCoder's Weekly | Issue #678

Utilizing Python namespaces is essential for managing variable scopes effectively.
fromTall, Snarky Canadian
5 months ago
JavaScript

Don't return named tuples in new APIs

Named tuples should be used when tuple return types become insufficiently descriptive due to API expansion.
Starting with named tuples complicates API usage due to dual access methods for users.
more#python
fromnodesource.com
4 weeks ago
Node JS

How Node.js Handles Async Operations

Node.js leverages asynchronous, non-blocking I/O for efficient concurrent task management.
fromAllthingssmitty
4 weeks ago
JavaScript

Leveraging

The any type compromises TypeScript's type safety, while the unknown type enforces type checks, enhancing code safety and maintainability.
fromHackernoon
1 year ago
Agile

IEnumerable Isn't What You Think It Is-And It's Breaking Your Code | HackerNoon

Repeated enumeration of IEnumerable can lead to bugs and performance issues because it is not a collection.
#code-readability
fromCodeProject
7 months ago
JavaScript

4 Reasons Why You Should Follow the DRY Principle in Software Development

The DRY principle reduces code duplication and improves maintainability, readability, and simplicity in software development.
fromHackernoon
2 years ago
Miscellaneous

Code Smell 277 - UPPERCASE Acronyms | HackerNoon

Treat acronyms like normal words to enhance code readability.
Use camelCase for acronyms to maintain a natural reading flow.
fromHackernoon
1 year ago
JavaScript

Code and the Art of Motorcycle Maintenance: Typical Rookie Faults | HackerNoon

Programming requires balancing performance with readability, focusing on the essentials and respect for complexity.
fromCodeProject
7 months ago
JavaScript

4 Reasons Why You Should Follow the DRY Principle in Software Development

The DRY principle reduces code duplication and improves maintainability, readability, and simplicity in software development.
fromHackernoon
2 years ago
Miscellaneous

Code Smell 277 - UPPERCASE Acronyms | HackerNoon

Treat acronyms like normal words to enhance code readability.
Use camelCase for acronyms to maintain a natural reading flow.
fromHackernoon
1 year ago
JavaScript

Code and the Art of Motorcycle Maintenance: Typical Rookie Faults | HackerNoon

Programming requires balancing performance with readability, focusing on the essentials and respect for complexity.
more#code-readability
fromHackernoon
2 years ago
JavaScript

Code Smell 266 - Collection Aliasing | HackerNoon

Immutable collections prevent unintended side effects from aliasing, leading to clearer, safer code.
fromAlvinalexander
8 months ago
JavaScript

Pure Functions: A Review (Scala 3 Video)

A pure function consistently returns the same output for the same input, being free from side effects or external dependencies.
[ Load more ]