Live data from Hacker News

Ask HN: What is your favorite motto?

news.ycombinator.com

221–230 of 472 posts

Re: Ask HN: What is your favorite motto?

#222
post #88

I always loved Frank Herbert's quote about fear in Dune : “I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain.” In fact, this quote resonates with me so much that I've…

Yes, I too watched the new Dune trailer yesterday ;)

Re: Ask HN: What is your favorite motto?

#227
"It'll never be easier than right now"

People just want to be done with a task or not deal with it now.

* If you're already in a section of code and familiar with it, clean up a bit of technical debt. Even just write a couple comments. If you're not feeling patient enough to deal with it, add a #TODO comment with a couple brainstorms on how to deal with it so that next time it's easier to deal with.

I cleaned up an admittedly small (~1,000 LOC) but messy Excel macro codebase this way. Much of it was generated by the Macro Recorder, which makes anyone who has developed in VBA wince at the thought. While I never did refactor large sections as were needed because of other priorities, fixing things when they broke was far easier with intuitive variable names, nice function/sub names, and comments outlining generally what's happening or why this odd looking loop exists.

* If you disassemble something and there's rust, deal with the rust. The rust will make more headaches later and you're right there. It'll truly never be easier to sand it down and treat it.

* If you think you might need something for a project, just grab it. I was replacing brakes on my car recently and needed to remove a screw that was tight enough a normal screw driver was stripping it. I bought a $2 converter to let me throw a phillips head onto a wrench, a $15 set of Phillips drivers with socket backings, and a $99 impact driver. I broke the $2 solution, but the $15 solution worked great. I took the $99 solution back and saved myself ~25 minutes if the $99 solution was neeeded but not purchased.

* If your car engine with 120k miles on it is already disassembled to fix an issue and you can afford it, it might be worth doing the 125k maintenance items a bit early.

Post reply on HN