Tag Info

New answers tagged

0

Adapter When you have incompatible interfaces, that perform similar logic, to adapt one into the other, so that you can use implementations of one with things that expect the other. Example: You have an object that wants a Car, but you only have a 4WheelVehicle class, so you create a CarBuiltUsing4WheelVehicle and use that as your Car. Facade When you ...


0

Gamify your work. For example, give yourself 5 points each time you ask a good question about the code, and 10 points each time you answer it. Give yourself a badge each time you refactor a method or add a new feature. Once you accrue enough points you get privileges like coffee breaks or biscuits. Once you complete the whole project you get the ...



Top 50 recent answers are included