←back to thread

475 points danielstocks | 1 comments | | HN request time: 0.001s | source
Show context
sublimefire ◴[] No.27301543[source]
Junior dev was facing a dilemma.

Before pushing to production please finish this code and choose the id you want to use:

"select * from users where id = ?"

> user_id

> profile_id

> user_profile_id

> profile_user_id

> id

> rand()

replies(1): >>27301689 #
speedgoose ◴[] No.27301689[source]
I don't think it's nice to make fun of beginners in our industry.
replies(2): >>27303159 #>>27304820 #
1. sublimefire ◴[] No.27304820[source]
I was not trying to make a joke about the beginner devs. The list of choices a novice developer needs to make is reflective of our industry (why would there be so many choices). It is easy to make an error and bring the whole system down which in turn is the joke about "senior" people who instead of reducing complexity - increase it, and make it fragile.