Strona głównaUżytkownik

Marcin Węgrzyn | użytkownik

Marcin Węgrzyn
Marcin Węgrzyn
9,17
2086 dni, 14 godzin, 40 minut temu
16 kwietnia, 2017
dotnetomaniak.pl

It’s a good practice to make all things done at the first approach. But in the real world it’s ot always possible - for example we need to ask customer for clarification and it will take some time, or worst - we don’t have enough time right now to implement things in the right way. In order to adress this issue, a TODO was invented to mark all those places in code requiring additional work. But the main disadvantage of TODO is that we mark code with it, commit it and forget about it. Sometimes somebody a...

How to manage TODO in your codebase. · CEZARY PIĄTEK

Narzędzia 2331 dni, 14 godzin, 52 minuty temu cezarypiatek 165 źrodło rozwiń

How many programmers you know use ‘yield‘? Seriously, if you have an occasion, ask them – I’m afraid you will notice a strange thing – everybody heard about it but (almost) nobody (including me) uses it. Time to change it! Why? Because ‘yield‘ was introduced in C# 2.0 (yeeeah, it’s that old!) and can help you get rid of some of the ‘temp’ collections in your code and, what’s more important, it may prevent you from System.OutOfMemory exception.

Let’s make ‘yield return’ our best friend! – A Girl Among Geeks

Daj się poznać 2017 2569 dni, 17 godzin, 8 minut temu AGirlAmongGeeks 205 źrodło rozwiń

Najaktywniejsi w tym miesiącu