User loginNavigation |
Booleans vs stringsI'm working on a simple, dynamically-typed language for business users. We're trying to have as few datatypes as possible to reduce the number of things they have to learn (currently just strings, numbers and tables). I'm considering just using "true" and "false" strings instead of boolean values. I can't see any arguments against it but I can't help feeling that I'm going to regret it. Is this sensible? The only language I'm aware off that does something similar is TCL, which also allows yes/no/on/off. EDIT: I suppose erlangs true/false atoms are similar. That gives me some encouragement. By jamii at 2014-02-02 04:51 | LtU Forum | previous forum topic | next forum topic | other blogs | 11579 reads
|
Browse archives
Active forum topics
|
Recent comments
15 weeks 1 day ago
19 weeks 3 days ago
21 weeks 20 hours ago
21 weeks 20 hours ago
23 weeks 5 days ago
28 weeks 3 days ago
28 weeks 3 days ago
28 weeks 6 days ago
28 weeks 6 days ago
31 weeks 4 days ago