Tagged Questions
5
votes
5answers
1k views
What do you call classes without methods?
What do you call classes without methods?
For example,
class A
{
public string something;
public int a;
}
Above is a class without any methods. Does this type of class have a special name?
2
votes
7answers
436 views
Should I refactor single letter variables for constructs like pointer/structure names?
And No, i am not referring to single variables in loops or exceptions. Lets say pointer/struct names in large c ,c++ programs . Are there any languages where this type of naming is acceptable or is ...
6
votes
6answers
417 views
How permissive should a language be about identifiers?
This is a sister question to: Is it bad to use Unicode characters in variable names?
As is my wont, I'm working on a language project. The thought came to me that allowing multi-token identifiers ...
5
votes
3answers
609 views
Were they joking when they named PHP?
PHP stands for:
PHP: Hypertext Preprocessor
This a recursive loop, if I'm not mistaken. Did the creator of PHP have this in mind when he named PHP?
Is this the only language where the name has ...
4
votes
6answers
917 views
Naming conventions for variables [closed]
When programming, what naming conventions do you use for your variables? I don't mean when the name of the variable should be obvious; ie. sum, total, first, last. But when you name variables that ...