[Python-ideas] How to respond to trolling (Guido van Rossum)
Simon Lovell
simon58500 at bigpond.com
Wed Jan 11 23:13:03 EST 2017
I feel I have to respond to this one.
More than half of what I suggested could have and should be implemented.
In particular the truthiness of non-boolean data and the lack of a
reasonable SQL syntax. Several other points have been discussed
endlessly on the internet but without a satisfactory (IMO) answer being
given. I don't know what is meant by some insults having been thrown in.
Calling truthiness of non boolean data "Ugly" is an insult? It is ugly.
Yes, I should have double checked the chained assignment before posting
and perhaps including some things which weren't changing added negative
value.
Regarding this comment. 'I use vim, which is very respectable, thank
you. You'd like me to use "EditPlus 2" or equivalent', I think you
should familiarise yourself with the "map!" function in vi and vim - put
it in your .exrc file or .vimrc (vim only). e.g. "map! if if ^M ^Mendif".
Regarding the with function, to those not familiar with what I was
referring to that is a construct in Delphi and some other languages
which works like this:
ReallyLongFileDescriptor=open("file")
with ReallyLongFileDescriptor:
x=readline() // note the lack of "ReallyLongFileDescriptor."
print x
Delphi is even worse in that you can add more than one prefix in your
with statement.
Yes, you can put #endif at the end of every "if" statement etc. That
requires a checker in the vein of the ccheck of yore to be enforced.
These things aren't desirable.
More information about the Python-ideas
mailing list