• JS (unregistered) in reply to Stephen Bayer
    Stephen Bayer:
    A Nonny Mouse:
    jimlangrunner:
    25th! (space)

    No, I didn't count. Had the computer do it for me.

    WTF?

    "twenty" is obviously base 12.5

    I was under the impression that bases needed to be whole numbers over 1.. ie. base 2, base 3, base 4, base 5, ... ok.. this could go on for a while.. i think there are a lot more whole numbers over 1. I used to use random bases when doing my fourth grade math homework, then argue with the teacher about the validity of my answers, calling her an idiot for not agreeing with me that 8 + 5 = 11

    Actually, not at all! At the university, I had the fun playing with things like these: http://en.wikipedia.org/wiki/Golden_ratio_base The golden ratio is just an example; you can use any irrational number, although algebraic integers are preferred as the give nice rules.

  • Fart Boss (unregistered)
    private static final String MBS_PASSWORD = "f4rth9fe".toUpperCase();

    Fart

  • sribe (unregistered) in reply to Stephen Bayer
    I was under the impression that bases needed to be whole numbers over 1..

    So... I guess you didn't get much further than 8th grade math! Ever here of e and natural logarithms and so forth???

  • Dave (unregistered)

    I've seen the "confirmation" stuff used in safety-critical code, however having to pass a boolean for everything isn't very sound, usually you want to pass a unique access key of some kind to indicate "yes, I really did want to call scramReactor(), and didn't get up here just because of a fencepost error in the linker".

  • Chiper (unregistered)
    lSend = IIf(lSend = True, True, False)
    This one actually makes a little bit of sense, given that VB is a loosely typed language. 'course, the more elegant solution is to just force cast it to a boolean. (VB can do that, right?)

Leave a comment on “A Smorgasbord of Classics”

Log In or post as a guest

Replying to comment #:

« Return to Article