Posts Tagged ‘ tutorial

Functional Programming, Here I Come!

My copy of Real World Haskell finally arrived this week, and now that I’m on co-op and have some free time in the evenings, I’ll be diving into it this week.

I’ve already been teaching myself a bit from online tutorials and documentation, but nothing beats a good book in order to really start understanding things.  And since it’s an O’Reilly book, the thing weighs in at just under three metric tons.

Passing A Variable Number of Arguments to a Function at Run-time

At the request of an Ozzu member last night, I wrote up two new quick tutorials outlining how to write functions that can accept a variable-length argument list at run-time.  I wrote the original tutorial for C programmers and later adapted it for PHP.  I’ll likely adapt it for a few other languages in the near future.

TUTORIAL: Pass Variable Number of Arguments to a C Function
TUTORIAL: Pass Variable Num. of Arguments to a PHP Function

Feedback is always welcome either here or in the tutorial topics themselves.