bergey: (psychrometric chart)

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.

Profile

bergey: Motorcycle carburator, partly disassembled to show jets (Default)
bergey

September 2013

S M T W T F S
12345 67
891011121314
15161718192021
222324252627 28
2930     

Syndicate

RSS Atom

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 26th, 2017 03:42 am
Powered by Dreamwidth Studios