Table and Query Classes good or unnecessary?
On 20/3/18 2:02 pm, Clifford Ilkay wrote:
> You know the last time that happened on any team I’ve been on? NEVER. This
> is much ado about nothing. In fact, in Python 2x, you can freely mix tabs
> and spaces in your space with no impact on how it works but it’s
> recommended, not mandatory, to convert everything to spaces. Python 3 does
> not allow mixing spaces and tabs.
Then you are lucky Clifford, mind you I will fully admit that I haven’t
had troubles for many years either but when I first started out with
Python it happened often.
What saved me in the end was using editors that made hidden characters
visible, and then you train yourself. Now it’s purely when there is a
larger decision tree where it sometimes isn’t clear how many tabs you
need to go back to end your block. Long live editors with code folding 🙂
> Perhaps Python With Braces is more to your liking. 🙂 <
> It’s precisely due to the lack of anything like PEP8 < > www.python.org/dev/peps/pep-0008/> in C, C++ that Microsoft chose
> that approach with C#. There was a void (pun intended) and Microsoft filled
> it. By the way, I recall seeing that in non-Microsoft code, too, like in
> the Borland C++ examples.
Hmm, they must have changed that at some point then. I grew up on
Borland C++ and they never had that code style back in the 90ies…
> Put a dot after the name of a module, function, or object and get its
> methods and attributes.
Owh don’t understand me wrong, I think what was achieved with Python is
wonderful, which is why I’m using it more and more.
I will just never like the indentation.
Very subjective, you like it, I don’t, there is no right or wrong here 🙂