News for hackers. Stuff that matters.
Re:Excel team considering Python as scripting language: aski... by ptx on Friday December 15, 2017 @02:35AM (#15930246)
> VB is a great language for newbs and casual/adhoc programmers

Is it, though? For example, VB puts four different ways of passing arguments right in your face: values by reference, values by value, object references by reference and objects references by value. Python only has the last one and doesn't make you think about it.

And without "Option Explicit" VB does something very unhelpful (also seen in PHP): misspelled variables are created on read and silently converted to the required type, giving you nonsense results. (With "Option Explicit" enabled it gets verbose and tedious instead.)

Re:Excel team considering Python as scripting language: aski... by Scarblac on Friday December 15, 2017 @02:39AM (#15930263)
I'd say what Python does is passing object references by value.
Re:Excel team considering Python as scripting language: aski... by ptx on Friday December 15, 2017 @06:25AM (#15931066)
Right. I listed them in the wrong order and wasn't quick enough with my edit. :)