479 reputation
1515
bio website careers.stackoverflow.com/…
location Belgium
age 21
visits member for 1 year, 1 month
seen yesterday

Currently a student enrolled at the University College of Ghent. Primary interest resides in C#/Java written backends although I also have some experience with COBOL and ASP.NET MVC 4 frontends.

Refer to my Careers profile for a more thorough overview, my LinkedIn profile should you wish to stay in contact or my Github account for an overview of my personal projects.

Codereview is an important part of the process to become a better developer. I appreciate any feedback you might have about code I have written, feel free to contact me about it.

Programming is the art of telling another human what one wants the computer to do. ~Donald Knuth

Hit 10.000 reputation on the 364th (consecutive!) day of being a member.


Apr
12
comment What does language in email indicate about team lead?
in my view if code gives desired output and isn't very bad programming practice then it's fine Sure, you can divert from best practices when it is warranted but that sounds like you're taking it too far. Best practices are best practices for a reason. Your main complaint seems to be that your team lead is telling you there is more to learn, even though you say yourself you're not a great programmer?
Apr
11
comment Is there any performance benefit in checking the item count prior to executing a foreach loop?
I think I explained it quite badly in my comment. What I meant by the program flow should've never gotten to that foreach with a null variable was that it shouldn't have been reached because at the start of the method you throw an exception when the argument was null. I also added make it an empty list which refers to inline initializing of a local variable (obviously this part wasn't conveyed well at all). Argument validation is definitely important and necessary, no argument there.
Apr
11
comment Is there any performance benefit in checking the item count prior to executing a foreach loop?
Because ideally the program flow should've never gotten to that foreach with a null variable. If you don't have a list to work with, make it an empty list instead and don't work with possible null values in your program. By omitting that null check you will also notice it quickly while testing.
Apr
11
answered Is there any performance benefit in checking the item count prior to executing a foreach loop?
Apr
1
comment Unit Testing a method that contains two output type parameters
I don't see the necessity for such an aggregate class in the first place. Why do you want one?
Apr
1
comment Unit Testing a method that contains two output type parameters
What's the reasoning behind that? This adds an extra layer of complexity because you have to lookup what values are being compared exactly.
Mar
31
answered Unit Testing a method that contains two output type parameters
Mar
28
comment What are the advantages of strictly maintaining separate data | algorithm | interface layers?
What should we understand under 'algorithm'? Either way the same advantages of other separations apply: you can reuse the algorithm for a different object.
Mar
8
comment Multiple entrance points in project
Is there a particular reason you're not using a unit testing framework that does these things for you in a clean way?
Mar
8
comment Is a day really 24 hours long?
A day is actually somewhere around 23 hours, 56 minutes long. At least, that's how it is when you interpret it exactly as the time it takes for the earth to rotate around its axis. In daily use this is ofcourse simplified to 24 hours but if you ever need to calculate when the earth turns then you'll have to shave off a few minutes each "day".
Feb
25
awarded  Yearling
Feb
23
awarded  Nice Answer
Feb
23
awarded  Organizer
Feb
23
answered Which statement performs best?
Feb
23
revised Which statement performs best?
Made it somewhat readable.
Feb
23
suggested suggested edit on Which statement performs best?
Feb
11
awarded  Notable Question
Feb
6
awarded  Favorite Question
Jan
12
comment What is an “abstraction layer”?
It's a layer that abstracts underlying functionality. Can you elaborate on what exactly is causing your confusion? Perhaps by quoting some articles?
Jan
10
comment Using partially implemented interfaces
You would create a separate class as well except you would just basically create a helper class and call its functions, right? A class shouldn't rely on another class to do the things it can do perfectly fine itself. And yes, it does make sense to say that B is substitutable with D: after all, B contains all functionality that's held in D.