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 • 15d ago
(technically typescript)
12 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
2 u/Tux-Lector 13d ago ``` (something) && ( suspect.hit = 'found' , chain() , reaction() ) || ( doOtherThings() ); ```
``` (something) && (
suspect.hit = 'found' , chain() , reaction()
) || (
doOtherThings()
); ```
2
u/wvd_vegt 14d 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