Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 3965

Naming standards is about defining rules about the use of symbols such as the name of namespaces, packages, modules, types, functions, or variables

4 votes

Why is the use of conjunctions in method names a bad naming convention?

Although the use of conjunctions often indicates a violation of the SRP, in this case it is just indicating the return value of a poor man's algebraic data type that can be one of two values, either n …
Karl Bielefeldt's user avatar
93 votes

What is the reason for using lowercase for the first word in a local variable (eg, employeeC...

That naming convention is often used when people want to be able to give a variable the same name as its type. For example: Employee employee; Some languages even enforce that capitalization. Thi …
Karl Bielefeldt's user avatar
6 votes
Accepted

Should duck typing affect naming conventions?

In Clean Code, Robert Martin argues that even with static typing, you should avoid what he calls "punning," meaning giving the same name to two methods that aren't semantically similar. That means if …
Karl Bielefeldt's user avatar
4 votes
Accepted

How does package naming affects Android application once deployed?

The com.domain.myapp convention is to prevent namespace collision globally. Android doesn't allow two packages of the same name, so you can't use a generic name. If you don't have a web site for you …
Karl Bielefeldt's user avatar