Case-sensitivity of identifiers: Difference between revisions

Add Ecstasy example
No edit summary
(Add Ecstasy example)
Line 418:
The three dogs are named Benjamin, Samba and Bernie.
</syntaxhighlight>
 
=={{header|Ecstasy}}==
<syntaxhighlight lang="java">String dog = "Benjamin"; // by convention, variable and property names use lower camelCase
String Dog = "Samba"; // by convention, upper CamelCase is used for class, type, and constant names
String DOG = "Bernie"; // by convention, all-caps is only used for constants
@Inject Console console;
console.println($"There are three dogs named {dog}, {Dog}, and {DOG}");</syntaxhighlight>
 
=={{header|Elena}}==
In ELENA identifiers are case sensitive.
162

edits