#programming-best-practices

[ follow ]
JavaScript
fromAllthingssmitty
8 months ago

Default parameters: your code just got smarter - Matt Smith

Default parameters in JavaScript simplify function definitions by allowing defaults directly in the signature, reducing errors related to falsy values.
UX design
fromInfoWorld
10 months ago

Five rules for coding with Booleans

Using enums over Booleans improves clarity and maintainability in code. Future expansions are easier to implement with enums.
Scala
fromHackernoon
3 years ago

Code Smell 297 - Syntactic Noise | HackerNoon

Code should be clear and understandable, not cryptic or excessively complex.
[ Load more ]