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?
Programming Paradigms
Moderator: Coders of Rage
- LuciDreamTheater
- Chaos Rift Newbie
- Posts: 39
- Joined: Tue Jan 20, 2009 2:18 am
- Location: Southern CA
- Contact:
Re: Programming Paradigms
Watch this series of YouTube videos: Lecture 1 | Programming Paradigms (Stanford)
I hope that's what you are looking for.
I hope that's what you are looking for.
- LuciDreamTheater
- Chaos Rift Newbie
- Posts: 39
- Joined: Tue Jan 20, 2009 2:18 am
- Location: Southern CA
- Contact:
Re: Programming Paradigms
EXACTLY what I'm looking for.andrew wrote:Watch this series of YouTube videos: Lecture 1 | Programming Paradigms (Stanford)
I hope that's what you are looking for.
- programmerinprogress
- Chaos Rift Devotee
- Posts: 632
- Joined: Wed Oct 29, 2008 7:31 am
- Current Project: some crazy stuff, i'll tell soon :-)
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++!
- Location: The UK
- Contact:
Re: Programming Paradigms
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?*
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?*
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D
I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D
I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: Programming Paradigms
They're very loose about paradigm education, because college assumes, expects, and fully believes that you are always going to be using OOP.
- trufun202
- Game Developer
- Posts: 1105
- Joined: Sun Sep 21, 2008 12:27 am
- Location: Dallas, TX
- Contact:
Re: Programming Paradigms
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.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.
Re: Programming Paradigms
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.