|
|
|
|
|
by csmattryder
1893 days ago
|
|
Spare a thought for the junior/mid-level devs who don't understand clever patterns, and the seniors who haven't read the same blog posts as the implementor of the switch(true). Completely agree, it's like writing readable prose, understand your audience. That said, give me proper pattern matching in JS. Hard to live with languages that haven't caught up yet. |
|
I really want this. Along with switch being as expression. Seems like something that JavaScript is obviously missing.