5 ms·
> Would it care about devs using multiple languages, switching back and forth, or people coming to C++ from other languages though? I'm not sure where we'd dra
by klyrs 4y ago
> Would it care about devs using multiple languages, switching back and forth, or people coming to C++ from other languages though?
I'm not sure where we'd draw the line, and "nobody can reuse a reserved word that any other language uses unless they're conceptually identical" seems completely misguided. If you're using multiple langues and switching back and forth, it's your responsibility to know those languages. I use 5 languages frequently, "switching" at least several times per day. I'm a grayhair, so maybe I'm taking my experience for granted, but this seems like an unreasonable burden to put on language designers.
- jraph 4y ago> and "nobody can reuse a reserved word that any other language uses unless they're conceptually identical" seems completely misguided I agree with this, and this would be far away from what I stated (that the "collision" is unfortunate). > If you're using multiple langues and switching back and forth, it's your responsibility to know those languages Absolutely, but we are human beings, we make mistakes, confusions are source of mistakes. This is perhaps unavoidable, and maybe using "is" what the best decision despite this, but still unfortunate. Maybe Python created this confusion in the first place, if Delphi had "is", with a meaning close to the C++ one.