Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Try It Free
Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old August 24th, 2006, 04:31 PM
°Oblivion°King° °Oblivion°King° is offline
Avid lithomancer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Croatia
Posts: 267 °Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 22 h 44 m 46 sec
Reputation Power: 38
Why learn OCaml?

I just got some book about OCaml (800 pages). Is it worth learning OCaml? What are its main advantages?

Reply With Quote
  #2  
Old August 26th, 2006, 12:23 PM
°Oblivion°King° °Oblivion°King° is offline
Avid lithomancer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Croatia
Posts: 267 °Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 22 h 44 m 46 sec
Reputation Power: 38
Anyone heard for Ocaml?

Reply With Quote
  #3  
Old August 26th, 2006, 02:00 PM
LinuxPenguin's Avatar
LinuxPenguin LinuxPenguin is offline
fork while true;
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: May 2005
Location: England, UK
Posts: 5,535 LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)  Folding Points: 11590 Folding Title: Novice Folder
Time spent in forums: 1 Month 3 Weeks 1 Day 19 h 23 m 58 sec
Reputation Power: 1008
It'll teach you more about programming from an academic point of view which should make you a better programmer in ordinary languages. The same goes for lisp and haskell. Mozart/Oz is another worth looking at

Reply With Quote
  #4  
Old August 26th, 2006, 02:24 PM
°Oblivion°King° °Oblivion°King° is offline
Avid lithomancer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Croatia
Posts: 267 °Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 22 h 44 m 46 sec
Reputation Power: 38
Thanks for reply, LP.
I'll take a look at OCaml when i have more time. I'm currently busy with learning PHP/MySQL.

I googled for Mozart/Oz. It's for "Folding@home" type of applications.

EDIT: i just noticed that Firefox spell checker marks word googled as invalid. W00T!

Reply With Quote
  #5  
Old August 26th, 2006, 02:54 PM
LinuxPenguin's Avatar
LinuxPenguin LinuxPenguin is offline
fork while true;
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: May 2005
Location: England, UK
Posts: 5,535 LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)  Folding Points: 11590 Folding Title: Novice Folder
Time spent in forums: 1 Month 3 Weeks 1 Day 19 h 23 m 58 sec
Reputation Power: 1008
I forgot to add smalltalk (pure OOP) to the list. And io (crippled, but ruby and lisp inspired), and erlang (very good networking). These are all languages I want to look at when I get time so I can improve my skills in other languages.

Programming is a wonderful thing.
Comments on this post
°Oblivion°King° agrees: Programming is life-style
displeaser agrees: I'm looking at erlang at the moment, very interesting language

Reply With Quote
  #6  
Old August 26th, 2006, 02:58 PM
°Oblivion°King° °Oblivion°King° is offline
Avid lithomancer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Croatia
Posts: 267 °Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 22 h 44 m 46 sec
Reputation Power: 38
What do you think about Scheme? I saw it few years ago somewhere. It has weird way of defining functions.

Reply With Quote
  #7  
Old August 26th, 2006, 03:45 PM
LinuxPenguin's Avatar
LinuxPenguin LinuxPenguin is offline
fork while true;
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: May 2005
Location: England, UK
Posts: 5,535 LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)  Folding Points: 11590 Folding Title: Novice Folder
Time spent in forums: 1 Month 3 Weeks 1 Day 19 h 23 m 58 sec
Reputation Power: 1008
Scheme is a lisp. see above.

Reply With Quote
  #8  
Old August 30th, 2006, 10:30 AM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,529 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 17 h 19 m 5 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
OCaml isn't just worth learning because it'll give you a new perspective, that would be selling the language short. OCaml has been around long enough for it to become very fast, complete and capable language .

For the record OCaml has never really been an academic language (though it's ancestors historically were).

I know of at least 6 people in passing using OCaml on a daily basis, for real world applications that would normally have been written in C or C++.

The advantages of using OCaml in place here are obvious to anyone who's looked at the languages but for those who haven't:


OCaml combines OO and functional programming seamlessly in a (strange) but clear syntax. Along with automatic memory management and excellent bindings (OpenGL for one) this makes OCaml a great language for rapid turn around.

In typical ML style OCaml allows the creation of very modular programs with optional type declaration (though this isn't required, the compiler will figure out the types at compile time using 'type inference').

For the mathematically inclined ML is also worth playing with, since it has a very nice numeric stack (though personally I prefer Scheme for this).



OCaml isn't an industry standard and this tends to make people a little nervous about it, or worse overlook it - especially if they're interested in one thing, getting work. I think this is a bad idea .

In reality the ML family of languages are amazingly clear and widely regarded as close to perfect for mission critical systems - being good for writing programs which must be correct!

I'm not claiming to be an expert in *ML but I would take some time to learn it. I myself am slowly learning it's sister language SML with great enjoyment.

Please don't take my choice to mean that SML is better than OCaml. I looked at OCaml before SML but at the time I wanted to explore more functional programming rather than OO.


LP:

I don't see how Io is a "crippled" version of Lisp and Smalltalk. Care to explain?

The only thing bad things about Io IME, would be that it's very new and doesn't yet have much in the way of documentation or community, it's run speed and certain annoying inconsistencies.

These last two can be ignored by virtue of the fact that Io runs as fast as the popular set of dynamic languages, and all of these languages have a number inconsistencies.


Anyway time to get some sleep.

Take care guys,

Mark.


* Perl, Python, Ruby ...
__________________
programming language development: www.netytan.com Hula


Reply With Quote
  #9  
Old August 30th, 2006, 12:40 PM
°Oblivion°King° °Oblivion°King° is offline
Avid lithomancer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Croatia
Posts: 267 °Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 22 h 44 m 46 sec
Reputation Power: 38
Nice post as always, netytan. I wanted to learn OCaml only to get new perspective. I already have many experience with C#, and it will be my primary language (for desktop applications) for many years. For me, C# has most beautiful syntax of all languages. Probably because i used to spend many hours typing it...
So, i don't see get any advantages if i use OCaml. And it can't be faster than C#.
And, C# has good modularity for most projects. OCaml is for extreme cases...

- This is interesting, btw: http://www.ocaml-tutorial.org/ocaml_and_the_web

Reply With Quote
  #10  
Old August 30th, 2006, 01:38 PM
LinuxPenguin's Avatar
LinuxPenguin LinuxPenguin is offline
fork while true;
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: May 2005
Location: England, UK
Posts: 5,535 LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)  Folding Points: 11590 Folding Title: Novice Folder
Time spent in forums: 1 Month 3 Weeks 1 Day 19 h 23 m 58 sec
Reputation Power: 1008
It can be and is faster than c#.

There, are we all happier now?

Reply With Quote
  #11  
Old August 30th, 2006, 01:41 PM
°Oblivion°King° °Oblivion°King° is offline
Avid lithomancer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Croatia
Posts: 267 °Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 22 h 44 m 46 sec
Reputation Power: 38
WTF? Faster that C#?!
Can you prove that? It's strange.

Reply With Quote
  #12  
Old August 30th, 2006, 01:49 PM
LinuxPenguin's Avatar
LinuxPenguin LinuxPenguin is offline
fork while true;
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: May 2005
Location: England, UK
Posts: 5,535 LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)  Folding Points: 11590 Folding Title: Novice Folder
Time spent in forums: 1 Month 3 Weeks 1 Day 19 h 23 m 58 sec
Reputation Power: 1008
Quote:
Originally Posted by °Oblivion°King°
WTF? Faster that C#?!
Can you prove that? It's strange.
I'm just trolling, although I'd be surprised if it were much slower.

Reply With Quote
  #13  
Old August 30th, 2006, 01:51 PM
°Oblivion°King° °Oblivion°King° is offline
Avid lithomancer