<Riastradh>
Avoid side effects; split large functions into littler functions (recursively); put often-used code in separate functions; separate interface from implementation; modularize.
<bk_>
i see, ok
<Riastradh>
(the 'recursively' means split a really huge function into numerous large function and then recur for each of the numerous large functions)
owll has quit ["Client Exiting"]
<teratorn>
bk_: alternatively, write your code with objects.
systems has joined #ocaml
systems has left #ocaml []
<bk_>
i haven't even looked at objects in ocaml yet, i'll do that once i've learned more
<Riastradh>
People actually use the object system?
<teratorn>
Riastradh: eh, well, i know that it exists, anyway ;)
<bk_>
basically i'm learning only the caml part of the language atm, i'll save the 'o' in ocaml for a later time
<whee>
I've never really used objects that much either
<whee>
I find the module system works well enough
<Riastradh>
The only thing I miss from the module system is mutually recursive modules.
<teratorn>
what what?
<Riastradh>
Typeclasses would be nice, too, so you don't have to functorize any general libraries that use sets or something.
<whee>
Riastradh: they're addressing that in 3.07
<Riastradh>
Oh, good.
<whee>
the recursive modules bit
mrvn_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
ita|dead has joined #ocaml
Smerdy has joined #ocaml
Smerdyakov has quit [Read error: 110 (Connection timed out)]
Smerdy is now known as Smerdyakov
jdrake has joined #ocaml
srv has quit [Remote closed the connection]
brwill is now known as brwill|coffee
jdrake has quit ["Oops. This machine just fell asleep"]