Programming Paradigms

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
LuciDreamTheater
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 39
Joined: Tue Jan 20, 2009 2:18 am
Location: Southern CA
Contact:

Programming Paradigms

Post 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?
andrew
Chaos Rift Regular
Chaos Rift Regular
Posts: 121
Joined: Mon Dec 08, 2008 2:12 pm

Re: Programming Paradigms

Post by andrew »

Watch this series of YouTube videos: Lecture 1 | Programming Paradigms (Stanford)

I hope that's what you are looking for. :)
User avatar
LuciDreamTheater
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 39
Joined: Tue Jan 20, 2009 2:18 am
Location: Southern CA
Contact:

Re: Programming Paradigms

Post 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.
User avatar
programmerinprogress
Chaos Rift Devotee
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

Post 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?*
---------------------------------------------------------------------------------------
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
User avatar
Falco Girgis
Elysian Shadows Team
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

Post 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.
User avatar
trufun202
Game Developer
Game Developer
Posts: 1105
Joined: Sun Sep 21, 2008 12:27 am
Location: Dallas, TX
Contact:

Re: Programming Paradigms

Post 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.
-Chris

YouTube | Twitter | Rad Raygun

“REAL ARTISTS SHIP” - Steve Jobs
User avatar
Kleithap
ES Web Developer
ES Web Developer
Posts: 324
Joined: Sat Jan 26, 2008 9:03 am
Location: Amsterdam

Re: Programming Paradigms

Post 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.
Post Reply