94
Anon is a linguist (lemmy.world)
all 15 comments
sorted by: hot top controversial new old
[-] lauha@lemmy.world 2 points 33 minutes ago

I would imagine the class would be aDog and when you instantiate it the variable would be theDog.

[-] alias_qr_rainmaker@lemmy.world 1 points 30 minutes ago

"the dog" maps to dog, the = maps to "is now", and Dog() maps to "a dog", and (name="Dog name") maps to "with name dog name"

So no, you're wrong, lmao

I've already written the transpiler

[-] einlander@lemmy.world 2 points 10 minutes ago

And that brings us back to BASIC.

[-] iAmTheTot@sh.itjust.works 5 points 2 hours ago
[-] alias_qr_rainmaker@lemmy.world 1 points 2 hours ago

meh, close enough

[-] renzhexiangjiao@piefed.blahaj.zone 17 points 3 hours ago

to me method names are imperatives, like when we order the dog to walk.

dog.walk() = "Dog, walk!"

[-] EldenLord@lemmy.world 1 points 1 hour ago

That Pepe is cursed

[-] rtxn@lemmy.world 8 points 4 hours ago

[lady for lady in ladies if lady.is_single] just doesn't have the same bop.

[-] alias_qr_rainmaker@lemmy.world 7 points 4 hours ago

list comprehensions aren't changed much. but a statement like dog = Dog(name="fido") is transpiled to the dog is now a Dog with name 'fido'

the language uses backticks for strings. it handles nested stringly nicely because of it

[-] Feyd@programming.dev 5 points 4 hours ago
[-] alias_qr_rainmaker@lemmy.world -3 points 3 hours ago* (last edited 1 hour ago)

perl is garbage and larry wall is barely fluent in english. that man does NOT know how to name things.

EDIT: i kid i kid, he definitely speaks english

[-] bus_factor@lemmy.world 3 points 2 hours ago

With the Lingua::Perligata module you can write your perl in Latin instead. My coworker says it's more readable that way if you know Latin.

[-] alias_qr_rainmaker@lemmy.world -1 points 2 hours ago

not gonna work, i took two years of german in HS and one year of spanish in college.

this post was submitted on 13 Dec 2025
94 points (97.0% liked)

Greentext

7453 readers
951 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 2 years ago
MODERATORS