Hacker News new | ask | show | jobs
by lisper 2961 days ago
Give me a binary and I hack for a day. Teach me to build a binary and I code for a lifetime.

(Just in case you didn't get the allusion: https://quoteinvestigator.com/2015/08/28/fish/)

4 comments

You mean:

Teach me how to build a compiler binary, and I'll be building compiler binaries for a lifetime.

which is somewhat less inspirational. Even less so when replacing "compiler binary" by "other people's code".

I think the main problem with your analogy is that in IT, the "fish" are free.

No. I mean: Teach me how to build a compiler binary, and I'll be able to build pretty much whatever binaries I need whenever I need them for a lifetime. (What's the point of having a compiler at all if you're not going to build your own binaries?)

> the "fish" are free

That's true. But if you know how to build them you can make new kinds of fish. That can come in handy if you don't like the free fish.

> (What's the point of having a compiler at all if you're not going to build your own binaries?)

By 1) minimising the times you need to compile yourself 2) making it easy to compile yourself (e.g. easier than autoconf/automake but even those are examples which have said goal in mind).

> That's true. But if you know how to build them you can make new kinds of fish. That can come in handy if you don't like the free fish.

Its not difficult to learn how to make these new fish, but learn it when its the best or required (ie. only) solution.

A better analogy is that you have a hammer at your disposal, but you refuse to use it because when you learn to use your feet instead that's a useful practice. Its not; its only useful the time you don't have a hammer (which you usually have around). Instead, try to keep your hammer with you.

Spending all day on a fishing boat when all you want is a fish is an apt analogy to building GNU cross toolchains for embedded targets.
Indeed so. And fishing is not for everyone. But some people find value in it.
So more like teach me how to build a fishing rod?
No. That would be teaching you how to write a compiler.
Yeah but if you are downloading a compiler, then that sort of implies that you know how to build binaries :)
Sure, if you count knowing how to type "make" as "knowing how to build binaries."
Yes, because every project uses the same build tools, right?
Give me a binary and I run it. Teach me to build the binary and I am fixing bugs for a lifetime.
Better than just living with bugs for a lifetime IMHO.
"give a man a lump of sugru..."
Unrelated variant: Give a man fire and he'll be warm for a night. Set a man on fire and he'll be warm the rest of his life.

;)

lol you explained the fishing proverb