Tumgik
lonestarcopy · 2 years
Text
Find the inner core
Tumblr media
Is there *any* useful meaning hidden in this code? I had the strong impression, the developer wanted to, that he had absolutely no idea...
0 notes
lonestarcopy · 2 years
Text
How to Code
it's not only about C#, but currently my favourite #howtocode shall be a collection of some thought I had over the year of programming. Especially hot to do it right but also to understand how to do it _not_ .... should be obvious. So the very first negative example I first found was this:
[Test] public void SomePotentiallyUsefulTestMethod() {     //var sender = new Whatever();    //var config = SomeConfig();     //Assert.AreEqual(a, b); }
The commented code does not matter at all, but why are people leaving code like this ? Remove it!
This is waste!
I hope someone reviewing a pull request will find this !
1 note · View note