Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
ಚಿರಾಗ್ 🌹✊🏾Ⓥ🌱🇵🇸 (he/him)
@chiraag@mastodon.online  ·  activity timestamp last month

Random thought: Are there any localized programming languages? For example, in Haskell, we have the Bool datatype with the constructors True and False. Could we have a mapping from some underlying representation of that to automatically derive the Bool datatype with constructors ನಿಜ and ಸುಳ್ಳು in Kannada (ಕನ್ನಡ)? Or Verdad and Falso in Español? Etc etc etc...

  • Copy link
  • Flag this post
  • Block
bkim
@bkim@mastodon.social replied  ·  activity timestamp last month
@chiraag yes, Excel!

@gretchenmcc has written an essay that stuck with me for a long while that we don't write "Javascript", we write "english Javascript". We definitely need more exploration on making localizable programming languages

https://www.wired.com/story/coding-is-for-everyoneas-long-as-you-speak-english/

  • Copy link
  • Flag this comment
  • Block
Curtis Carter
@codingcoyote@floss.social replied  ·  activity timestamp last month
@bkim @chiraag @gretchenmcc Keywords recognized by compilers should have locale specific equivalents and IDE's should support displaying them in a local language.

I'd even argue for a feature that allows giving #i18n style translation support for function names

  • Copy link
  • Flag this comment
  • Block
ಚಿರಾಗ್ 🌹✊🏾Ⓥ🌱🇵🇸 (he/him)
@chiraag@mastodon.online replied  ·  activity timestamp last month

Interestingly enough, Haskell may be flexible enough to implement this in the sense that we already have Core as the underlying language. All that would be needed is a mapping from those parsed tokens back to the same underlying representation of True and False.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.1 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login