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

For god's sake, man, run a linter on this thing. The mixing of spaces and tabs alone makes the code embarrassingly difficult to read.

http://imgur.com/a/XlSQD



Fix your editor and set the tabspace to the correct value ? I'm guessing 2 spaces is the right value in this case.


Or maybe it's the developer who needs to fix his editor. Proper editor should convert tabs into spaces or vise versa and not create complications for everyone else.


Last I checked I don't have access to "fix" how GitHub displays source code, although it looks like the maintainers can add an .editorconfig to their project to address this particular case.




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

Search: