Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variable Names
#14
At one time Lua supported Unicode characters into identifiers, especially vowels with accents like it's common in Italian and Spanish. Also "c" with cedilla which is used in many Turkish words and other languages. But eventually that support had to be removed because it was causing a lot of trouble. Not necessarily because people used the interpreter on computers only capable of running WindowsXP or even older. In many cases there was C/C++ code to maintain and that required fighting with "locale" setting, which was usually set to English. That sucked for many people whose first language isn't English, which forced them to use their preferred language only in comments and which also forced them to use text editors that supported Unicode.

Julia is truly a modern programming language but one has to remain in that camp entirely. For example, using VSCode/VSCodium to compose programs for it. Many symbols used in Julia were actually demanded by mathematicians and scientists and people like that; they would have refused to use a programming language that didn't otherwise, no matter eg. how many places and how fast it could compute the circle-number. QB64PE and Lua rather recall the past. Python might be somewhere in between. It might not support Unicode in identifiers because many programmers are lazy, they just want the code to work and their great nightmare is hours of debugging.

I could reveal my experience with a music-creation application that I had used a lot 10 years ago but sadly, cannot use it any longer because it "loves" WindowsXP. Actually there's an "alpha" release of it now but the developers changed a lot of stuff, and have to use it on clunky Windows10 and therefore I'm not comfortable with it anymore. This application developed a problem showing the open-file requester because of an Unicode problem. It took about three years and three minor releases of the program for the developers to get to the bottom of it. This problem was a hinderance to work flow in that application. The head developer's favorite language is Spanish (maybe one of the dialects from Spain) which might have had something to do with it, as he had to deal with the C/C++ "locale" set to English as was necessary because the developers were stuck using Microsoft Visual Studio.
Reply


Messages In This Thread
Variable Names - by Dimster - 11-19-2023, 06:18 PM
RE: Variable Names - by RhoSigma - 11-19-2023, 06:46 PM
RE: Variable Names - by CharlieJV - 11-19-2023, 07:46 PM
RE: Variable Names - by James D Jarvis - 11-19-2023, 07:52 PM
RE: Variable Names - by Haggarman - 11-19-2023, 07:58 PM
RE: Variable Names - by SMcNeill - 11-19-2023, 08:12 PM
RE: Variable Names - by bplus - 11-19-2023, 08:23 PM
RE: Variable Names - by mnrvovrfc - 11-19-2023, 09:01 PM
RE: Variable Names - by Jack - 11-19-2023, 10:43 PM
RE: Variable Names - by DSMan195276 - 11-19-2023, 11:01 PM
RE: Variable Names - by Dimster - 11-20-2023, 01:46 PM
RE: Variable Names - by mnrvovrfc - 11-22-2023, 01:46 AM
RE: Variable Names - by Jack - 11-22-2023, 10:17 AM
RE: Variable Names - by mnrvovrfc - 11-22-2023, 09:47 PM



Users browsing this thread: 4 Guest(s)