You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on Hisho v1.2, in which I added the "explain" commands for commands and builds.
While adding support for explain, I stumbled across a huge deficit in Rust: There is no argument overloading.
So it is not possible to have two functions with the same name, but different argument types or counts.
A function hello(String) and a hello(String, bool) can not co-exist. Same with a hello(String) and hello(i32).
Because of this limitation I had to rename many of the modified functions to include their arity (count of arguments).
So now there are many functions marked as deprecated, that call to functions that have their arity in their name, and it is all a big mess.
With v2, I want to fix this mess. In v2 I will both, remove all the functions marked as deprecated in v1.2, BUT I will also rename all the other functions to remove the arity.
This issue is basically just a public announcement that Hisho v2 will come soon and that it will NOT be API compatible in any way.
The text was updated successfully, but these errors were encountered:
I am currently working on Hisho v1.2, in which I added the "explain" commands for commands and builds.
While adding support for explain, I stumbled across a huge deficit in Rust: There is no argument overloading.
So it is not possible to have two functions with the same name, but different argument types or counts.
A function
hello(String)
and ahello(String, bool)
can not co-exist. Same with ahello(String)
andhello(i32)
.Because of this limitation I had to rename many of the modified functions to include their arity (count of arguments).
So now there are many functions marked as deprecated, that call to functions that have their arity in their name, and it is all a big mess.
With v2, I want to fix this mess. In v2 I will both, remove all the functions marked as deprecated in v1.2, BUT I will also rename all the other functions to remove the arity.
This issue is basically just a public announcement that Hisho v2 will come soon and that it will NOT be API compatible in any way.
The text was updated successfully, but these errors were encountered: