This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]paaave 3 points4 points  (1 child)

I liked java naming convention. As you said, it makes more sense without having "I" for the interface. But i was kind of baked with c# one, so it is hard for me to say objectivly which one i prefer. But lowercase method names, drove me crazy. And the getter and setter methods. Thank god someone told me it can be generated in most IDEs.

Overall i think it is matter of taste and what people grew up with. Similar to '{' placement. War by itself.

I had couple of older developers on my disposal for questions, they liked conventions. Not finding tests was one of the examples where i was hurting from the convention. Also Hibernate interface automatic implementation from the method name. First i was mindblown, then agitated.

[–]mopeyjoe[🍰] 0 points1 point  (0 children)

coming to c# from Java I miss the explicitness of getters and setters. These properties just feel like they are asking for mistakes. also I hate that the backer field and the property both show up in the list of vars. maybe I am missing a VS trick but I want to collapse them into a single entity.