>>1
You need to implement X, and don't know if it should be a method or a class with a method? Simple thing to decide:
- Theory POV: does X correspond to a new entity in your problem, like "Person-Move" (need new class Person), or is it related to existing entities (class Person already exists), or perhaps it's not related to any particular entity (for which there's no solution in Java, but you can toss it into any misc class).
- Practical POV: does X need to hold information related to other methods you don't want to pass in and out of it all the time, right now or in the foreseeable future?
>>7
You're doing it wrong. Or at least, your language is doing it wrong. Ever heard of properties? Don't clutter and shitten the interface with shit like getBullshit(), setBullshit(lol), etc. just because it's a business enterprise best-practice. This is fuck ugly. With a decent language, you should be able to define simple properties that can be accessed as is (e.g. .prop) and act as lvalues (e.g. .prop += ...), yet these operations can actually correspond to methods should you need so. Or perhaps you could make it an object of a certain class which overrides some operators. Just don't jump in the getShit() bandwagon because it's a best-practices enterprise busines solution that creates synergy and maximizes profits.