Hacker News new | ask | show | jobs
by treeform 2419 days ago
Main reason for this feature is that Nim is big as a glue language. Many C/C++ libraries don't have consistent naming conventions between them. I don't want my code to look like a patch work of `__APICALL__(system_call.inspectSomething())` I just want it to look like Nim code: `apiCall(systemCall.inspectSomething())`. This is just a consistent standard on how to turn names in one style into another style backed into a language.
1 comments

    apiCall = __APICALL__
done
So you are writing hundreds of rename rules.

Well, unlike treeform, I like it to be:

    api_call(system_call.inspect_something())
Which I find much more readable. What now?
Then you are writing or auto generating these giant 1000s of lines long files with renames... why?
I never said it was a good idea!