Why have UTF8 support if you won't write your code in the Sumerian clay tablet alphabet of Ancient Mesopotamia?

124 points · 23 comments · view on lemmy.world

23 Comments

Hack3900@lemy.lol · 14 pts · 1y (2 replies)

Is this Godot?

qaz@lemmy.world · 5 pts · 1y (1 reply)

Yes

Hack3900@lemy.lol · 3 pts · 1y

Thank you :)

sylver_dragon@lemmy.world · 10 pts · 1y (2 replies)

Someone is trying to re-create the virus from Snow Crash

shalafi@lemmy.world · 3 pts · 1y

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
white_nrdy@programming.dev · 1 pts · 1y

Snow Crash was my exact first thought

zqwzzle@lemmy.ca · 7 pts · 1y

Thanks, I hate it.

kshade@lemmy.world · 6 pts · 1y

Haskell will probably come with some of these predefined, what with ∀ already being an alias for "forall" and so on.

GroundedGator@lemmy.world · 5 pts · 1y

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.

xmunk@sh.itjust.works · 5 pts · 1y

You need to use a language with powerful macros (like LISP) so you can avoid English entirely.

fibojoly@sh.itjust.works · 4 pts · 1y

This is glorious. I so need to try something silly like that at work...

AVincentInSpace@pawb.social · 3 pts · 1y (1 reply)

what language is that

it looks like an unholy fusion of Python and Rust

qaz@lemmy.world · 2 pts · 1y

GDScript

A_Union_of_Kobolds@lemmy.world · 3 pts · 1y (1 reply)

I think that's how you summon actual demons

I know one extremely burnt out dude who would absolutely try it

0x0@programming.dev · 1 pts · 1y

Bob Howard from the Laundry will be with you shortly.

pelya@lemmy.world · 2 pts · 1y

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

fool@programming.dev · 2 pts · 1y

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");
  }
}
xlash123@sh.itjust.works · 2 pts · 1y

Which one of you is gonna trying translating this?

steventhedev@lemmy.world · 2 pts · 1y (2 replies)

this doesn't hold a candle to APL:

sudoku←{⎕io←0       ⍝ Whitney/Last
    p←{(↑⍵)∘{(⍺∨.=⍵)/⍳n×n}¨,⍵},(n*÷2){⍵,⍺⊥⌊⍵÷⍺}¨⍳n n←⍴⍵
    m←{(⊂⍵)⌈(⊂⍺=⍳⍴⍵)×(1+⍳n)~⍵[⍺⊃p]}
    (⍴⍵)∘⍴¨⊃{⊃,/⍺ m¨⍵}/{(⍸⍵=0),⊂⊂⍵},⍵
}
bhamlin@lemmy.world · 3 pts · 1y (1 reply)

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 · 2 pts · 1y

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.

ZILtoid1991@lemmy.world · 1 pts · 1y
> keywords still written in English
bruh.wav
FreshLight@sh.itjust.works · 1 pts · 1y

Okok.. Does this make sense? And if so, how long did it take you to write this?