#code-readability

[ follow ]
#python
fromPythonmorsels
in 14 years
JavaScript

Avoid over-commenting in Python

Code comments should enhance readability, but code improvements can often achieve the same goal more effectively.
fromRealpython
2 months ago
Python

Single and Double Underscore Naming Conventions in Python - Real Python

Understanding Python's underscore conventions is essential for clear API design and code readability.
fromPythonmorsels
2 months ago
Python

Multiline strings

Multiline strings in Python enhance code readability, especially for longer strings like usage messages.
fromPythonmorsels
1 month ago
OMG science

Refactoring long boolean expressions

Break long Boolean expressions into multiple lines to enhance readability.
Use variable and function names for sub-expressions to clarify intentions.
Apply De Morgan's Law to rewrite complex Boolean logic for easier comprehension.
fromPythonmorsels
in 14 years
JavaScript

Avoid over-commenting in Python

Code comments should enhance readability, but code improvements can often achieve the same goal more effectively.
fromRealpython
2 months ago
Python

Single and Double Underscore Naming Conventions in Python - Real Python

Understanding Python's underscore conventions is essential for clear API design and code readability.
fromPythonmorsels
2 months ago
Python

Multiline strings

Multiline strings in Python enhance code readability, especially for longer strings like usage messages.
fromPythonmorsels
1 month ago
OMG science

Refactoring long boolean expressions

Break long Boolean expressions into multiple lines to enhance readability.
Use variable and function names for sub-expressions to clarify intentions.
Apply De Morgan's Law to rewrite complex Boolean logic for easier comprehension.
more#python
JavaScript
fromLogRocket Blog
2 months ago

A practical guide to switch statements in JavaScript - LogRocket Blog

Using switch statements in JavaScript improves code readability and handles multiple conditions effectively.
fromCodeProject
7 months ago
JavaScript

What Is a Lambda Function in Java and Example.

Lambda functions in Java simplify writing anonymous methods using clear syntax.
Functional interfaces are essential for utilizing lambda expressions effectively.
#software-development
fromMedium
9 months ago
Artificial intelligence

Optimizing Your Codebase for AI Coding Assistants

Designing a readable and maintainable codebase is essential for optimizing AI coding assistants' performance and output.
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.
fromMedium
9 months ago
Artificial intelligence

Optimizing Your Codebase for AI Coding Assistants

Designing a readable and maintainable codebase is essential for optimizing AI coding assistants' performance and output.
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#software-development
fromHackernoon
1 year ago
JavaScript

Introducing Builder: Your Buddy in Test-Driven Development (TDD) | HackerNoon

The builder pattern streamlines test data creation, enhancing readability and reducing redundancy in test suites.
fromAlvinalexander
8 months ago
Scala

flatMap Naturally Leads To for Expressions (Scala 3 Video)

For-comprehensions improve readability and elegance when using Option types in Scala.
fromMichaelnthiessen
10 months ago
JavaScript

Make Your Components Easier to Think About

Creating separate components can enhance code readability and improve human understanding.
#python-function-names
fromRealpython
9 months ago
JavaScript

How Do You Choose Python Function Names? - Real Python

Use snake_case for Python function names for better readability and adherence to PEP 8 style guidelines.
fromRealpython
9 months ago
Python

How Do You Choose Python Function Names? Quiz - Real Python

Choosing the right Python function names improves code readability, maintainability, and reduces bugs.
fromRealpython
9 months ago
JavaScript

How Do You Choose Python Function Names? - Real Python

Use snake_case for Python function names for better readability and adherence to PEP 8 style guidelines.
fromRealpython
9 months ago
Python

How Do You Choose Python Function Names? Quiz - Real Python

Choosing the right Python function names improves code readability, maintainability, and reduces bugs.
more#python-function-names
[ Load more ]