If you were to ask me this question at the start of my college career, I wouldn’t know how to answer. If you were to ask me this question two weeks ago, I still wouldn’t know how to answer. Isn’t it a little crazy that being in my senior year in Computer Engineering, I didn’t know about coding standards especially after two other coding classes? I don’t know if I just missed that lecture in class or I just never read that chapter in the book but after familiarizing myself with coding standards this past week, it all makes sense now. Seeing all those answers on Stack Overflow and wondering why everyone’s code looks the same was a mystery to me and I assumed they just all learned from the same Youtube tutorial.
Although I never knew what a coding standard was until just recently, I do know about the term spaghetti coding and thinking back on my old code, I had oodles of noodles.
There were so many inconsistencies just regarding all of my spacings and bracket locations. Especially when I had group projects, the code would be all over the place and I hope that my past team members can accept my apology.
ESLint with IntelliJ has definitely been coming in clutch as it makes my code all nice and neat while helping me fix my bad coding habits. In the beginning, I thought the errors were really cool because I could just go in and right click them to automatically fix them but as I got used to using IntelliJ, the errors have gotten super annoying. Don’t get me wrong, it’s super helpful when there are actual mistakes but when it says my function has not been called before, it’s just a big slap in the face because it’s like duh, I just wrote the function and didn’t call it yet, what do you expect?
Also, even though it’s realy useful, all the set up needed before we could use it was pretty painful as well. It isn’t so bad now that I know I can just copy all the files over from an old IntelliJ project but there is no way I would’ve been able to set it up by myself or outside of this class.
Overall, I really like ESLint as it does more good than bad for me. I enjoy standardizing my code and formatting it not only so it can look clean and organized but so that I can consistently format it to look so clean and organized.