this post was submitted on 13 Dec 2025
260 points (95.5% liked)

Greentext

7465 readers
1238 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
 
top 50 comments
sorted by: hot top controversial new old
[–] TheTiltster@feddit.org 5 points 10 hours ago

Writes "I have a PhD in linguistics. I am literally a cunning linguist, and literally all of you are fucking stupid [...]."

Also writes "fuckoing".

LOL

[–] ZILtoid1991@lemmy.world 1 points 9 hours ago

Anon reinventing "human language programming".

[–] Jankatarch@lemmy.world 4 points 14 hours ago* (last edited 14 hours ago) (1 children)

It is kinda funny we spent all these centuries turning english into a less-debatable notation called "math" to write algorithms in, only to then reverse that and get stuff like vibe-coding

[–] alias_qr_rainmaker@lemmy.world 1 points 14 hours ago

vibe coded algorithms probably won't be the way your boss wants them coded but they still work. and i don't code for a living so i'm just like

[–] Tetragrade@leminal.space 9 points 19 hours ago* (last edited 19 hours ago)

Javascript users be like.

try {
    mysteryBox?.open?.();
}
catch() {
    console.error("fuck")
}

Rust users be like.

let discord_kitten = femboys
    .iter()
    .map(|b| Bottom { thigh_highs: true, ..*b })
    .filter(|b| b.girth<5.0)
    .reduce(|top,b| top %= b);

C# users be like.

// from the Unity turoial IDK what this does
RegistrationHandler.SingletonInjectionHandler.InjectSingleton<IInjectedSingleton>(new InjectedSingleton(RegistrationHandler.SingletonInjectionHandler.SingletonType.Player));
[–] FinjaminPoach@lemmy.world 2 points 14 hours ago

Actually this is why I find python so hard. Might need to refer to his teachings

[–] jaykrown@lemmy.world 4 points 1 day ago

Why are you using Python instead of Rust.

[–] fibojoly@sh.itjust.works 38 points 1 day ago* (last edited 1 day ago) (3 children)

It's not theDog.walks(), it's 狗.走()

Conjugate this you anglocentrist fuck!

[–] farting_gorilla@lemmy.world 5 points 20 hours ago

狗。走。了()

There you go, you canine-centric bastard

[–] Camille_Jamal@sh.itjust.works 1 points 21 hours ago

HAHAHAHA

I love how evil this is

Don't speak any chinese languages (or is that japanese?) but I do know that most words don't have a direct translation to english

HAHAHAHHAHAHAHAHAAAAAAAA I'M STEALING THAT IDEA!

I'm forced to learn french because I'm in canada, so if I get corrected I can chuck a phrase of similar meaning with no direct translation

God I love doing stuff like this

[–] alias_qr_rainmaker@lemmy.world 4 points 1 day ago (1 children)

does chinese code take up less space? wait how many bytes does it take to encode a chinese character? is it just UTF-8 or is it something else

[–] fibojoly@sh.itjust.works 3 points 1 day ago* (last edited 14 hours ago)

UTF-16 is fine for the vast majority of Chinese characters. It has been standard since 2008 for C++ (at least for code that wants to be running on windows; Microsoft moved everything to w_string back then).
C# uses UTF-16 natively for strings.
Dunno about other languages

[–] BleakBluets@lemmy.world 36 points 1 day ago* (last edited 1 day ago) (2 children)
Buffalo_buffalo::buffaloBuffalo.buffalo(Buffalo.buffalo);

p.s. I'm on mobile and this is a shitpost. I did not put a lot of thought into this code. Feel free to suggest a more accurate representation.

buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalobuffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalobuffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo buffalo

that's ruby

[–] Bosht@lemmy.world 6 points 1 day ago

NoIDontThinkIWill.gif

[–] renzhexiangjiao@piefed.blahaj.zone 55 points 2 days ago (10 children)

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

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

[–] Camille_Jamal@sh.itjust.works 3 points 21 hours ago (1 children)

I don't python, but I know there's tons of ()

why is there so much () and other empty brackets?

[–] yetAnotherUser@discuss.tchncs.de 8 points 21 hours ago* (last edited 19 hours ago)

It's calling a function without a parameter.

You know how in math you had something like:

f(x) = x²

Not all functions need parameters though. The function:

f(x) = 2

does not even use the provided x! So just leave it out:

f() = 2

Similarly, you could give a function two parameters:

f(x, y) = x + y

Programmers use functions to primarily organize their code. Otherwise it would get very unreadable very quickly. Those function are usually a bit more complicated than a single line, though.

dog.walk() would call the walk() function of "dog". Some valid code could be:

dog.walk()
wait(10)
dog.stop()

This code would make the dog walk for 10 seconds assuming every function used is actually defined somewhere.

load more comments (9 replies)
[–] rtxn@lemmy.world 23 points 2 days ago (2 children)

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

[–] lemmyman@lemmy.world 5 points 1 day ago* (last edited 1 day ago) (2 children)

Can I just say that as someone who only codes tangentially to my work, code and documentation that uses the same word 2 or 3 times in an expression, when they mean different things, is such an immense pet peeve of mine when learning something new.

I'm already struggling with everything else about it, and now I have to parse out which lady is which and what the hell each one is supposed to be

object Object(object = object);

Statements dreamed up by the utterly deranged.

[–] fushuan@lemmy.blahaj.zone 1 points 8 hours ago

All the lady in there are the same lady, it's being used for different things as the other comment answered you but it's the same box of information, if you will.

[–] rtxn@lemmy.world 5 points 1 day ago* (last edited 1 day ago) (1 children)

That's just Python's generator syntax. Not all that difficult to parse once you get a feel for it. Plus syntax highlighting helps.

(OUTPUT_EXPRESSION for ITEM in INPUT_ITERABLE if CONDITION)
[–] ryannathans@aussie.zone 4 points 1 day ago

it's list comprehension syntax, not generator syntax

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

[–] iAmTheTot@sh.itjust.works 18 points 2 days ago (2 children)
load more comments (2 replies)
[–] m0darn@lemmy.ca 8 points 1 day ago (1 children)

I feel like I'm walking into a trap here but:

This pedant is using an adjective as an adverb.

(...)you don't conjugate your verbs right.

[–] alias_qr_rainmaker@lemmy.world -2 points 1 day ago (3 children)

right is informal american english for "correctly". i don't give a shit about prescriptive rules of grammar, they're all bullshit. every last rule was created by some holier-than-thou pedant. i'm only interested in descriptive rules, i.e. grice's maxims (the thing that finally made me understand how to get over my autism)

[–] m0darn@lemmy.ca 1 points 15 hours ago

Honestly I agree, I only pointed it out because of the irony of a pedant insisting others ought to use words according to their formal definitions while misusing formal English.

~~"Right" is a bad word to end a sentence with~~

"Right" is a bad word with which to end a sentence because it can be mis-parsed as as an invitation to agreement.

[–] Camille_Jamal@sh.itjust.works 2 points 21 hours ago

(the thing that finally made me understand how to get over my autism)

What do you mean get over your autism? You're still autistic, you may have gained social skills or something similar, but you're still autistic.

also idgaf how incorrect my grammar and spellings are as long as it's readable

also I use tone indicators kinda like HTML tags because I find they help me more that way, so they might help someone else more that way.

I do not care if you use formal, informal, american, canadian, australian, british, or a different english than any of those, as long as what you're saying is comprehensible

[–] deadbeef79000@lemmy.nz 4 points 1 day ago (1 children)

grice’s maxims

https://www.usingenglish.com/articles/grices-conversational-maxims.html for those, like me, who did not know what Grice's Maxims are. It's a short read.

believe it or not i can't remember how it all works even though i was completely obsessed with it in college. i knew how much it could benefit me if i started applying the maxims to every single thing i heard and said, which i did.

[–] lauha@lemmy.world 10 points 2 days ago (2 children)

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

[–] green_copper@kbin.earth 1 points 1 day ago

theDog sounds more like a reference to a singleton than one of many instances. I think thisDog fits better.

load more comments (1 replies)
[–] Feyd@programming.dev 10 points 2 days ago (3 children)
load more comments (3 replies)
[–] einlander@lemmy.world 4 points 1 day ago

And that brings us back to BASIC.

[–] DickFiasco@sh.itjust.works 2 points 1 day ago

Cunning linguist, he he. I wonder if they're friends with Colonel Angus.

[–] EldenLord@lemmy.world 3 points 2 days ago (1 children)
[–] Camille_Jamal@sh.itjust.works 1 points 21 hours ago

I forgot about it for a few minutes when going through comments.

I just fucking EXPLODED when I saw it again lmao

load more comments
view more: next ›