re: Should a library log its version number ? VIEW POST

re: Some of principles that good library should match is single responsibility and minimally surprising behavior. Library shouldn't do things that isn'...

My first thought was for discoverability. Some devs see something cool on the web, open the console and see Build with love using "MyAwesomeApp v1.0.0".
Thanks, to others comments, I realize that if every lib do the same, log can be cluttered.

Use JQuery 3.11
Build with Bootstrap@4
Made with love with Webpack v4
Propulsed by _Underscore_
Careful Google Analytics is watching you

However, I agree with you on:

good library should have ability to provide its' version.


It's funny. But you even cannot imagine how similar message really helps to discover issues. Especially If it's critical application...

code of conduct - report abuse