![]() |
who is Barry? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html) +--- Forum: Bar (https://python-forum.io/forum-27.html) +--- Thread: who is Barry? (/thread-35518.html) |
who is Barry? - Skaperen - Nov-12-2021 who is Barry? a developer?
RE: who is Barry? - Yoriz - Nov-12-2021 Barry Warsaw RE: who is Barry? - Gribouillis - Nov-12-2021 >>> from __future__ import barry_as_FLUFL >>> >>> 1 != 2 File "<stdin>", line 1 1 != 2 ^ SyntaxError: with Barry as BDFL, use '<>' instead of '!=' >>> >>> 1 <> 2 True >>> RE: who is Barry? - Skaperen - Nov-13-2021 why is != bad?
RE: who is Barry? - Gribouillis - Nov-13-2021 Since the beginning of python, one could write != or <> for the "not equal" comparison operator. See for example the Python 2.4 comparison operators where <> is already marked as obsolescent. It disapeared somewhere along the way. Barry Warsaw is said to prefer <>. RE: who is Barry? - Skaperen - Nov-14-2021 i've always preferred != because it was IMHO clearer in meaning and made code somewhat easier to read. i recall this was an issue in a prior language i encountered but i cannot remember which language it was. it was not Fortran.
RE: who is Barry? - casevh - Nov-15-2021 Barry was one of the early users of Python and he is still involved with Python. You might want to look at PEP 0401 ( https://www.python.org/dev/peps/pep-0401/ ). RE: who is Barry? - Skaperen - Nov-17-2021 i was reading PEP 8 just a while ago and noticed his name there. i like PEP 401. i'm all for abandoning C and avoiding C++ and Objective-C for the base compiler and using just Python for everything. i'm waiting for PythOS. |