Python's pathlib moduleUtilizing Python's pathlib module enhances file path management, making code more readable, maintainable, and cross-platform compatible.
Enums make good singletonsUsing single-value enums like MissingType enhances reliability and clarity for handling missing data in 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.
Commenting in PythonComments in Python start with '#', provide clarity, but Python lacks a multiline comment syntax.
Don't return named tuples in new APIsNamed 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.
Python's pathlib moduleUtilizing Python's pathlib module enhances file path management, making code more readable, maintainable, and cross-platform compatible.
Enums make good singletonsUsing single-value enums like MissingType enhances reliability and clarity for handling missing data in 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.
Commenting in PythonComments in Python start with '#', provide clarity, but Python lacks a multiline comment syntax.
Don't return named tuples in new APIsNamed 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.
4 Reasons Why You Should Follow the DRY Principle in Software DevelopmentThe DRY principle reduces code duplication and improves maintainability, readability, and simplicity in software development.
Code Smell 277 - UPPERCASE Acronyms | HackerNoonTreat acronyms like normal words to enhance code readability.Use camelCase for acronyms to maintain a natural reading flow.
Code and the Art of Motorcycle Maintenance: Typical Rookie Faults | HackerNoonProgramming requires balancing performance with readability, focusing on the essentials and respect for complexity.
4 Reasons Why You Should Follow the DRY Principle in Software DevelopmentThe DRY principle reduces code duplication and improves maintainability, readability, and simplicity in software development.
Code Smell 277 - UPPERCASE Acronyms | HackerNoonTreat acronyms like normal words to enhance code readability.Use camelCase for acronyms to maintain a natural reading flow.
Code and the Art of Motorcycle Maintenance: Typical Rookie Faults | HackerNoonProgramming requires balancing performance with readability, focusing on the essentials and respect for complexity.
Code Smell 266 - Collection Aliasing | HackerNoonImmutable collections prevent unintended side effects from aliasing, leading to clearer, safer code.
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.