User loginNavigation |
archivesAlternative 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? |
Browse archivesActive forum topics |
Recent comments
1 week 6 days ago
1 week 6 days ago
14 weeks 6 hours ago
14 weeks 1 day ago
14 weeks 2 days ago
14 weeks 2 days ago
15 weeks 8 hours ago
15 weeks 8 hours ago
15 weeks 8 hours ago
18 weeks 1 day ago