Am Do., 10. Juni 2021 um 15:33 Uhr schrieb David Mertz <[email protected]>:
> Strong -1 > > As others noted in prior discussion, even if this existed, it works be an > anti-pattern for SQL. So basically, it's just baking in an HTML-only > template language into the language syntax. > > Python already had excellent HTML templating in libraries. The fact Django > has a function with a long name just suggests importing it with a shorter > name. > > > Python has many uses having nothing to do with web pages. This could make > sense for PHP (does anyone use that still?). It's a poor for for Python. > PHP is very productive. The majority of sites are written in PHP. The only thing which PHP has not: Respect. It does not get respect since it is too easy. Python is getting pushed into the backend during the last years, while web frontend is mostly done in Javascript. I think this is the wrong direction. Together with tools like htmx (fragments over the wire), I would rather choose PHP than Javascript. PHP is great for creating HTML. I know that the easy solution does not get much respect, but maybe you understand that making it easy to create HTML would be a major benefit for Python. Regards, Thomas
_______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/SYBCB36TRONZ4VXTSU6PDM5SNZWLZUVA/ Code of Conduct: http://python.org/psf/codeofconduct/
