loading...

re: Don't return associative arrays! VIEW POST

FULL DISCUSSION
 

Hey, thanks for the article.
I really enjoyed reading it. As I am currently writing in first server backend (in Python though, but I guess some concepts aren't bound by language), I am tripping over my own code and styles of returning values all the time.
A lot of things just went 'click' inside my head on how I can go about streamlining my code.

 

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.

code of conduct - report abuse