Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Letmecode I like it when I put a linter in a project and this kind of code makes the build break and they have to change it themselves 😈
-
hiestaa4018yI think the import statements are not exceeding 80chars per line. It be fun to see a linter vomiting over this code :D
-
and this is why I'm not allowed on devRant before I've finished my morning caffeination rituals.
-
rozzzly16718yDev A: Spaces are the best!! My `.editorconfig` is set to 2 spaces.
Dev B: nuh uhhh tabs are, I mean, its like the key _specifically_ designed for indenting
Dev A: yeah but then you cant control th--//--*cutoff*
@rozzzly: I use four spaces; I spent 45s to map my IDE to insert 4 spaces when I press tab. I get the best of both worlds; this is stupid.
@unimonkiez's coworker: I use 15 spaces.
*silence*
@rozzzly: I take that back. THAT is stupid.
Dev A: ...its not even a multiple of 2 -
rozzzly16718y@tysa Notepad++? I hope you're joking. You know, like this kind of joke:
> convince noob coworker that Notepad++ is the editor they should be using
> coworker continues to use Notepad++, even telling others its a good "text editor"
> everybody laughs at him
> feel bad ...but just slightly -
rozzzly16718y@tysa
awweh y u delete comment.
anyway: no man, you're totally right. If you're doing any serious dev NP++ is a poor choice. But if you just need quickly edit something, then NP++ might be a pretty good choice:
it gives you some basic syntax highlighting for pretty much any filetype, you can have a few basic keymappings, etc, etc. Much better than notepad.exe & it should load in a like 10th the time that JetBrains/Visual Studio/atom takes. -
rozzzly16718ybut from the pic it looks he already had it open in an IDE which is likely to have more sophisticated code formatting. That's really why I was hating on NP++ there.
NP++ isn't a very good program, but its not bad, and can be just the tool for some jobs. -
tysa42968y@rozzzly I wish I hadn't. it was a reflex action tbh.
anyways, I always use NP++ to read Abby file which doesn't belong to my project (mostly because you can open multiple file types by simply right-clicking the file and selecting edit with notepad++.
I have never used it, however, to write a line of code for any of my project.
I mean, why even bother when you have ide's, which help you write your code on every keystroke ?
anyways, I have stuff to work on. -
@rozzzly it's from Atom, though this guy uses sublime and he doesn't care enough to format his code..
-
@tomexx we have that! And also eslint.
But eslint doesn't check indentation inside objects and it seems like he was trying hard to make it ugly as fuck even with editorconfig -
Knossos5278yauto format as part of the continuous integration process. Shitty formatting no more!
Related Rants
FUCK PEOPLE WHO INDENT LIKE THIS YOU MAKE ME SICK
undefined
hard time
wk13
js
colleague