• shalafi@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 days ago

      The opening lines were prophetic:

      "… When it gets down to it–we’re talking trade balances here–once we’ve brain-drained all our technology into other countries, once things have evened out, they’re making cars in Bolivia and microwaves in Tadzhikistan and selling them here–once our edge in natural resources has been made irrelevant by giant Hong Kong ships and dirigibles that can ship North Dakota all the way to New Zealand for a nickel–once the Invisible Hand has taken all those historical inequities and smeared them out into a broad global layer of what a Pakistani bricklayer would consider to be prosperity–y’know what? There’s only four things we do better than anyone else:

      • music
      • movies
      • microcode (software)
      • high-speed pizza delivery
  • steventhedev@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    4 days ago

    this doesn’t hold a candle to APL:

    sudoku←{⎕io←0Whitney/Last
        p←{(↑⍵)∘{(⍺∨.=⍵)/⍳n×n}¨,⍵},(n*÷2){⍵,⍺⊥⌊⍵÷⍺}¨⍳n n←⍴⍵
        m←{(⊂⍵)⌈(⊂⍺=⍳⍴⍵)×(1+⍳n)~⍵[⍺⊃p]}
        (⍴⍵)∘⍴¨⊃{⊃,/⍺ m¨⍵}/{(⍸⍵=0),⊂⊂⍵},⍵
    }
    
    • Billegh@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      4 days ago

      The difference is that the above Sumerian could be dealt with using find and replace in a dire situation, while APL is a write-only language.

      • stingpie@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        4 days ago

        I dunno, there’s probably less than ten people who can actually speak Sumerian, and there’s at least a dozen people who can read APL.

  • GroundedGator@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    6 days ago

    I interviewed someone once who had sublime set up to use emojis in place of keywords. The only one that made me actually chuckle more than groan was using the 💩 emoji for catch.

    • 0x0
      link
      fedilink
      arrow-up
      1
      ·
      6 days ago

      Bob Howard from the Laundry will be with you shortly.

  • fool
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    6 days ago

    Feeling mischievous?

    Python 3.12.6.
    >>> 𒁎=3
    >>> 𒁎**𒁎
    27
    
    #include <iostream>
    
    int main() {
      int 𒇤 = 2;
      std::cout << (𒇤 + 𒇤) << std::endl;
      return 0;
    }
    
    $ ./a.out
    4
    
    touch 𒇤.java
    nvim 𒇤.java
    
    public class 𒇤 {
     public static void main(String[] args) {
        System.out.println("LMAO");
      }
    }
    
  • pelya@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    6 days ago

    One big problem is font size. Smaller features of many scripts like CJK are barely visible, and this example shows the same problem.