←back to thread

475 points danielstocks | 4 comments | | HN request time: 0.234s | source
1. 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 #
2. speedgoose ◴[] No.27301689[source]
I don't think it's nice to make fun of beginners in our industry.
replies(2): >>27303159 #>>27304820 #
3. jasonladuke0311 ◴[] No.27303159[source]
I _think_ it's intended to be a joke about the IQ test they supposedly administer to applicants.
4. 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.