@andrzej-kopara:

Nie chcę mi się zbytnio rozwodzić, więc skopiowałem z internetu.

Extension methods concept is just syntactic sugar as some authors call it. It makes the code more readable though less understandable. Ultimately extension methods are just static ones which are the heritage of the procedural paradigm. They make the code tightly-coupled and less cohesive, harder to test and reuse.

Cytowany tekst...I am biased against this tendency of the C# programming language. This feature is attractive but it doesn't bring any benefits, quite the contrary it increases the complexity of
  • Odpowiedz
@ChestNoot: Ok. W kodzie bym się czepiał. Spacje by się same zrobiły po formatowaniu dokumentu, ale modyfikatory powinny być.
Ale to tylko przykład. Ogarnąłem wszystko, więc uważam, że jest czytelne.
  • Odpowiedz