Skip to main content
9 votes

The Never-Ending IFs

Your ConfigureApplicationAsync method calls 9 async methods in a predefined sequence (which might be too much responsibilities for a single method btw). Each of the ...
Peter Csala's user avatar
  • 9,279
4 votes

The Never-Ending IFs

You have two issues here, the first one is that you should invert the condition for early return, which would decrease the nesting levels. The second issue is understanding the related executions and ...
iSR5's user avatar
  • 5,413
2 votes

An enhanced ExecuteReader method in VB.NET

I am thinking that it is like reinventing the wheel. In some way, that could be true. But let's see. Testing function arguments I believe some design choices are questionable. First of all, your <...
Kate's user avatar
  • 6,983
2 votes

Increment sequence value for multiple styles

declarations DIM I As Integer = SequenceChars.Length - 1 Wow, that's super funny, guess we have to pick some way to make declarations. I remember ...
J_H's user avatar
  • 29.3k
2 votes

Avoid Boolean as parameter for constructor | Complex Number Calculator

First of all, although you only want to get rid of the boolean parameter, let us look at the code and see if we can improve it. I would ask myself, do the methods ...
Heslacher's user avatar
  • 50.4k

Only top scored, non community-wiki answers of a minimum length are eligible