Jump to content
  • Advertisement
Sign in to follow this  
dawidjoubert

OCamel, Oh what?

This topic is 4441 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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++?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
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



Share this post


Link to post
Share on other sites
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).

Share this post


Link to post
Share on other sites
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++.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!