|
|
|
|
|
by goodpoint
1647 days ago
|
|
This complain comes from people who haven't used the language. > Not to mention that reading code requires extra mental overhead (especially being new to the language), that `getAttr`, `get_attr`, etc., are actually the same thing. On the contrary, the language prevents confusion due to mixing getAttr and get_attr in the same codebase and bugs from using the wrong one. Unsurprisingly, many safety-critical environments have policies to enforce consistent naming styles. The linter will convert both to "getAttr" and the compiler will complain if the user tries to define the same proc twice. |
|