Comment

Comment by jzer0cool

This looks pretty neat. How does this work, do you code and specify a target output? Curious if there is a link somewhere that shows the output files ...

I like learned on the front-page example a multi-state (?) switch statement. What is this called and any other languages support this?

switch [playerA.move, playerB.move] { case [Rock, Scissors] | [Paper, Rock] | [Scissors, Paper]: Winner(playerA);

...

parent jzer0cool 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton