4 ms·
interesting...you ban anything people typically suck at? At PayPal we banned html and made everyone write XML....turns out we just wrote shitty XML which lead t
by cranberryturkey 2y ago
interesting...you ban anything people typically suck at? At PayPal we banned html and made everyone write XML....turns out we just wrote shitty XML which lead to shitty xhtml :P
- tannhaeuser 2y ago> At PayPal we banned html and made everyone write XML That's gross when XML with its pointless verboseness is actually just a "canonical" SGML subset without tag omission and other short forms, intended for delivery to browsers, while SGML proper has all the authoring features. Goes to show how clueless and prone to koolaid sellers developers were and still are (cf crypto, LLMs).
- cranberryturkey 2y agothe idea was you ask 10 web devs how to code a <button>Save</button> you'd get 10 different answers, so we had a <Button>Save</Button> xml tag that generated them all the same. there was only one way to create a button now. It worked until people started adding all these options to to <Button> template that it became garbage again.
- silisili 2y agoAbsolutely. Readability trumps all else in a productive team environment. If everyone had the same 'because people suck at it' attitude, we'd never have evolved beyond asm, if even.
- cranberryturkey 2y agowell most code i've seen in corporate america sucks balls
- bazoom42 2y agoRegex is a high-level domain-specific language. So in this analogy, it is the tedious substring-comparisons in imperative code which is the equivalent to low-level assembler. Using the right level of abstraction for the problem at hand is key to readability.