naming-convention tag

8 questions


2 answers
81 views
0
Is the file name with multiple dots common?

When I read sources on github, I sometimes see file names with multiple dots, such as foo.class.php and fuga.min.css, but is this a common way to write?Please let me know if there are any advantages o...


1 answers
81 views
0
When naming interfaces in Java

In most object-oriented languages, when you name an interface, you put the capital i in front of it. But why not in Java? Why not?I mean, when I implement User Interface and User, there are two ways.B...


1 answers
126 views
0
Why is there an exclamation point on the Ruby method?

Do you have this question mark? Are you right? I understand it's a question mark because you ask like thisWhat is the exclamation mark for?


3 answers
113 views
0
What rules do developers use for variable names?

I'm studying Python, but the code I made has passedThe difficulty of recognizing is coming up as a big problem.I think annotations are very important, but while thinking about how to make general vari...

2 years ago

1 answers
115 views
0
What object is _(underlined) before the name?

What's the difference between one underlined object name and two underlined object names?Why are you using it?Are functions and variables used in the same sense?


2 answers
133 views
0
I'm curious about the name of the Android variable

LayoutInflater mLayoutInflater;I have a question while I was looking at Android open source.Many people put m at the beginning of the variable as above, and I wonder why.


1 answers
113 views
0
Is there a rule when naming variables/functions in Python?

In C#, when naming variables/functions, there were implicit rules such as CamelCase and PascalCaseI wonder if Python also has this rule.string thisIsMyVariable = apublic void ThisIsMyMethod()this_is_m...


1 answers
102 views
0
Why do you put an asterisk before the name, not after the type, when declaring the C pointer?

Why do you put an asterisk before the name, not after the type, when declaring the C pointer?It's usually declaredint* myVariable; instead of int *myVariable;Why do you put an asterisk in front of you...


© 2024 OneMinuteCode. All rights reserved.