OCamel, Oh what?

Started by
122 comments, last by GameDev.net 17 years, 11 months ago
Hey does any1 know anything about OCamel programming language.. Some idiot tells my brother it is the most elitest language around, so far the language is so super I have been able to find no 3rd party information about it. Thanks in advance
----------------------------

http://djoubert.co.uk
Advertisement
You will probably have better results searching for "O'Caml". And while a language cannot in and of itself be elitist (Sapir-Whorf hypothesis notwithstanding) O'Caml users are definitely among the most elitist of programmers out there. They make Lisp programmers sound like Visual Basic programmers.
That's because it's "Ocaml". It is primarily a functional language, unlike C++ or C#; but also has good support for OOP and imperative programming, unlike pure functional languages.
Okay fair one, would you think it a smart move to learn OCaml at all considering that my C++ is fairly good.

And what is in it for me, ie what can OCaml be used for that I can't use c++?
----------------------------

http://djoubert.co.uk
Quote:Original post by dawidjoubert
And what is in it for me, ie what can OCaml be used for that I can't use c++?

Nothing. But OCaml is an elegant language.
http://en.wikipedia.org/wiki/Ocaml
Home Page

C++ vs OCaml: Ray tracer comparison



(Sorry for the AP post.)
Quote:Original post by dawidjoubert
...what can OCaml be used for that I can't use c++?

Nothing! But OCaml is an elegant language.
http://en.wikipedia.org/wiki/Ocaml
Home Page

C++ vs OCaml: Ray tracer comparison
Quote:Original post by dawidjoubert
Okay fair one, would you think it a smart move to learn OCaml at all considering that my C++ is fairly good.

And what is in it for me, ie what can OCaml be used for that I can't use c++?

It would definitely be a good idea to learn a functional language if you've only had experience with C++. OCaml has a lot more high level power that C++ and produces fast executables and elegant code. Check that ray tracer comparison: Ocaml makes some things a lot easier than C++ does.

Ocaml is part of the ML family of languages. You could also consider learning Standard ML instead (or as well).
Quote:Original post by dawidjoubert
Okay fair one, would you think it a smart move to learn OCaml at all considering that my C++ is fairly good.

It's always a smart move to learn another programming language. It will make you better at both OCaml and C++.
I Saw the raytrace comparison and I see OCaml is quite impressive however my concern is that the code they made using C++ does not need to be OO, c++ supports functional coding as well.

Well then I guess OCaml learning I will be
----------------------------

http://djoubert.co.uk
Quote:Original post by dawidjoubert
I Saw the raytrace comparison and I see OCaml is quite impressive however my concern is that the code they made using C++ does not need to be OO, c++ supports functional coding as well.


C++'s support for functional programming is horrible compared to a language like OCaml.

This topic is closed to new replies.

Advertisement