log is defined in math and developer packages and has a completely different purpose, we should avoid name collision in the standard library when it make sense #147474
Labels
r: invalid
Issue is closed as not valid
Use case
log is defined in math and developer packages and has a completely different purpose. not the best development experience.
let's say you have:
then you need the math package for
bar
, you see the collision and do change your import tooimport developer as developer; import math
then you adddeveloper.
when the compiler is complainingyou add up with the following code
Proposal
I think the standard library should avoid collision as much as possible.
devLog
could be an acceptable namethe math library and the need to log thing is quite commun
The text was updated successfully, but these errors were encountered: