Comment

Comment by ivmaykov

I wrote an unsafe library at a FAANG and used similar naming conventions.

The init function was named along the lines of “MyClassName_UNSAFE::initUnsafeIUnderstandTheRisks()”

And the library itself was called something like “library-name-unsafe-my-team-name-must-approve-diff”

So anyone trying to use it would have to add a library with that name to their list of dependencies and would come to us asking for a code review, and more than half the time we would redirect them to a safer alternative (valid use cases for the unsafe library were few and far between).

parent ivmaykov 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton