Hacker News new | ask | show | jobs
by 3cats-in-a-coat 859 days ago
Just my comments are 50 lines, but thanks I'll never stop finding these "functions must be this long and classes must have that many properties, and PR should be so many lines" etc. rules hilarious.

It cheers me up that people so naive exist.

Size is contextual to the thing the PR regards. Maybe it's one char. Maybe it's 500 lines. Maybe it's 10k lines. Screw this.

2 comments

Seems like a skill issue, honestly. I feel like many of these arbitrary rules end up being made to account for low skill developers to curb their behaviors which seems like the wrong way to tackle that problem.
Precisely
I just think the people who whole-heartedly believe in such "best practices" (and much more so the people who succumb to them) help justify my salary.