Questions tagged [conventions]

A generic tag covering any accepted method of doing things, which could include naming, spacing, coding, commenting, etc.

A generic tag covering any accepted method of doing things, which could include naming, spacing, coding, commenting, etc.

1143 questions
-3
votes
1 answer

Is this way of naming variable functions acceptable?

Is the naming convention an issue? doThis defines unique logic for my_function and calls the f_get or f_put accordingly as required. Assume variable names will be defined properly. My question is regarding the re-defining of my_function every time…
ashen
  • 1
  • 1
-4
votes
1 answer

Meaning of "common" in file names

Sometimes files in projects are named "commons". What does it exactly mean? Here is an example:
user14282205
-4
votes
4 answers

Why is a main() method necessary if I can run code in a static block?

I know this fact that main() method is for starting point of programme which is defined by technology.But still we can do entire thing without main method any without any error. I have this code public class WithoutMain { int x=10; …
Arun
  • 1,038
  • 2
  • 12
  • 25
1 2 3
76
77