In many programming languages, phrases are shortened to reduce the time taken to write programs. “var” instead of “variable”, “int” instead of integer, etc. This makes writing code much faster, but what if this was applied to the whole of the English language?

If programmers were to have the power to change how words are spelt and pronounced, what would change? Is every word shortened to three or four letters? Would leet speak become dominant? How practical would it be, how much more productive would the (English speaking) population be?

As for other languages, I’m not sure how well it would work. A majority of programming languages are based on English, and many other languages have restrictions that make it more difficult to change the spellings like this (e.g. gendered words, alphabet-less character sets). English, on the other hand, is infamous for having more exceptions than there are rules.

  • _deleted_@aussie.zone
    link
    fedilink
    arrow-up
    1
    ·
    9 hours ago

    Why don’t you come to Australia, but when you do, go to the bottlo and get a slab to bring to the barbie where we’ll have snags with dead horse.

    Many languages already have shortened or abbreviated words; but their use isn’t always practical and doesn’t always lend clarity to meaning.

    • farmgineer@nord.pub
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 hours ago

      Is that an arvo-only activity, or is anytime OK?

      Arvo is the one that took me the longest to figure out when first hearing it.

  • schnurrito@discuss.tchncs.de
    link
    fedilink
    arrow-up
    38
    ·
    1 day ago

    There already are plenty of conlangs (constructed languages). The main thing that differentiates them from natural languages is the fact that their grammar generally doesn’t have any exceptions (irregular verbs or nouns). It would be possible to create such a language based on the grammar and vocabulary of English.

    The only conlang I’m proficient in is Esperanto, which definitely works very well for practical communication. One cool feature about Esperanto is the system of prefixes and suffixes that acts as a vocabulary shortcut, for example the word for “cold” is just “un-warm” (varma / malvarma), or the word for “school” is just “learning-place” (lerni / lernejo). The language you’re imagining would likely also consist of words like “unwarm” and “learnery”.

    Meanwhile I don’t think the length of (root) words needs to be especially short. Studies have found that all languages transmit information at approximately the same rate, which is why Spanish with its relatively long words seems to be spoken so fast. Human brain capacity is a limiting factor for things like that.

    • Yaky@slrpnk.net
      link
      fedilink
      arrow-up
      2
      ·
      11 hours ago

      Toki Pona specifically makes me think of overly verbose programming languages. With limited ~120 word vocabulary, describing things can be lengthy. Orange pet cat would be something like “good animal of house and of red yellow”.

    • Godort@lemmy.ca
      link
      fedilink
      arrow-up
      7
      ·
      1 day ago

      Studies have found that all languages transmit information at approximately the same rate

      Is this only true in speech? Japanese as an example is much more dense in text than English and can convey more information in fewer written characters.

      But, those characters take longer to write and often have multisyllabic pronunciation, so speech would be unaffected.

      • schnurrito@discuss.tchncs.de
        link
        fedilink
        arrow-up
        6
        ·
        1 day ago

        Yes, of course I’m talking about spoken language. Of course if English were written in kanji we would need fewer characters to express the same information, but it wouldn’t change the spoken language at all.

        (I remember learning the following graphical user interface design rule: switch your application to Spanish or Portuguese to check whether UI messages still fit in the boxes you’ve put them in. Spanish and Portuguese are the common languages that need the most characters per unit of information.)

  • farmgineer@nord.pub
    link
    fedilink
    English
    arrow-up
    3
    ·
    15 hours ago

    words are spelt

    Words are not fish! /s

    Spellings can help people understand a word they don’t know in some cases. This is especially true for Latin and Greek words in the language.

    and pronounced

    OK, whose pronunciation will it be? India probably turns out the most programmers who speak English these days, so enjoy your new spellings and entire new sounds and distinctions that don’t exist in your variety of English if it’s not that one already

    Efficiency is also not always the goal, nor should it be. I also know a lot of software engineers whose ideas I wouldn’t trust running my kitchen let alone my language. You would, as other posters point out, probably be interested in conlangs.

  • loppy@fedia.io
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    21 hours ago

    In many programming languages, phrases are shortened to reduce the time taken to write programs.

    I really do not think this is why; the amount of time saved is miniscule, especially with autocomplete. It’s so that more can fit on the screen at one time so you can better comprehend chunks/lines of code. There is also probably a historical aspect where the size of code on disk (or paper!) used to matter more.

  • RegularJoe@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 day ago

    #include <grammar>

    using namespace std;

    int main() {

    int programmer;

    if (programmer > -1) { cout << "Programmers be owning your language. "; }

    cout << “Plonk! Fnord!”;

    return 0; }

  • SkyNTP@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    22 hours ago

    Nothing is stopping programmers from inventing and using new words. Getting people to use those words is another matter. You are hand waving the ability for programmers to dictate to non-programmers how language is used, but I think that hand waving also hand waves the idea of language to begin with. So I don’t think any answer you get will be meaningful.

  • Kühlschrank@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    You should read the New Yorker article “Utopian for Beginners” by Joshua Foer. Really interesting with a dark twist.