Strona głównaSztuka programowania

How often in your code do you see ifs checking whether the object is not null? Often? Very often? What would happen if you didn’t have to check it out? Surely code would be easier to maintain – no ifs = no test cases. This can all be achieved using Null Object pattern.

Null Object pattern - how and when to use it | mpustelak.com

Sztuka programowania 2653 dni, 5 godzin, 53 minuty temu Mateusz Pustelak 253 pokaż kod licznika zwiń

Najaktywniejsi w tym miesiącu