Skip to main content
14 events
when toggle format what by license comment
Aug 16 at 19:01 comment added candied_orange @quaabaam sadly, yes. The fundamental problem is trying to encode structural info (like that this is a base class) in the semantics (the name). I want domain info in my names. Stop avoiding thinking of good names by sticking a warts on a bad one.
Aug 15 at 17:50 comment added quaabaam @candied_orange I've seen JAVA code with an Impl suffix, is that a standard thing?
Mar 4, 2021 at 14:21 history edited Doc Brown CC BY-SA 4.0
"Attribute" mentioned
Mar 4, 2021 at 13:47 comment added Blake One more for C# is Attribute classes always end with Attribute.
Mar 4, 2021 at 8:09 comment added candied_orange Thank you. I've only ever seen the I prefix in Java when C# programmers are working in Java and haven't had their first code review in Java.
Mar 4, 2021 at 8:07 comment added Doc Brown @candied_orange: ok, I removed the Java part from my answer, it may not be so common there as I thought.
Mar 4, 2021 at 8:05 history edited Doc Brown CC BY-SA 4.0
deleted 40 characters in body
Mar 4, 2021 at 7:42 comment added candied_orange The I prefix is a C# thing not a Java thing. Java is perfectly happy to respect client codes right to not know if it's talking to an interface or a concrete type. Now if only Java respected that in its binaries so you wouldn't have to recompile the client when you switch from concrete to interface. We probably wouldn't have so many premature interfaces.
Mar 4, 2021 at 5:50 history edited Doc Brown CC BY-SA 4.0
deleted 5 characters in body
Mar 4, 2021 at 5:44 history edited Doc Brown CC BY-SA 4.0
deleted 5 characters in body
Mar 4, 2021 at 5:43 comment added alamoot Funny you mention C#, as I was implementing in C# when I thought of the question. And I've also found the only 2 common conventions of C# to be I for interfaces and Exception extension on built in Exception.
Mar 4, 2021 at 5:38 history edited Doc Brown CC BY-SA 4.0
added 68 characters in body
Mar 4, 2021 at 5:29 history edited Doc Brown CC BY-SA 4.0
added 119 characters in body
Mar 4, 2021 at 5:19 history answered Doc Brown CC BY-SA 4.0