News for hackers. Stuff that matters.
Re:Copilot regurgitating Quake code, including sweary comments by tyingq on Friday July 02, 2021 @09:39AM (#27711359)
There's no one answer, but decimal counts of the smallest unit that needs to be measured is common. Like pennies in the US, or maybe "number of 1/10 pennies" if there's things like gasoline tax.
Re:Copilot regurgitating Quake code, including sweary comments by bencollier49 on Friday July 02, 2021 @09:44AM (#27711417)
Say what you like about COBOL, but it got this stuff right.
Re:Copilot regurgitating Quake code, including sweary comments by bpicolo on Friday July 02, 2021 @09:51AM (#27711519)
You can use integers instead of decimal if you're using the smallest unit.