Live data from Hacker News

Ask HN:working with a company with anal coding standards

news.ycombinator.com

1–10 of 16 posts

Ask HN:working with a company with anal coding standards

#1
I am a humbly good programmer who always gets a good job done (speed/meeting specs) I do not care for other people's arbitrary coding conventions. Not do I care about wasting time writing tests. I hate camelCasing. Is it getDb() or getDB()? I don't care. Keep it as getdb() and don't waste my fucking time.

Now apparently my company will adopt strict code conventions and will make committing impossible if it doesn't meet the scheme. How have you got around this?

Re: Ask HN:working with a company with anal coding standards

#2
I got around this mindset along the years, by learning about the importance of lowering the maintenance costs, improving collaboration and not depending on any single person to understand any given module or system.

Books such as "Code Complete"[1] and "Clean Code"[2] should help you with that transition.

[1] http://www.amazon.com/Code-Complete-Practical-Handbook-Const...

[2] http://www.amazon.com/Clean-Code-Handbook-Software-Craftsman...

Re: Ask HN:working with a company with anal coding standards

#3
Assuming that you work in a case sensitive programming language then conventions such as the one you identify are important for the net productivity of the whole team. Put yourself in the position of the team manager - what is best for the group?

If you are a "humbly good" programmer then you should be able to work with code conventions.

Re: Ask HN:working with a company with anal coding standards

#6
A rockstar in a rock band must play tunes others can follow.

I have seen numerous counts of "He is fast and efficient, but we end up suffering due to the (non) maintainability of his code", followed by "We had to let him go." or "He has been moved to this sole person project."

Your call.

Re: Ask HN:working with a company with anal coding standards

#10
What you're complaining about don't sound like anal coding standards. Anal coding standards is not being able to use HEREDOCs, not being allowed to write anonymous functions, being forced to use some stupid library that replaces the normal implementation of a language feature with a crappy, slower version.

Camelcase is something that you pretty much come to accept as soon as you start writing OO Perl.

Post reply on HN