News for hackers. Stuff that matters.
Re:A constructive look at the Atari 2600 BASIC cartridge by jaymzcampbell on Wednesday January 06, 2021 @02:59PM (#25661510)
Python also lets you do this, definitley a nice bit of sugar

``` In [2]: b = 15; In [3]: a = 40 if b == 15 else 99; In [4]: a; Out[4]: 40; ```

Re:A constructive look at the Atari 2600 BASIC cartridge by mattw2121 on Wednesday January 06, 2021 @03:10PM (#25661670)
and PHP

``` $a = $b == 15 ? 40 : 99; ```