Misc.Sep 5, 2019
Amazondnildblind

why is it so hard to find good programmers?

I am reviewing terrible code as part of my daily work. People confidently push out crappy code without worrying about readability or even correctness. In my entirely career across several companies, I have seen less than 10 people who write beautiful code (although I have seen tons more outside of work in open source projects). Is it because I am not in a kickass team? How prevalent is this in Amazon? What about other tech companies, could you share your experience?

Google cliffhangr Sep 5, 2019

What's the cleanest OSS code you've worked with?

Amazon dnildblind OP Sep 5, 2019

Keras is one of the recent gems I found.

Moody's HcyS15 Sep 5, 2019

Cause companies hire by Leetcode standards. It prioritizes those who memorize LC over those who spend time reading books like Clean Code. In other words, companies don't value the skill. I know one team who writes very clean code. Company doesn't seem to care at end of day and only care about results. It's all about 'profit' and 'deliver fast', not 'write maintainable codebase'. Why not hire me? I got onsite in a few days at Amazon ;)

Reliable Software YonkoKaido Sep 5, 2019

Hire you? That will be done after you prove your leetcode skills. And yet your first PR will be to fix padding on some button for example 😂

Moody's HcyS15 Sep 5, 2019

Hahaha. Nah, don't forget the LP.

New
NoSnooze Sep 5, 2019

There's two answers. One most devs do suck. Two, the ones that are forced by the 80/20 rule to do poor work and it becomes habit.

eBay jhdbcni Sep 5, 2019

“Beautiful code”? Reminds me about this guy who keep saying “cutting code” as though he is sculpting 😂😂

Amazon kkbhzs2 Sep 5, 2019

For the same reason it’s difficult to find body builder men and flawless figured women. Excellent Brain, Beauty and Strength are not easy to get or maintain

Microsoft ~=3 Sep 5, 2019

You get what you pay for

Asurion mukimuki Sep 5, 2019

Because the guy on your team who writes beautiful code was given two sprints to do his ticket and he didn't deliver so now it's being reassigned to you and you have 2 days to do it.

Microsoft ~=3 Sep 5, 2019

I’d like to see some of your own code.

Amazon dnildblind OP Sep 5, 2019

PM me. I am up for the challenge 😀

New
LCGrind Sep 5, 2019

Op what resources would you suggest for learning about writing clean code. Thanks

Cisco meoww Sep 5, 2019

Time, quality, and money. Pick two. All code is meant to be rewritten. That’s why I don’t believe in the idea of “good code”

Amazon dnildblind OP Sep 5, 2019

I like your “CAP” theorem. what I am asking is not perfection, but working code and basic clarity of thoughts communicated in code. Without that I cannot imagine how can the next person pick up the task of rewrite.

New
old🧘🏽‍♂️ Sep 5, 2019

Made me think - how much does code quality have to do with success of a company? Or let’s reduce the scope - how many times have you seen crappy code in an app that’s critical to company’s revenue?

Amazon dnildblind OP Sep 5, 2019

Interesting thought. I believe every product has some sort of crappy code, and probably most products started in that way. I see badly written code has detrimental effect to a growing team, which in a way affects the growth of a company.