(no subject)
Dec. 1st, 2011 01:48 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Today I'm writing code in the worst programming language I've ever seen. Evidently the function parameters of built-in functions must be constants, not variables. This doesn't work:
Builtin(MyVar)but this does:
if MyVar == 1: Builtin(1) if MyVar == 2: Builtin(2)
My boss writes "I gave Campbell a rough tine about this when CRbasic first came out. I had forgotten how frustrated I was that they forced me to do something so obviously inelegant." So at least I'm in good company.
no subject
Date: 2011-12-01 11:27 pm (UTC)