News for hackers. Stuff that matters.
Re:Modern Node.js Patterns by 9dev on Monday August 04, 2025 @05:29PM (#44791581)
Don’t use enums. They are problematic for a few reasons, but the ability to run TS code without enums without a build step should be more than enough of a reason to just use a const object instead.
Re:Modern Node.js Patterns by sroussey on Thursday August 07, 2025 @11:32AM (#44825805)
Oh, I agree.