Live data from Hacker News

Ask HN: What did you learn the hard way?

news.ycombinator.com

271–280 of 322 posts

Re: Ask HN: What did you learn the hard way?

#271

Keeping high quality in a code base either requires dedicated person/team.

There are different dimensions of quality, and some of them have a much bigger payoff in the middle to long run than others.

There’s a profound difference between ugly code and tech debt. Many people don’t really understand the difference until they’ve struggled with it for a long time. They will alternately declare Tech Debt or YAGNI in wholly inappropriate situations.

Re: Ask HN: What did you learn the hard way?

#272

Someone told me something along the lines of "Every event in your life can change your life entirely - you get into Harvard or you don't, you get the job or you don't, you win the tournament and go on to become a champion, or you give up on the sport when you lose. Every little decision can be a fork in your life, though most aren't." Sure, it's oversimplified, sure some "bad-seeming" things are good in the long run,…

Don’t wind yourself up about it though. One of my favorite definitions of adulthood is “learning to integrate all of your life experiences”.

All your detours and diversions add up to You, including the stuff you were afraid would never matter.

Re: Ask HN: What did you learn the hard way?

#273
post #44

Life, by default, is suffering. The surprise is not the fact that there is suffering around the world, but how we managed to achieve the level of prolonged peaceful co-existence that we have today. We should act in such a way that suffering or chaos is reduced---however small such reduction may be. Suppose you had a choice between watching T.V. and washing the dishes. Watching T.V. means, perhaps, that your spouse wi…

This reminds me of a bit in one of Bill Burr's standup shows, where he says that if a woman wants to make her boyfriend/husband happy, she should make him a sandwich, hand him a beer, and then leave him to whatever he was doing before you came in.

I think a lot of people forget about the random act of kindness, and how it can go a long way towards making people much happier. It can be as simple as stopping to let someone cross the road, making your partner a sandwich, tidying the house, or even leaving a nice reply to a tweet.

Re: Ask HN: What did you learn the hard way?

#274

Earlier quoted context omitted.

Speaking of dishwashing and life lessons. When I was in college (20 years ago) and sharing an apartment with 3 colleagues, the guys were leaving their dishes unwashed in the kitchen sink. Initially I washed my own dishes after finising a meal, only to find out the colleagues happily used my clean dishes then let them dirty in the sink. I realized I'm washing them twice: once when picking them dirty from the sink, was…

no but you can do like the Romans and break all their plates.

Prosit!

Re: Ask HN: What did you learn the hard way?

#275

Sadly, after more than 20 years building software, _NEVER_ trust a business person. My faith in humanity had to have me bitten by this the hard way more than once.

Yeah, I'm surprised that they trust each other at all. What keeps them from bashing each other with sticks? When I see business people smile at each other and shaking hands, I cannot make sense of this in my mind. What's the point of smiling when both people couldn't care less if the other person dropped dead on the spot.

Yeah, I get what you are saying. This might illuminate what's happening.

https://www.ribbonfarm.com/2009/10/07/the-gervais-principle-...

Re: Ask HN: What did you learn the hard way?

#278
post #57

If the ship is sinking, don't bail harder, get your butt onto a ship that _isn't_ sinking ASAP. It's much better for your mental health, and it's the logical free market thing to do....reallocating resources to more effective companies.

Doing this saved my life. I went from a complete dead end to a very successful year overnight. Well over the year since I bailed and jumped on a good ship.

Re: Ask HN: What did you learn the hard way?

#279
post #231

Earlier quoted context omitted.

I eat at restaurants everyday. I know I shouldn’t but it’s hard to change lifestyle...

You shouldn't if it has negative financial or medical effects on you. I eat out exclusively, and do so for less than the cost of groceries and with fantastic effects on my health, and I'm doing so in a very high cost of living city, too.

It’s not everywhere that you can find cheap, healthy and clean restaurants.

Re: Ask HN: What did you learn the hard way?

#280

Earlier quoted context omitted.

"Our code is self-documenting. If you need documentation then the code isn't written well enough" -Assholes who don't know what it is like to work with mature code bases. - People who don't know how to write clean code

I agreed with this until my current job, when it was stated cheerfully by a guy whose code is so shit lousy that I want to do violence to him (an emotion I haven’t felt in probably ten years). Management thinks he’s brilliant. Everybody else thinks he’s an insane asshole. Just because you know people who can say this with sincerity and gravitas doesn’t mean there aren’t assholes. There are always assholes.

I think the book _Pragmatic Programmer_ explains the concept of this asshole type of programmer and how to have the same results as him without being an asshole yourself
Post reply on HN