3 ms·
To quote stevebmark [1] --- quote --- …we’ve learned not to write code in strings. You’d think this would be a fundamental law of software engineering … Wri
by dmitriid 8y ago
To quote stevebmark [1]
--- quote ---
…we’ve learned not to write code in strings. You’d think this would be a fundamental law of software engineering
…
Writing code, not strings, means you can do everything to it that you can do to code. You can type check code. You can lint it. You can optimize it, compile it, validate it, syntax highlight it, format it with tools like Prettier, tree shake it…
--- end quote ---
https://news.ycombinator.com/item?id=18511943 https://news.ycombinator.com/item?id=18511943