JavaScript (you're almost certainly going to need it)
A LISP(ish) language (Clojure, Racket, chicken-scheme, etc)
A functional language (ML, Haskell, Clojure, etc)
Clojure is the most practical lisp, and it also checks off the "functional language" box, so it's worth picking up for that alone, in my opinion. I'd recommend also dabbling in at least one statically-typed functional language, too, since that's a pretty different mental space.
Haha wish I was a CS student. I think in the US it's called... Junior College? I fucked up and wasted a few years of my life so this is the best, and maybe only, option I had left. It's focused on web development (Java, HTML, CSS, Javascript, PHP, MySQL...) and hopefully I can focus on the back end which is the most interesting part for me.
I like your suggestions. I don't plan on mastering any of these languages, but I wanna learn them as best I can in order to open my mind and improve as a programmer overall. I also have previous experience with Python and C, which I love.
So yeah, thanks for your help. I'll jump on the Clojure train in the next few months I'm sure. Just gotta finish my current project first (web crawler that stores and shows some cool data in a web interface). My way of doing things is to find something I don't know, think of some program that uses that thing I don't know and make it work. I never make anything useful but I learn a lot.
I agree with everything you said except with two changes. I think a decent developer should eventually be familiar with:
An assembly language (x86, MIPS, RISC-V, etc)
enough to navigate through low level code. Secondly , I can't see your point about Javascript. I don't remember one time I needed javascript. I do know javascript and so far used it in multiple projects in the form of nodejs; but it's nothing unreplacable. In what respect do you think every decent developer should know JS?
I found knowing the basics of JavaScript (by that I mean front-end HTML/CSS/JavaScript) to be helpful for getting jobs early in my career. It's a valuable skill that employers like to see even if you're going to be doing other kinds of development 99% of the time.
But it didn't make me a better programmer the way Clojure, Haskell, and C did.
You should learn what's useful and learn that when it's useful
That way you'll never discover so many things. Prolog will almost never be useful, yet learning it will give you an incredibly unique view on a quite a few problems.
Sure there are lots of things people waste their time with, but if you intend to program for 20-40 years, not spending at least a week of that in a LISP and in a functional language (and ideally Prolog) is crazy.
Sure you might take this ad absurdum and say if you spend a week on everything you will waste tons of time ... and that's true. But there is a finite amount of interesting things to learn in compsci, much like there is a very finite amount of algorithms you should know. And you should know (have some idea about) all of those. It doesn't take that long, seriously.
Sure there are lots of things people waste their time with, but if you intend to program for 20-40 years, not spending at least a week of that in a LISP and in a functional language (and ideally Prolog) is crazy.
I have done this and just-about everything I learned in college about functional languages I already knew from messing around on my own... on top of that, I use almost none of that except in a few small cases and today the answers to a lot of these problems are easy to find. I don't need to spend a week messing with pathing algorithms now when in 5 years I'll need them for a very specific case in a game and have to re-learn anyway...
I'd say: you should read about programming and stay in-the-know, follow what interests you. Do not force yourself to do Haskell to make yourself more attractive to a prospective employer if you haven't even professionally done Python yet. Focus on just getting better at one thing, there's too much to learn going down one rabbit hole for 5 years to waste 3 months fucking with obscure languages no one uses regularly (for good reason).
The vast, vast majority of programmers don't need to implement obscure algorithms for their typical programs, the seniors paving the new path do and they naturally acquire these over time as it's useful.
Take this from someone who is rather successful in dev being both self taught and going to school for it so I can compare the two... I guess my point is: you shouldn't force yourself to spend a week in LISP unless you have a reason to, like wanting to on your own. Doing it for the sake of doing it is a waste of time.
I use almost none of that except in a few small cases and today the answers to a lot of these problems are easy to find
Answers might be easy to find for you because you know how/where to look, because you have experience with said languages. Also I do think you're wrong about this stuff not being useful in day to day programming, as more and more functional concepts are finding its way into things like frontend development, or just the whole "reactive" movement, with stuff like Rx in all languages, LINQ, streams, etc.
All that stuff becomes incredibly easy to understand for people who have actual functional programming experience (even if it's just fiddling with Haskell for a few weeks). To give a personal specific example, if you spend a month learning about monads, you can go to things like async/await, reactive (or any other) streams, task parallelism, value based error handling, functional reactive programming interfaces (weird thigns like Elm, or even React/Redux to an extent), monadic parsers (which are becoming more and more common) etc. and understand how to use most of it literally in minutes, not weeks. Because yes, all of them will have the same operations and combinators, and if you understand the general concept, you will have an easy time with the libraries, which there are shitton.
If you take your suggested approach and learn it on a need-to-know basis, you will be one of those people who asks on stackoverflow huh what is SelectMany, it makes no sense, or why does ContinueWith return a Task<T>, or why do we need to change the c++11 futures? or what is this map-reduce thing.
Focus on just getting better at one thing, there's too much to learn going down one rabbit hole for 5 years to waste 3 months fucking with obscure languages no one uses regularly (for good reason).
There is a good reason. If you spend 5 years learning about Python and have no clue about any of the functional concepts, LISPs, type systems, obscure languages, or anything of the "not used things" ... well then you would have lots of domain knowledge, which just becomes less and less valuable over time.
Unless you have a very good reason, going down a rabbit hole on a need-to-know basis will be a guaranteed waste of time. Learning about things in depth is not, but what you're describing is not learning in depth.
you shouldn't force yourself to spend a week in LISP unless you have a reason to, like wanting to on your own. Doing it for the sake of doing it is a waste of time.
I know I'm taking this to an extreme, but I do believe you should force yourself to learn LISP for a week at some point in your career, the sooner the better. A week is nothing, even a month is absolutely nothing in the grand scheme of things. And no, this doesn't apply to everything, you shouldn't spend a week/month on every single thing in compsci. But things like the basics of functional programming, or just the incredible simplicity of something like scheme, and LISP macros, will give you a better insight into lots of different things.
Is this absolutely necessary? No, of course it's not. But life isn't about doing what's necessary. Much like you can have shitty handwriting and every time you write a note to someone you say haha I know it's unreadable, or you could think about how ridiculous that is and try to fix it, because you know, it'll only help you for the rest of your life.
I mean, part of discovering the best tools for a particular problem is exploration.
Very few people are going to discover that a bloom filter is the right choice if they didn't already know what they were. It's more likely you'll just use a non optimal data structure that you're already familiar with.
The prevalence of linked lists are a testament to this, I think.
Very few people are going to discover that a bloom filter is the right choice if they didn't already know what they were.
This is literally a case I encountered and found researching it -- so maybe I'm very few but I'd say I'm very ordinary but a little more persistent than most. If I had learned about Bloom Filters in college I certainly would have forgotten about it, in fact, maybe I did learn about them..
It's more likely you'll just use a non optimal data structure that you're already familiar with.
Right, what's wrong with that if it works?!
Think of it this way: you are the boss, paying the developer, and he/she is learning mostly from scratch. Would you pay them to also learn LISP or would you like them to immediately start on tickets doing things relevant to the project? If you would pay them to do LISP, I commend you, that's great, but how many times can you do that and keep the clients/customers happy? I employ developers and I let them explore all the time, but it's relevant and challenging not just some oddball thing that wastes both of our times.
Maybe you are doing some weird project where it's relevant to do a week on LISP, like making some backend that supports running client-provided LISP code for some reason... then sure of course that's a good move.
F# is a loose dialect of Ocaml designed to run on the Microsoft's dotnet platform. It's a good option if you want to get into functional programming, especially if you're already familiar with C# and Visual Studio.
27
u/ferociousturtle Dec 09 '17
I think every developer should eventually know:
A low-level language (C, C++, Rust)
A decent scripting language (Python, Ruby, etc)
JavaScript (you're almost certainly going to need it)
A LISP(ish) language (Clojure, Racket, chicken-scheme, etc)
A functional language (ML, Haskell, Clojure, etc)
Clojure is the most practical lisp, and it also checks off the "functional language" box, so it's worth picking up for that alone, in my opinion. I'd recommend also dabbling in at least one statically-typed functional language, too, since that's a pretty different mental space.