naming-conventions Questions
3
Solved
Disclaimer: Feel free to close this as "too localized", if you think it is inappropriate for StackOverflow. Since there's quite a large German-speaking community here, I thought I'd give it a try.
...
Stunt asked 31/8, 2011 at 9:33
5
Solved
The guidelines are clear for enumerations...
Do use a singular name for an enumeration, unless its values are bit fields.
(Source: http://msdn.microsoft.com/en-us/library/ms229040.aspx)
...bu...
Lillis asked 1/11, 2011 at 0:33
5
Solved
Maybe it is obvious to you. I'm new to java (half year work) and I had a discussion with my collegues. I have troubles naming my classes according to their responsibilities. For that, my classes ga...
Costrel asked 6/12, 2011 at 16:43
4
I'm looking for the Typescript file-naming conventions, specifically for a file which stores only types and interfaces.
Now, I've found a couple of Typescript Coding Convention projects on Gi...
Zampardi asked 2/3, 2020 at 23:53
4
Solved
I was just wondering if there was any standardized convention for .env environment variable files. If I had multiple setups (e.g. development, staging, production), what should they be titled?
I'...
Jeromejeromy asked 1/4, 2019 at 15:5
13
What are the naming conventions commonly use in C? I know there are at least two:
GNU / linux / K&R with lower_case_functions
? name ? with UpperCaseFoo functions
I am talking about C only ...
Macmahon asked 12/11, 2009 at 13:16
5
Solved
Variable names in haskell need to be in small case, but
How to declare variables in .hs file, if we want to store g = 9.8 and G = 6.67300 × 10-11 (in following scenario) ?
Conventionally Physicis...
Lanctot asked 27/6, 2012 at 4:13
5
Solved
I'm currently in the process of moving some project from Ant to Maven. Conformist as I am, I want to use well-established conventions for finding groupId and artifactId, but I can't find any detail...
Trudytrue asked 16/9, 2010 at 7:7
3
Solved
I read a table from Microsoft Access using RODBC. Some of the variables had a name with a space in it.
R has no problem with it but I do.
I cannot find out how to specify the space
names(alltime)...
Thyrse asked 8/9, 2009 at 17:15
5
Solved
I need a MySQL table that represents this data:
Feb 12, 5:00pm - Verdasco VS Monfils
Feb 12, 9:25pm - Sampras VS Hewitt
Feb 13, 8:15am - Nishikori VS Del Potro
I wanted to name the time column ...
Anastigmat asked 2/2, 2011 at 20:13
2
Azure Storage Account name length restriction throws a wrench in what could be something easy. Being able to name my resources per tenant, like rg{tenant-guid} for a resource group, or fa{ten...
Frederiksen asked 6/1, 2021 at 17:7
8
Solved
In the past I've always used underscores for defining class and id attributes in HTML. Over the last few years I changed over to dashes, mostly to align myself with the trend in the community, not ...
Athwart asked 26/9, 2011 at 20:18
13
Solved
I have seen variables like _ image and was wondering what _ meant?
Blare asked 1/8, 2011 at 19:0
3
Solved
When naming a ValueTuple element, should they be capitalized or not?
(string Name, int Index) rec;
or
(string name, int index) rec;
EDIT:
It seems the convention is PascalCase
See: https://gith...
Psilomelane asked 16/11, 2018 at 0:22
11
Solved
This seems like a simple question, but I can't find it with the Stack Overflow search or Google. What does a type followed by a _t mean? Such as
int_t anInt;
I see it a lot in C code meant to de...
Gosser asked 23/10, 2008 at 22:18
3
Solved
If I want to write a phrase like "Column 1" in snake case (the usual C way of formatting identifiers that looks like some_function), do I insert underscore between a word or a number, like column_1...
Graveyard asked 19/9, 2019 at 11:6
5
What are the meaning of the packages org and com in Java?
Seafaring asked 23/1, 2010 at 23:58
2
Solved
When using Entity Framework code first migrations is there a best practice for choosing a name for each migration? For example each name might contain a version number or the change(s) made t...
Brickey asked 9/9, 2015 at 13:1
4
Solved
In Java, is there a semantic difference between using "Illegal" (as in IllegalArgumentException) versus "Invalid" (as in javax.activity.InvalidActivityException)?
During the course of an assignme...
Olvera asked 2/3, 2010 at 15:22
5
I want to write a function in Go to insert a document into a collection in a MongoDB database. Which way to name the function is better,
writeToMongoDB or
WriteToMongoD?
The second is ...
Amphithecium asked 27/7, 2016 at 15:1
7
Solved
What characters are allowed and what is not allowed in a C# class name? Could you please help?
EDIT: To specify. What special characters are allowed? Please be specific, because links to 50 pages ...
Sutlej asked 4/6, 2009 at 13:32
2
Solved
PEP 8 recommends using a single trailing underscore to avoid conflicts with python keywords, but what about conflicts with module names for standard python modules? Should that also be a single tra...
Mayan asked 19/4, 2013 at 0:16
13
Solved
In Ruby some methods have a question mark (?) that ask a question like include? that ask if the object in question is included, this then returns a true/false.
But why do some methods have exclama...
Theophylline asked 4/3, 2009 at 20:2
6
Solved
We were discussing with our coworkers on what it means if the method name starts with "Try".
There were the following opinions:
Use "Try" when the method can return a null value.
Use "Try" when ...
Introvert asked 20/6, 2013 at 7:28
13
Solved
Why do most C programmers name variables like this:
int *myVariable;
rather than like this:
int* myVariable;
Both are valid. It seems to me that the asterisk is a part of the type, not a part...
Algetic asked 29/12, 2008 at 19:22
1 Next >
© 2022 - 2025 — McMap. All rights reserved.