News for hackers. Stuff that matters.
Re:All I Want for Christmas Is These Seven TypeScript Improv... by culi on Monday December 26, 2022 @01:06AM (#34135107)
doesn't `readonly` solve this already?
Re:All I Want for Christmas Is These Seven TypeScript Improv... by gpgn on Monday December 26, 2022 @01:42AM (#34135344)
"pure" in the context of functional programming often means "without side effects", so writing a log file, interacting with a database and so on would also make the function not pure
Re:All I Want for Christmas Is These Seven TypeScript Improv... by culi on Monday December 26, 2022 @06:33AM (#34136806)
fair enough, thanks