4 ms·
Doing useful things that are riddled with bugs and security holes and fail to handle people whose name is O’Reilly. It would be better if programming languages
by jameshart 3y ago
Doing useful things that are riddled with bugs and security holes and fail to handle people whose name is O’Reilly.
It would be better if programming languages discouraged people away from those mistakes and prodded them towards the pit of success by making string concatenation harder and providing better tools for constructing grammatically sound structures.
- theamk 3y agoOr we can use type systems to automatically escape. No more XSS injections _and_ still as easy as string concatenation. Python's MarkupSafe (used in jinja) and go's html/template are good examples.
- jameshart 3y agoThat would be in the category of ‘better tools for making grammatical structures’.
- wombatpm 3y agoPeople with wrong names should be encouraged to change them to something correct.