re: How to Produce Readable Code VIEW POST

TOP OF THREAD FULL DISCUSSION
re: actions on objects: user.get(), user.add(), post.modify(), post.delete() user = new User(id) print database.get(user) posts = new Posts() print...
 

Yeah, that works too! I prefer a more functional approach though, that's pretty much what I described :) this is more OOP.

But as long as you and any person who hasn't seen your code can read it, anything works!

code of conduct - report abuse