4 ms·
I'm not that familiar with TypeScript/JavaScript - what would be a proper way of handling complex logic? Switch statements? Decision tables?
by duckmysick 7mo ago
I'm not that familiar with TypeScript/JavaScript - what would be a proper way of handling complex logic? Switch statements? Decision tables?
- catlifeonmars 7mo agoHere I think the logic is unnecessarily complex. isQuoted is doing work that is implicit in the token.
- deleted 7mo ago[deleted]