3 ms·
Well... If you look at the source code of a Smalltalk program, you'll tons of small functions. You'll probably enjoy that. Problem is, grasping what they mean
by jhrobert 16y ago
Well... If you look at the source code of a Smalltalk program, you'll tons of small functions.
You'll probably enjoy that.
Problem is, grasping what they means turn to be difficult, it's like wherever you look you just have to look elsewhere and feel like the real job is done... no where. You basically struggle to get the "big picture".
Well... it's probably better than Forth.
There is more than one way to do it. I don't split a big function in two until the other function is called from at least two places. What's the point of having a function when all calls to it come from a single place?
But let the code speak, have a look at mine if you wish, this nice javascript loader for example http://simpliwiki.com/loadfire.js.html http://simpliwiki.com/loadfire.js.html -- extracted automatically from my one big file of course. :)