User loginNavigation |
Alternative method for defining statically typed variablesI've been thinking about the feasibility of a type system that incorporated the type of variable into its name using symbols. E.g.: The system could use symbols like @, #, $ and % for signed, unsigned, character and object and the number would be the size of the variable in bytes (objects wouldn't have this) and the hyphen to separate the name from the type. The symbols would be used every time the variable is used (for the programmer's advantage of readability). So what are people's views on this idea? By Josh-Meredith at 2010-03-07 06:14 | LtU Forum | previous forum topic | next forum topic | other blogs | 5264 reads
|
Browse archives
Active forum topics |
Recent comments
15 hours 44 min ago
1 day 12 hours ago
2 days 17 hours ago
2 days 17 hours ago
1 week 18 hours ago
1 week 18 hours ago
1 week 18 hours ago
4 weeks 1 day ago
4 weeks 6 days ago
5 weeks 45 min ago