aku-aku: v.. To move a tall, flat bottomed object (such as a bookshelf) by swiveling it alternatively on its corners in a "walking" fashion. [After the book by Thor Heyerdahl theorising the statues of Easter Island were moved in this fashion.] source: LangMaker.com. Aku Aku also has another meaning to the islanders: a spiritual guide.
« 36 of 52: Fire storm | Main Page | 37 of 52: The Creation of Eve »
Slumming Mathematician Coders
Posted by dav at 2008 July 26 09:38 AM
File under: Geek

This gave me a chuckle: I can tell you are a math guy from Jack's Technical Blog

I can look over someone's code and tell if they are a slumming math guy. In other words, the guy who has a PhD in some esoteric math field, but now, for some reason, has to demean himself to coding for a living. Here are a few clues I see in the code:

  • You use i, j, k, l as variable names, liberally.
  • Your objects have no clear separation of responsibility.
  • You pass way too much between functions as member variables, globals and so on.
  • You don't make any use of reasonable language features like access controls, statics, constants, or anything like that.
  • Your indenting looks like you just smoked some meth.
  • You have no problem have three lines of continuous equation with no temporary variables.
  • All of your data structures are arrays where each index has a special meaning.
  • You have functions to convert between zero based arrays and one based arrays.
  • All of the variables in your functions or methods are defined at the top regardless of when they are used.
Comments:

Nice.

And yet, none of these--except maybe the first--are typical of "functional programmers," possibly the most mathematical brand of actual programmers.

Posted by: Ezra Cooper on July 29, 2008 07:17 AM

Post a new comment:

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?