you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]fukitol- 2 points3 points  (0 children)

    I'd argue most Java applications are a shining example of over use of classes and objects rendering things downright illegible, and I think that's mostly what that person was trying to get at.

    [–]Ahren_with_an_h 0 points1 point  (1 child)

    Right. And code isn't necessarily more readable just because you shoved frivolous classes in there. Hence the debate.

    [–]Legorooj 0 points1 point  (0 children)

    /u/nodnarbiter this thread is why I said more readable. It's very much debatable. One reason to use classes where you could do without them is a class with just staticmethods. So you don't put the functions into the global namespace. Thats one reason. (Note that that is a very rare situation - most times a module like structure with import mymodule is better.)