r/javascript • • Aug 27 '18

`export default` considered harmful

https://basarat.gitbooks.io/typescript/docs/tips/defaultIsBad.html
32 Upvotes

43 comments sorted by

View all comments

1

u/loopsdeer Aug 27 '18

This is exactly why I use the ternary operator and goto for all control flow. Just because someone is a savant of algorithms does not make them a brilliant software engineer.