3 ms·
Nim provides the benefit of both: when interfacing with C libraries a case-agnostic language helps. Yet, checks on function definition and types has the same b
by goodpoint 5y ago
Nim provides the benefit of both: when interfacing with C libraries a case-agnostic language helps.
Yet, checks on function definition and types has the same benefit of case-pedantic language, without forcing a specific style on the developer.
- lifthrasiir 5y agoIt is okay to have a feature (NOT necessarily this feature) that translates other conventions to a single consistent convention; for example a language may convert a name "foo_bar" into "fooBar" when used in C bindings, preferably with an escape hatch. However case-agnostic languages do not try to do that, they give zero indication for what convention to use (cf. function names in PHP, which is a horrible mess). No single convention is better than others, but a single consistent convention does matter.