Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cshepp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
cshepp
8y ago
Method-based syntax for pattern matching is easier to read and grok (IMO), but it lacks the dynamic capabilities of data-oriented syntax (in Kasai, patterns can be built/manipulated at runtime). It's interesting to compare the two
2.
▲
by
cshepp
8y ago
Pattern matching would be a great addition to JS. I built a pattern matching library[1] with a very similar syntax back in 2015 (although I will be the first to admit that it's a naive implementation). It makes validating/traversi
3.
▲
by
cshepp
9y ago
I'm not sure that you can call this an "alternative" to Electron if it only supports macOS. I think the main selling point of Electron is the ability to build cross-platform GUI apps, which Shrinkray doesn't provide.