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


I don't see the added value in that :D It doesn't seem to help neither the developer nor the user. Anyway if I had to do it I would use console.debug instead of console.log...


IMO, it could help users to fill issues and help devs with discoverability.


Agreed. I think they should be logged.


In theory but normal users don't know about the web developer tools (why should they?) and it doesn't help mobile users anyway...

Also, if the library is shipped to all users, all users likely have the same version.

By users I meant the ones using the lib so webdevs.

Yeah but I already know which version it is, I installed it 😬 anyway it doesn't do any harm so well, let's leave it at that ✌🏾

code of conduct - report abuse