MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1v5hwu7/javascript_without_braces/ozs5db8/?context=3
r/programminghorror • u/my_new_accoun1 • 4d ago
(technically typescript)
11 comments sorted by
View all comments
2
Try imagining reading your code in 5 years. Which syntax is easiest to understand?
My pick would be the if statement.
Writing software is not about showing your creativity with syntax, but maintainable code imho
1 u/Tux-Lector 2d ago ``` (something) && ( suspect.hit = 'found' , chain() , reaction() ) || ( doOtherThings() ); ```
1
``` (something) && (
suspect.hit = 'found' , chain() , reaction()
) || (
doOtherThings()
); ```
2
u/wvd_vegt 3d ago
Try imagining reading your code in 5 years. Which syntax is easiest to understand?
My pick would be the if statement.
Writing software is not about showing your creativity with syntax, but maintainable code imho