Watts (chipotle) wrote,
Watts
chipotle

A comment on programming languages

On Slashdot, someone wrote, "I would feel pretty stupid actually reading a QBASIC book in 2003. Modern programming languages are easier to learn than QBASIC." To which the reply was:

By what reckoning? They turn this:

PRINT A +  B

into this:

am = new math.ArithmeticManager();
opA = new math.Operand((float) a);
opB = new math.Operand((float) b);
am.addOperand(opA);
am.addOperand(opB);
am.operator = new math.operators.Addition();
am.executeMathOperation();
system.io.output.print(am.mathOperationResult());

You know, he has a point.

Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 5 comments