[ILUG] functional programming V oop

James McCarthy mccarthyjames at gmail.com
Wed Jun 15 14:48:29 IST 2005


i know that a language can be used in a functional, oop procedural manner.
for example ruby, allow programming all 3 method's even though it's
designed to be completly oo, however it's equaly comfotable in
procedural or functional.

ive read that c++ is the same, however i have no experience with it(c++)


On 15/06/05, kevin lyda <kevin+dated+1119273955.5a5a4a at ie.suberic.net> wrote:
> On Wed, Jun 15, 2005 at 01:50:09PM +0100, James McCarthy wrote:
> > ive been doing a bit of reading about programming languages lately
> > (yesterday & today), differences, similaritys & even the mathematics,
> > more specificly functions & functional programming.
> > for the first time in my short life ive found an interest in maths.
> 
> should i hold my breath for spelling and composition?
> 
> > what i was wondering was about functional programming V OOP.
> > the more i look at programming in general the more i see the value of
> > maths, and from where im standing functional programming seems to be
> > the way to go.
> > any advice?
> 
> "functional" describes one aspect of a language.  "oop" describes a
> different aspect of a language.  i don't recall the exact terms, but
> suffice it to say that you can have a "functional oopl" just as you can
> have an "imperitive oopl."
> 
> most people are more familiar with the latter kind of language.  java,
> c++, objective c, smalltalk and sqeak to name some popular ones.
> but there are functional oopl's as well.  common lisp object system
> (clos), varients on haskell (like o'haskell) and varients on ml are ones
> i know of.
> 
> and you can apply oo techniques to any language.  you can use oo
> techniques with c and you can use them with any functional language as
> well.
> 
> kevin
> 
> --
> kevin lyda ~ dems for torture: salazar(co/10) landrieu(la/08) pryor(ar/08)
> kevin at ie.suberic.net ~ nelson(fl/06) nelson(ne/06) lieberman(ct/06) 2/2/04
>   Those who refuse to raise their voices against something as clearly evil
>   as torture are enablers, if not collaborators.  --Bob Herbert, 2/11/04
> --
> Irish Linux Users' Group
> http://www.linux.ie/mailman/listinfo/ilug/
> 
> 


-- 
blog http://lookproductive.blogspot.com
teachers blog http://hugesponge.blogspot.com
favourite word: poontang



More information about the ILUG mailing list