|
|
|
|
|
by FuzzyDunlop
5359 days ago
|
|
This has appeared at just the right time, now I'm re-working my project's image manipulation classes. The PHP GD library functions are a nightmare for readability. I'll be having a little play about with what I intend to implement and if it works out well I'll likely implement it in my project proper! > “Why didn’t he keep width and height as simple integer parameters in every method that needed those?” or “Why is x and y coordinates are an object called Point?” Seems to me that PHP needs to turn its own primitives into objects so they can be type hinted. Trying to figure out which of a dozen number validation functions to use is an utter clusterfuck at the best of times. |
|