by t8sr · 3y ago · 0 comments
There are also random, mostly undocumented, interfaces lying around /everywhere/, in all kinds of places not connected with either the call site or the implementation. My favorite is a custom bools library called "strings".
I haven't found any obvious bugs, but the coding standards are poor. Good on them for open sourcing it, but man, did nobody stop and think "hang on, is this code gonna make us look bad?"
I see NordVPN ads all over youtube, podcasts, and TV. Those overwhelmingly non-technical customers certainly don't care about the code quality, documentation, or constants defined far from where they're used.
It seems to me this is about marketing the product to be perceived as transparent and secure, which is certainly what those customers care about.
I thought people have moved on from using slog for structured logging and instead rely on the same as exposed by the tracing library. In the end, slog was good enough for the task at hand and that's what matters most.
Wouldn't that be the purpose of such a file? One central location to adjust what some magic number is - then reference it (via eg lsp autocompletion) were used?
The OP clearly just skimmed through the code without any interest in understanding how it actually works.
Just a code bashing. Sad
Yeah this review will really give potential Nord users something to really think about before they purchase!