In preparation for getting the first 2.1 release candidate ready I ran the FxCop utility over the framework (http://www.gotdotnet.com/team/fxcop/)
1,500 errors later and I realised just how messy and inconsistent a job I did on naming classes, variables, methods, etc. I suppose that's what a VB6 background gets you ;-)
I would like to fix the framework so that it conforms the the CLR standards and conventions but doing so will break existing code.
In most cases this will mean doing a find/replace in your code and should be quite easy, but could take a while depending on the size of your code base.
What do you think - it is OK to make the changes or not?
- Richard
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In preparation for getting the first 2.1 release candidate ready I ran the FxCop utility over the framework (http://www.gotdotnet.com/team/fxcop/)
1,500 errors later and I realised just how messy and inconsistent a job I did on naming classes, variables, methods, etc. I suppose that's what a VB6 background gets you ;-)
I would like to fix the framework so that it conforms the the CLR standards and conventions but doing so will break existing code.
In most cases this will mean doing a find/replace in your code and should be quite easy, but could take a while depending on the size of your code base.
What do you think - it is OK to make the changes or not?
- Richard
Hi Richard,
I'm a proponent of following good structure and conventions. Saves headaches over the long term. So, my vote is "Yes" to make the change.
To be candid, it's easy for me to vote "Yes" since I don't yet have tons of code calling the Framework! :)
Also, the FxCop utility looks very interesting. I'm going to play with it.
Thanks,
Wyatt
Hi Richard,
I'm all for it.
Having a good naming convention and conforming to CLR standards will strengthen the framework in the long run.
Dan
Hi,
My code are growing....if you want do it...ASAP
I understand.
I'm in the same boat myself - I've got many projects using the framework and there's over 200,000 lines of code I'll have to rework.
I think it'll be worth it though (in the long term).
I agree with the changes. If it's to improve the code it justifys the work.
Thanks!
Hi Richard,
I'm agree too but soon i will use the framework for a big project so sooner it will be done the sooner i will be able to use it for my project.
Franois