News for hackers. Stuff that matters.
Re:Nim 2.0.0 RC2 by WesolyKubeczek on Friday March 31, 2023 @09:16AM (#35386681)
Another situation is when you have to interface with some other language that doesn't have this feature and where nameLikeThis and name_like_this both exist and mean different things. Thus requiring you to work it around with a third naming convention.

Here's one illustration: https://github.com/nim-lang/RFCs/issues/456#issuecomment-111...

We have partial case-insensitivity in PHP. Can't say I'm very fond of it, but I'm ambivalent as long as it's not abused.

Re:Nim 2.0.0 RC2 by xigoi on Friday March 31, 2023 @12:20PM (#35389376)
You should rename foreign identifiers anyway. C names are usually very cryptic.
Re:Nim 2.0.0 RC2 by WesolyKubeczek on Friday March 31, 2023 @06:18PM (#35394463)
This has a drawback that when reading the original documentation, not only do you have to mentally translate the code examples into your target language, but also translate the identifiers too.

And "C names are usually very cryptic" is plain false, unless you talk about APIs coming from the ages and compilers where all identifiers had to be 8 characters or fewer in length.