I've been hacking in Scheme (DSSSL to be precise) for some time now. I think it's starting to rot my brain. I seem to be stuck in two modes: programming where variables have sigils, and programming where tokens are separated by whitespace and expressions are grouped with parens.
Case in point: I was writing some C code yesterday, and I caught myself trying to do this:
FILE *in; in = (fopen "fillename" "r")Duh! That's obviously not right. In C, the function name precedes the paren:
FILE *in; in = fopen("filename" "r")And then I wondered why the compiler was complaining. Must have been because I missed the semi-colon. I needed another compiler warning to realize I missed the comma as well. Sheesh.
And I don't know how many times I tried to type:
sub main (int argc, char *argv[]) { .... }I don't think that thinko got fed to the compiler...