3 ms·
No programming language is obvious to someone who doesn't know any programming. This particular example is even less clear because it's purely abstract; it lite
by jfengel 4y ago
No programming language is obvious to someone who doesn't know any programming. This particular example is even less clear because it's purely abstract; it literally doesn't do anything.
If it were
suit := (clubs | diamonds| hearts | spades);
value:= (2..10 | J | Q | K | A);
deck := card(suit, value)
You would recognize it instantly.
- imtringued 4y agoYour objection does not make sense. The code is simply bad and you replaced it with better more verbose code.