3
maiis
8y

I am the only front end developer in my team, used to be 2, and there is 4 java backend dev. We are all Seniors, so you'd expect to be experienced. I like my code to be "nice" and I am using linting tools, rules, formatting etc... (I do JS mainly).

During a scrum review some of the java guys showed some code on the screen and that thing was a monstrosity for me! I could not look at some code like that, if I had to work with that I'd probably hang myself. Nothing was aligned, no consistency. So my question: you guys aren't using any guidelines to have cleaner code ? How do you make sure you all code the same ?

...

What are you taking about ? We use Eclipse, with default options, no tools no guidelines...

Comments
  • 0
    You're right to be angry at illegible code. If you can't read it, what's the fucking point? Coding standards exist for a reason. Strongly typed languages like Java and C# are much easier to manage coding standards on too, because they have a relatively strict structure (compared to JavaScript).

    Pretty looking code is one thing, though. Writing code that is well architected and logically structured is challenging and requires at least some planning. If people don't know or understand the SOLID principles, learn them and practice them. It'll make you not just a better programmer, but a better software engineer.
Add Comment