News for hackers. Stuff that matters.
Re:The use of `class` for things that should be simple free ... by wruza on Thursday May 28, 2020 @04:58AM (#23335029)
In c++ functions can be marked ‘static’ to make them translation-unit local, or you can put them in a library namespace, if they’re public. In a particular js bundler/runtime usually a module system is used (or just iife/umd wrap) which prevents function names from populating globals.

There are no comments on this comment yet.