DEV Community

loading...

Discussion on: Don't return associative arrays!

Collapse
aleksikauppila profile image
Aleksi Kauppila Author

Glad you liked it! Python equivalent would be to return dictionaries. Although they are actual objects and have some methods, they are too generic to promise anything useful.

Forem Open with the Forem app