Live data from Hacker News

I thought I understood recursion

functional.christmas

121–124 of 124 posts

Re: I thought I understood recursion

#122

Good developers can solve problems and be productive with any programming language/tools. Bad developers can't solve anything unless they use the one specific tool they know.

Another way to put it is that if you always "use the best tool in the tool box" then you better have more than just one tool in the tool box.

Re: I thought I understood recursion

#123
post #10
post #7

> My background is in OO programming, mostly using C#. C# being the versatile language it is, I have had the perception that whatever you do in other programming languages, you can with a little more code and hassle achieve in C# as well. If need be, I can program C# using a functional paradigm. And, of course I use recursion all the time. I know all there is to know about recursion. IME there are two kinds of progra…

It's not obvious to me why choosing the right tool for the job is better than choosing the right job for the tool.

I think it is better because it pushes you beyond your comfort zone. You will learn new things. And sometimes those things are better than what you currently think is "best". If you can only function well in a very specific environment then you are not very flexible.

Re: I thought I understood recursion

#124
post #114

Earlier quoted context omitted.

When was the last time you installed and/or ran a Haskell program? If the answer is more recent then "never", then what was it? It's possible that Haskell is like COBOL in that it's used in industry but not at all by the community. But I'm not sure how I would characterize it, then. Does industry use count as "practical"? I honestly don't know. Anyway, examples would be nice.

And what is "the community"? Haskell indeed has less penetration than something more popular like JavaScript. But the Haskell language is not easy to use if you're a script-kiddy. Most "easy" languages can have some form of copy-paste reuse, and a lot of "the community", it would seem, just append together useful snippets to get their programs done (and whether they have a deep understanding or not is not needed). Th…

I think it is a bit of an oversimplification to say that Haskell is less popular because it is not as easy to "copy/paste" together code for it. I would say it also isn't that easy to copy/paste together C++ code, for instance. This also conveys a message of "Haskell is only for smart people", which I don't think is the right attitude.
Post reply on HN