Page 1 of 1

Programming Paradigms

Posted: Sun May 10, 2009 9:55 pm
by LuciDreamTheater
This summer I intend to learn the different programming paradigms. The question is: how can I do this most effectively? Here's the breakdown of the paradigms as they're often described:

1. Logic programming
2. Functional programming
3. Object-oriented programming
4. Imperitive programming

To learn them all, I have two options:
- Pick the best languages in each paradigm (I.E. prolog, scheme, ..., )
- Choose a multi-paradigm language (I.E. Oz)

There are a few questions I have about how to accomplish this goal:
1. I know imperitive and object oriented programming pretty well, although C++ apparently doesn't address all aspects of OOP. Should I spend time to learn OOP with a different language?
2. Should I attempt to learn several different languages, or should I jump straight into a multi-paradigm language?
3. What are the best languages for each paradigm?
4. Any other advice or book suggestions?

Re: Programming Paradigms

Posted: Sun May 10, 2009 10:25 pm
by andrew
Watch this series of YouTube videos: Lecture 1 | Programming Paradigms (Stanford)

I hope that's what you are looking for. :)

Re: Programming Paradigms

Posted: Sun May 10, 2009 11:12 pm
by LuciDreamTheater
andrew wrote:Watch this series of YouTube videos: Lecture 1 | Programming Paradigms (Stanford)

I hope that's what you are looking for. :)
EXACTLY what I'm looking for.

Re: Programming Paradigms

Posted: Mon May 11, 2009 2:44 am
by programmerinprogress
It's funny, at college, they're really loose on educating us about paradigms, sure we got a few OOP questions, and we occasionaly get the odd "what makes code readable and maintainable" questions, but we never really go into much detail, the exam was a lot more bothered about declarative languages, which I currently have little use for at the moment.

Getting a broad knowledge of programming languages and how they work is always beneficial, the more you know, the further you go ;) *did I just say that?*

Re: Programming Paradigms

Posted: Mon May 11, 2009 10:12 am
by Falco Girgis
They're very loose about paradigm education, because college assumes, expects, and fully believes that you are always going to be using OOP.

Re: Programming Paradigms

Posted: Mon May 11, 2009 12:16 pm
by trufun202
GyroVorbis wrote:They're very loose about paradigm education, because college assumes, expects, and fully believes that you are always going to be using OOP.
Yep, that was my experience as well. I had one Programming Languages class that covered different programming paradigms, but other than that, it was 100% OOP.

Re: Programming Paradigms

Posted: Mon May 11, 2009 3:22 pm
by Kleithap
I would recommend Prolog as a logical programming language. It's a pretty cool language and can be used for some nice A.I. stuff.