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
While digging into the source code, I discovered a large amount of commented out code throughout the solution.
Unless there is a reason behind this that I am not aware of, I think it is best to remove this. In a worst-case scenario, we have the git history to take care of this.
One example is in UnbufferedStream.cs, the following code is all commented out:
@Ivanidzo4ka I was curious about that too. Is there any background on that project?
There is a lot of code in there that just feels very old. I came across several properties that were not auto-properties, there are tons of #IF compiler directives that seem to have no use, etc...
Update
I just went in and removed that project. Still able to clean/build. Should I go ahead and update the PR with this?
This is really old code which has nothing to do with ML.NET, and I'm not sure how it end up in this repository. Generally it's suppose to provide wrappers to access different types of streams (SQL tables for example) but again this is really old code, (pre dotnet CLR) which not suppose to be in this repository.
So feel free to delete whole project and any mentions of it.
Activity
shauheen commentedon Jul 10, 2018
Thanks @dan-drews , this is great. I do not see a reason for keeping unnecessary commented out code.
Ivanidzo4ka commentedon Jul 11, 2018
Can we just nuke Microsoft.ML.InternalStreams?
Not sure how they get leaked in this repo.
dan-drews commentedon Jul 11, 2018
@Ivanidzo4ka I was curious about that too. Is there any background on that project?
There is a lot of code in there that just feels very old. I came across several properties that were not auto-properties, there are tons of #IF compiler directives that seem to have no use, etc...
Update
I just went in and removed that project. Still able to clean/build. Should I go ahead and update the PR with this?
Ivanidzo4ka commentedon Jul 11, 2018
This is really old code which has nothing to do with ML.NET, and I'm not sure how it end up in this repository. Generally it's suppose to provide wrappers to access different types of streams (SQL tables for example) but again this is really old code, (pre dotnet CLR) which not suppose to be in this repository.
So feel free to delete whole project and any mentions of it.
Remove Extra Code Comments and unused InternalStreams project (#514)
Remove Extra Code Comments and unused InternalStreams project (dotnet…