Sorting methods into logical similarities

Just wondering whether or not to sort the methods into logical similarities so all the gets(), sets() is() are all together in one bunch or use the format getValue() setValue() getOtherValue() setOtherValue()

I’d put them in an order that makes sense, not necessarily alphabetical. I don’t really think it’s a big problem because IDE autocorrect orders them anyway.

1 Like

Definitly group similar methods, sorting them by alphabetical order is like… sorting math classes by athebetical order.

2 Likes

Eclipse does have a sort method but it doesnt enfore it

I agree, alphabetical sorting is somewhat nonsensical. Grouping by logical similarity seems most sane.

1 Like

sorry thats what i meant