bergey: (psychrometric chart)
[personal profile] bergey

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.

This account has disabled anonymous posting.
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

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     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 11th, 2025 11:22 am
Powered by Dreamwidth Studios