loading...

re: Probably the hottest code refactoring you ever saw 🔥 VIEW POST

FULL DISCUSSION
 

Thanks for posting Ioannis, good job!

You can take this to the next level with Replace conditional with Polymorphism. Even though you have successfully improved the code in this example, every new format will require you to modify this algorithm.

 
code of conduct - report abuse