3 ms·
i like oop for namespaces. if only c had them. I recently went back to php after JavaScript. Js has a string object, so if you want any string function you kno
by kgbcia 4y ago
i like oop for namespaces. if only c had them. I recently went back to php after JavaScript. Js has a string object, so if you want any string function you know where to look.
Php has a bunch of functions with str prefixes which could lead to namespace collision.
I like oop because of custom types. Awhile back I had to create a vector class in python. Since Python support type hints, vscode automatically warned me if I pass the wrong object.