News for hackers. Stuff that matters.
Re:Goodbye, Clean Code by cheshire_cat on Saturday January 11, 2020 @09:01PM (#22023930)
Sandi Metz wrote a blog post about this: https://www.sandimetz.com/blog/2016/1/20/the-wrong-abstracti...

> The moral of this story? Don't get trapped by the sunk cost fallacy. If you find yourself passing parameters and adding conditional paths through shared code, the abstraction is incorrect. It may have been right to begin with, but that day has passed. Once an abstraction is proved wrong the best strategy is to re-introduce duplication and let it show you what's right. Although it occasionally makes sense to accumulate a few conditionals to gain insight into what's going on, you'll suffer less pain if you abandon the wrong abstraction sooner rather than later.

Re:Goodbye, Clean Code by BalinKing on Saturday January 11, 2020 @11:32PM (#22024493)
Sandi Metz's blog (and book) are an absolute gold mine. I'm a junior developer (<5 years), and the material gave me an entirely new outlook on design (object-oriented and otherwise)... and also showed me how un-maintainably most development is done nowadays :(

If there was a required reading list for professional developers, I would put her work on with zero hesitation, I feel it to be that important.

Re:Goodbye, Clean Code by bberrry on Sunday January 12, 2020 @06:19AM (#22025733)
Which book are you referring to?
Re:Goodbye, Clean Code by steveklabnik on Sunday January 12, 2020 @09:05AM (#22026309)
Not your parent, but https://www.poodr.com/
Re:Goodbye, Clean Code by xenihn on Sunday January 12, 2020 @09:33AM (#22026409)
Re:Goodbye, Clean Code by klyonrad on Sunday January 12, 2020 @10:10AM (#22026578)
You call devs Junior until they have over 5 years experience? Wow, that’s harsh
Re:Goodbye, Clean Code by BoiledCabbage on Sunday January 12, 2020 @11:33AM (#22027156)
> You call devs Junior until they have over 5 years experience? Wow, that’s harsh

Less than 3-4 years is absolutely junior dev. Up until around 7 or 8 years is mid-level. Passing beyond that would be senior dev and the other titles then follow.

With the obvious note that it's not strictly time bound - someone could easily get stuck at mid level for much longer if they aren't progressing. It's pretty hard to still be only junior after 7+ years

Re:Goodbye, Clean Code by vertexmachina on Monday January 13, 2020 @01:17PM (#22037042)
I agree.

I still very much consider myself junior but someone I know with less experience than me just recently got a job with "senior" in the title. I have seen senior job postings that say something like "3+ years of experience."

I absolutely do not consider myself senior and I don't think I will for at least seven more years.

Re:Goodbye, Clean Code by BalinKing on Monday January 13, 2020 @11:22PM (#22041826)
One of the big reasons I realized I still _was_ a junior developer was because of Sandi Metz's content showing me how long of a journey I still have to go :-P

I don't personally think it's strictly about the time one's been programming, although in my experience that can be a good benchmark for e.g. how good one's abstraction, API design, etc. skills are.