r/learnprogramming • u/sw1sh • Jun 09 '12
Types of programming
So i have been teaching myself Java programming for the last two months,and I understand that it's an Object-Oriented Programming language. But from my time of stalking these forums I've read a lot about functional programming,and other types that I don't really understand. I get that I shouldn't expect to know much outside Java after only 2 months,but I'm just interested in how other languages differ from Java.
I've also read about Haskel,Scala and other seemingly unusual languages,and so my question is:
TLDR - "What are the differences between the programming types?"
215
Upvotes
345
u/kqr Jun 09 '12
WHERE TO GO NEXT?
I know this might have been an seemingly endless rant without answering any of your questions, but if you have anything specific to ask about now, please do. I can answer almost anything relating to what I've written, and if I can't, then I'm sure someone else on here can.
I have experience with most paradigms and types of programming. I have a fairly good understanding of the computer internals and what happens at a very low level as well as how to compose stuff at a higher level. I have toyed with all the paradigms I have mentioned, and most of the languages I've mentioned.
Personally, I have trouble standing programming in Java, because I feel it is on a much lower level of abstraction than I want. I rarely want performance, so that usually isn't a matter to me and I prefer to stay at as high a level of abstraction as possible, which to me means declarative/functional programming.
Haskell amazes me with it's level of abstraction. It's unbelievable how composable stuff in that language is.
(And no. I have not proof-read all this yet. I usually do on reddit but this is helluva lot of text.)