Quantcast
Channel: scalable ravings » code smell
Browsing latest articles
Browse All 4 View Live

Image may be NSFW.
Clik here to view.

smell of if

A code smell is a hint, a clue which indicates that a potential problem is hidden somewhere in the code. Some of them are well-known by every developer, like too long identifiers, too short...

View Article



Image may be NSFW.
Clik here to view.

SOLID – Introduction

On peut constater que la plupart des développeurs qui utilisent quotidiennement la programmation orientée objet connaissent généralement non seulement ses grands principes (interfaces, classes,...

View Article

Image may be NSFW.
Clik here to view.

if-else trees vs SOLID principles

Introduction If you have read my previous articles, or know me personally, you must know that the one kind of bad code I hate the most is if-else trees. In the first article of this weblog, I talked...

View Article

Image may be NSFW.
Clik here to view.

“The Clean Code Talks” are fighting if statements

Just found this 4-year-old video which can be very instructive :  Misko Hevery fights against if/switch statements using object oriented techniques to remove them. “The Clean Code Talks — Inheritance,...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images