4 ms·
I'm in both groups and I'm getting tired of how Python's syntax additions increasingly turn it into a mechanism for mid-level engineers to assert their dominanc
by mumblemumble 2y ago
I'm in both groups and I'm getting tired of how Python's syntax additions increasingly turn it into a mechanism for mid-level engineers to assert their dominance over colleagues by writing code that only people who have been deeply immersed in Python for years can understand.
Our Python users' Slack channel at work is already overcrowded with messages to the effect of, "halp what's this syntax how does this code work."
- KolenCh 2y agoA perfect use case for chatbots to answer them instead.
- zarzavat 2y agoThis is a problem with our industry that people get paid $$$ to use a language but at no point are they compelled to read the manual for that language from cover to cover.
- laurent_du 2y agoFor real. How long does it realistically take to stay informed of the language's evolution? Literally a few hours every couple months, not much more.
- pauleveritt 2y agoHi, I'm a PEP author. The hope was that users would say "I know f-string syntax so I know this syntax." Similar to JS and its template literals -> tagged template literal jump.
- mumblemumble 2y agoThat would be an easy mental jump for skilled python users, but I think that it would be surprising for many less experienced users. Just giving it a function call syntax would be more in line with the principles established in PEP-20 IMO.
- pauleveritt 2y agoIf I understand correctly, you'd prefer what other commenters have said for `html(i"Hello {name}")`?
- mumblemumble 2y agoSomething like that, yeah.