News for hackers. Stuff that matters.
Re:Automated Unit Test Improvement Using Large Language Mode... by thebackup on Saturday February 17, 2024 @02:09PM (#39412394)
Capital M is for Mega. I would use duration_s and duration_ms.

const duration_ms = 1000 * duration_s

And _us for microsec.

const duration_us = 1000 * duration_ms

But then the tool would probably reject my code for not following the naming conventions which ”disallows using underscores in variable names”.

Guess what I wanted to say is that there are always exceptions to the rule and there should always be some way to turn off the automatic checker for certain sections of the code.

There are no comments on this comment yet.