Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use both but camel case assumes capitalization doesn't have meaning other than as a sort of break indicator, which isn't always the case.


Behold this monstrosity: devDbUrl

Madness. The only thing worse that developers willingly tolerate is prettier's sacrilegious linebreaks [0].

0: https://prettier.io/playground/#N4Igxg9gdgLgprEAuc0DOMAEBXNc...


42 columns, eh?


JFC preach! This shits me to tears, I need to figure out a way to turn those line breaks off.


The best solution I've found is to not use Prettier and instead use ESLint Stylistic for formatting:

https://eslint.style/guide/why




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: