LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-17-2004, 11:44 AM   #1
indian
Member
 
Registered: Aug 2004
Posts: 137

Rep: Reputation: 15
Types of Languages ?


Hi, I read some where that there are three types of Programming Languages....
1.Structured (Like C)
2.OOPS ( like C++, Java)
3.Functional Programming (Lisp)
Can some tell me more on these...Thanks in anticipation
 
Old 08-17-2004, 12:29 PM   #2
SolarBear
Member
 
Registered: Oct 2003
Location: Québec, Canada
Distribution: Gentoo 2005.0(desktop), Debian 3.0 r2 (server)
Posts: 105

Rep: Reputation: 15
Ouch. This isn't an easy one but here's my take at it.

1. Imperative languages (like C).
Script starts at point A and ends at point B. You get total control on the flow of your program since you've specified it very strictly. Hence the "imperative" part.

2. OOP
In pure OOP, you design objects and interactions between them. Then, you let them interact amongst themselves, using as little "forced" interactions (which would fall in imperative paradigm).

3. Functional
I've been learning Lisp for some time, and even though I'm getting the hang of it and noticing the HUGE difference between it and, say, imperative. Here's how comp.languages.functional describes it :
Quote:
Functional programming is a style of programming that emphasizes the evaluation of expressions, rather than execution of commands. The expressions in these language are formed by using functions to combine basic values. A functional language is a language that supports and encourages programming in a functional style.
http://www.cs.nott.ac.uk/~gmh//faq.h...onal-languages

What we notice, too, in functional programming is that functions are objects, as much as any user-defined class instance or built-in types, so you can pass functions as arguments to other functions, code functions which have functions as return value, etc.

You forgot
4. Logic programming
Quote:
A type of programming consisting of facts and relationships from which the programming language can draw a conclusion.
I've never (yet) done any logic programming, so I just know it exists.
 
Old 08-17-2004, 02:12 PM   #3
indian
Member
 
Registered: Aug 2004
Posts: 137

Original Poster
Rep: Reputation: 15
Thank You Very Much....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
languages of linux: which languages can be choosen in suse and red-hat distributions? Klaus Schnorr Linux - Software 3 09-10-2005 02:19 AM
C++ Vs Other Languages mrpc_cambodia Programming 4 12-12-2004 11:14 AM
Using Multiple Languages belorion Programming 1 12-10-2004 11:23 AM
Languages shayan_tabrizi Linux - Software 1 08-02-2004 03:14 PM
what languages do you use? TheLinuxDuck Programming 34 08-21-2003 05:07 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration