Re: Python
Benjamin Schollnick <[email protected]> Tue, 16 Dec 2025 19:17:11 -0500
| Newsgroups | gmane.comp.python.general |
|---|---|
| Message-ID | <[email protected]> |
> On Dec 16, 2025, at 5:19 PM, Left Right via Python-list <[email protected]> wrote: > >> Well the fact is an editor that does not automate indenting blocks to >> one degree or another will make Python much more difficult to learn and >> use, and his experience with Python will not be positive. The editor >> not making Python indenting easy to manage is in reality the problem the >> original poster appears to be having. Since Python uses white space as >> structure, there's no real good way around this, other than using an >> editor that makes that easier. Thus it's totally appropriate to suggest >> a better tool. > > No. Again. This is not your place. Not anyone else's to suggest users > switch their editor to anything else. What you do is just being a jerk > by not admitting the problem with Python and blaming it on the user. > It's Python designers that made bad choices that made Python difficult > to use in a simple text editor. The authors of the simple text editor > have done the right thing by making it simple. I fully admit that I have not been paying attention to this thread…. But this has been debated to death. Every Programming language has some sort of structure, it can be {} blocks, the use of line delimiters, or a thousand other syntax nitpicks that drive people crazy. Does that “pardon” python’s? No not really. But it does mean that if you want to use python, then you either need to get comfortable with it, or use tools that’ll help prevent a headache. Unless you are going to convince the python steering council to reverse 20+ years of syntax history, then nothing is going to change. Some other languages, use white space for structure, just like python. Once again, that’s not good, nor is that bad. Any language *has* to have structuring structures to give it structure. That’s just the way languages are built to convey meaning. (and yes, that was on purpose). While not ideal, python using whitespace, is generally fairly easy to understand. There’s a reason that it hasn’t changed in any significant manner over the 20+ years. So, I doubt that anyone is going to be very supportive of your viewpoint regarding the white space structuring / usage. As other people have stated, there are plenty of IDE’s, and tools that support python friendly structuring. Heck even BBEdit, Notepad++, and more have one button setups that make the editor significantly more python friendly. -- https://mail.python.org/mailman3//lists/python-list.python.org