dom96

YES! There is a genuine problem with the underscore magic that allows different 
spelling of the same names: The problem is readability.

The also relaxed rules for referencing imports has exactly the same problem of 
readability.

To make it very clear, consider these two examples:

  1. A user is reading someone's code and wants to see all instances of a name. 
So they go using find in their editor and fail to pick up on all because some 
instances have underscores in their name.
  2. A user is reading someone elses code and has no idea what package certain 
functions are imported from come from because it does not say.



So there is a general design concept in Nim obviously, to make it more flexible 
to write but less concise to read. This will doom the language. As Python has 
shown so well, readability is very important.

I did read the FAQ which defends style insensivity on the basis that it is 
actually a convenience in the user's interest. It is not something like 
whitespace or brackets that users can just get used to. It is functionally more 
complex, and users are complaining about it.

Sometimes users are wrong Dom but sometimes an open source project fails to 
attract users by failing to respect their common sense.

Reply via email to