3 ms·
https://github.com/andreapaiola/F-D-/blob/master/fade.php https://github.com/andreapaiola/F-D-/blob/master/fade.php What is the point of making this a class ra
by Kiro 10y ago
https://github.com/andreapaiola/F-D-/blob/master/fade.php https://github.com/andreapaiola/F-D-/blob/master/fade.php
What is the point of making this a class rather than just a simple function?
- andreapaiola 10y agoIt's more powerful, obviously :D No, it's a joke. Well... It's OOP vs procedural in reality, right? If you want it you can PR... a new file fade-procedural.php
- kijin 10y agoIt ticks the "object-oriented" box. This is a joke project after all, I wouldn't mind seeing even more gratuitous complexity like FadePaidFactoryInterfaceFactory.