3 ms·
> A technical recruiter, having discovered that that the ways of Unix hackers were strange to him, sought an audience with Master Foo to learn more about the Wa
by AnimalMuppet 5y ago
> A technical recruiter, having discovered that that the ways of Unix hackers were strange to him, sought an audience with Master Foo to learn more about the Way. Master Foo met the recruiter in the HR offices of a large firm.
> The recruiter said, “I have observed that Unix hackers scowl or become annoyed when I ask them how many years of experience they have in a new programming language. Why is this so?”
> Master Foo stood, and began to pace across the office floor. The recruiter was puzzled, and asked “What are you doing?”
> “I am learning to walk,” replied Master Foo.
> “I saw you walk through that door” the recruiter exclaimed, “and you are not stumbling over your own feet. Obviously you already know how to walk.”
> “Yes, but this floor is new to me.” replied Master Foo.
> Upon hearing this, the recruiter was enlightened.
(From http://www.catb.org/~esr/writings/unix-koans/recruiter.html http://www.catb.org/~esr/writings/unix-koans/recruiter.html)
That is, once you know how to program, a new language is like a new floor. Yes, it's different, but you know how to walk.
But of course, this koan overstates things. You can go from C++ to C# or golang or maybe Rust that way, but you probably can't go from C++ to Haskell that way.
- mbrodersen 5y agoCorrect. That’s why learning Haskell is super useful. Even if you decide never to use it for production work. It will expand and enhance your understanding of what programming is.
- astrange 5y agoHaskell is an example of actually different semantics, but in the end what non-strictness mainly gets you is space leaks and the mistaken concept that Haskell programs are bug-free because it has ADTs[1]. I think I'd recommend learning Mercury. Unification is cooler than even lazy evaluation. [1] recent example: https://www.costarastrology.com/why-haskell/ https://www.costarastrology.com/why-haskell/