View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000120 | Gameplay + OpenGL | [All Projects] Feature | public | 2017-01-25 12:43 | 2017-01-25 12:57 |
Reporter | Marrub | ||||
Assigned To | |||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | no change required | ||
Summary | 0000120: Add identifier scoping to ZScript | ||||
Description | C is nice and lets you do this:
ZScript, however, lacks this concept, and due to its case insensitivity makes this code really bad:
If the language didn't have case insensitivity this wouldn't be as much of an issue because of ZScript's tendency to use Unreal class and variable naming; but without proper identifier scoping or case sensitivity this gets really annoying sometimes. | ||||
Tags | ZScript | ||||
It's not a bug - it's a feature! :P Seriously, naming variables the same as types is an open invitation to errors and requires a completely different level of parsing complexity. I wish I could undo the case insensitivity but that's so deeply ingrained in the code I inherited that it's not undoable. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-01-25 12:43 | Marrub | New Issue | |
2017-01-25 12:45 | Marrub | Tag Attached: ZScript | |
2017-01-25 12:56 | Graf Zahl | Note Added: 0000235 | |
2017-01-25 12:57 | Graf Zahl | Status | new => closed |
2017-01-25 12:57 | Graf Zahl | Resolution | open => no change required |
2017-01-29 21:18 | Rachael | Category | Suggestion => Feature |