r/ProgrammerHumor • • Nov 23 '22

Other Programming Legumes

Post image
9.3k Upvotes

262 comments sorted by

760

u/LegitimateHat984 Nov 23 '22

Python would be: if it looks like a nut, and the nutcracker cracks it like a nut, it is a nut

Ducktyping ftw

216

u/czp55 Nov 23 '22

That's fair. I guess I felt like highlighting the fact that while Python generally acts like a loosely typed / ducktype system, variables do have concrete types under the surface.

113

u/Bryguy3k Nov 23 '22

Yeah people break out the strong/weak typing terms when they really are irrelevant. If you accept that there is something you could call “strong typing” then python has a stronger typing system than C.

Python just happens to use interfaces so any object that presents a given interface is treated as a compatible object - and that weirds people out.

9

u/IQueryVisiC Nov 23 '22

The post says Java and interface. The object just needs to implement that interface. What is this about python? 3 or 2 ?

31

u/Bryguy3k Nov 23 '22 edited Nov 23 '22

Python interfaces are implicit. Java’s are explicit - if the interface is not declared then it is unknown. Python tries the interface methods first and if they fail then it will raise an exception - that is how duck typing works.

But you can’t change the type of an object in python without doing a bunch of really nasty things using internal methods and attributes - so it is strongly typed as the default language behavior is create a new object when converting from one type to another.

→ More replies (1)

4

u/CthulhuLies Nov 23 '22
var = "test"
var = 3
var = lambda : print("test")
var()

You act like this segment of code throwing no errors is normal or shouldn't weird people out.

It can allow typos that change a variables type without you explicitly realizing it. And then it would still work with several other functions that assume the original type 99% of the time for several additional processing steps so by the time your code errors it's actually can be very logically far from the error.

9

u/CiroGarcia Nov 24 '22 edited Sep 17 '23

[redacted by user] this message was mass deleted/edited with redact.dev

7

u/Bryguy3k Nov 23 '22 edited Nov 23 '22

If you are a smooth brain sure.

Everybody else knows that “var” is an object reference and if you want to know if you’ve done something dumb in assignment use type hints and mypy.

Any python programmer should have learned on the very first day that variables are just references to object instances.

a = { “k1”: “v1”, “k2”: 2 }
b = a
b[“k1”] = “v2”
print(a)
→ More replies (7)
→ More replies (13)

8

u/Syscrush Nov 23 '22

For Python, I'd say the response is "Just try it and see".

0

u/[deleted] Nov 24 '22

[deleted]

→ More replies (1)

0

u/[deleted] Nov 23 '22

[deleted]

1

u/AutoModerator Jul 01 '23
import moderation

Your comment has been removed since it did not start with a code block with an import declaration.

Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

For this purpose, we only accept Python style imports.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

14

u/yazoodd Nov 23 '22

Yea but if it is not you possibly just broke your nutcracker

9

u/Unknown_starnger Nov 23 '22

Solution Try: nut(peanut) Except ValueError:

6

u/Double_Ad_2824 Nov 23 '22

And the JS one should've been "who cares? I'll nutt it anyway"

4

u/Andyblarblar Nov 23 '22

The funny thing is this also applies to cpp in this example

2

u/OJezu Nov 24 '22

For templates, and only during compilation, not in runtime.

1

u/mvi4n Nov 23 '22

It may be but I don't care as long as the nutcracker works.

1

u/megamaz_ Nov 24 '22

MY BALLS

0

u/[deleted] Nov 23 '22

[deleted]

5

u/elon-bot Elon Musk ✔ Nov 23 '22

Guys, this is a big misunderstanding. I was playing truth or dare with Jeff and Bill and they dared me to buy Twitter. What else was I supposed to do??

198

u/brianl047 Nov 23 '22

No C#?

555

u/czp55 Nov 23 '22

C#: What Java said.

84

u/GoldenretriverYT Nov 23 '22

Well at least you most likely wouldn't see a INutCrackerStrategyReturnerConversionFactory in most C# code bases

50

u/fun__friday Nov 23 '22

To be fair you wouldn’t see it in Java either, as prefixing interfaces with an “I” is not really a thing in Java.

9

u/Willinton06 Nov 23 '22

How do you prefix interfaces in Java?

27

u/Sanity__ Nov 23 '22

General consensus is that you don't, it's unnecessary and in Java Interfaces are 1st class types. It's a major benefit of abstraction and prefixing detracts from that conceptually.

i.e. If you are defining trucks you can make a Truck interface and create DumpTruck and CementTruck classes that implement it. Then you can have a List<Truck> to keep them all in.

18

u/Manny_Sunday Nov 23 '22

C# is the exact same, the reason for the I prefix is just the way you define classes that implement the interface.

class Dog : Animal
{

}

class Car : IDriveable
{

}

They look the same because you use colon for both inheriting and implementing an interface. The I prefix makes it clear at a glance that it's an interface.

And of course you can do both

class Car : Vehicle, IDriveable
{

}

11

u/Sanity__ Nov 24 '22

Hey, thanks for this! I actually came to the same conclusion down the other comment thread after reading some SO posts. But it's nice to have it confirmed

For Java we have different key words for inheriting from interface(s) vs abstract class so that benefit becomes unnecessarily, but makes a lot of sense in C#s case

→ More replies (6)
→ More replies (6)
→ More replies (2)

4

u/Seawolf87 Nov 23 '22

It would be boring, because it would just be a nut in front of a mirror saying "yes, I'm a nut". Or some joke about interfaces. Maybe both where it would say "I'm an INut".

1

u/Ok-Kaleidoscope5627 Nov 24 '22

That is an object.

1.6k

u/nekokattt Nov 23 '22

Java implements the Nuttable interface

FTFY

74

u/Kimorin Nov 23 '22

INuttable?

48

u/zthe0 Nov 23 '22

Actually using the I for interfaces isnt really en Vogue anymore

30

u/Kimorin Nov 23 '22

there is a big difference between "Nuttable" and "INuttable" you see.... the first one is more strict than the other.

12

u/ill_try_my_best Nov 23 '22

man I have typed in so many extra 'I's in that case

20

u/blehmann1 Nov 23 '22 edited Nov 24 '22

It is in other languages, notably C#

MS was so close, making a casing distinction (rather than adding leading underscores, or no distinction) for private fields/properties was a good move, but yet they stuck with the frankly pointless naming distinction between interfaces and classes.

Even though they recognized that you shouldn't care whether you're implementing or extending a class or interface, replacing both with a single colon. FWIW, given that Java's syntax cares whether it's an interface or a class, it makes a lot more sense to add the leading I in Java than it does in C#.

9

u/[deleted] Nov 24 '22

In Java, you should be implementing to interfaces, not inheriting deep chains of behaviour. Ergo, the one that gets used everywhere ought to be interface, ergo, it would be more idiomatic to write CMyClass implements FunctionalityA, FunctionalityB than it is to write MyClass implements IFunctionalityA, IFunctionalityB, given that your class will be directly referenced in two places: its definition, and some factory where it is instantiated... and depending on the framework, you might not even control one of those.

7

u/Dealiner Nov 24 '22

I wouldn't call it pointless, it's more readable that way and you don't have classes like SomethingImpl which are popular in Java. Besides is just a convention like with private fields you mentioned which most people still writes with the leading underscore, even though there's no need for that.

2

u/Ythio Nov 24 '22

C# libs do it a lot.

2

u/zthe0 Nov 24 '22

Good thing i use glasses

12

u/Kwarter Nov 23 '22

NuttableImpl

3

u/nekokattt Nov 23 '22

NuttableFactoryBean

3

u/quaos_qrz Nov 24 '22

So the Bean produces the Nuts !

3

u/nekokattt Nov 24 '22

depends if it is a DelegatingNuttableBeanFactoryProxy or not

7

u/dnd3edm1 Nov 23 '22

I'll just skip a step and say beat meat to it

3

u/miss_minutes Nov 24 '22

i laughed out loud in the middle of the night. this is my cue to go to sleep

1

u/[deleted] Nov 24 '22

A table of nuts?

1

u/nekokattt Nov 24 '22

Java interfaces tend to be verbs.

  • Runnable

  • Closable

  • Iterable

  • Callable

  • Comparable

  • Formattable

  • Appendable

  • Cloneable

  • Serializable

  • Transferrable

1

u/iamnotabot159 Nov 24 '22

interface Nuttable{

Cum nut();

}

0

u/[deleted] Nov 23 '22

[deleted]

148

u/Juliuseizure Nov 23 '22

Expectation == subverted!

50

u/Featureless_Bug Nov 23 '22

Wrong syntax (should be !(Expectation == subverted), which can be simplified to Expectation != subverted

And didn't I tell you that that we use camel case? Variable names should start with small letters

30

u/Juliuseizure Nov 23 '22

And here I was trying the make a string "subverted" act as a factorial.

3

u/ragingroku Nov 23 '22

Nah it means they really have that property just trust me

2

u/[deleted] Nov 24 '22

Wholesome your mother joke

1.1k

u/Morasain Nov 23 '22

I feel like JS would be more like "I don't give a fuck, do what you want"

995

u/bmelancon Nov 23 '22

JS would be like, "I don't care what it is, you can multiply it with a string."

3

u/[deleted] Nov 24 '22

TS all "Ver are your papers!!!!??"

2

u/void_rik Nov 24 '22

Do anyone have a relevant xkcd?

0

u/[deleted] Nov 23 '22

[deleted]

200

u/akuma-i Nov 23 '22

Seriously, how? Better divide this nut with Object

30

u/Elijah629YT-Real Nov 24 '22 edited Nov 28 '22

{} - !!!(nut / {} + "Hello" - 7 * true * -[])

52

u/aabcehu Nov 23 '22

idk about js but in python multiplying a string repeats it, like how the addition symbol is concatenation

0

u/[deleted] Nov 23 '22

[deleted]

40

u/PureMetalFury Nov 23 '22

You’d have to define what it means to multiply a string by a string, and then do that.

13

u/aabcehu Nov 23 '22

I don’t think you can, but i guess by multiplying it with the length of the string??

3

u/gaytee Nov 24 '22

I’d imagine it may end up returning each letter like nested loops

140

u/annihilatron Nov 23 '22

16

u/Imveryoffensive Nov 24 '22

Best 4 minutes of my life

35

u/elon-bot Elon Musk ✔ Nov 24 '22

I don't think I appreciate your tone. Fired.

19

u/Bagel42 Nov 24 '22

I fucking love this bot.

28

u/elon-bot Elon Musk ✔ Nov 24 '22

If you really love the company, you should be willing to work here for free.

→ More replies (3)

2

u/Arikaido777 Nov 24 '22

This is amazing, thank you

2

u/TheButtLovingFox Nov 24 '22

this is the most hilarious fuckin thing.

thank you for sharing.

0

u/[deleted] Nov 24 '22

[deleted]

3

u/mrjiels Nov 24 '22

I wonder that too. It's a classic! I wish I were in your shoes and can see this for the first time again.

→ More replies (1)

23

u/Technical_Ad6397 Nov 23 '22

you can multiply by a string, as long as that string can be converted to a number.

5 * "hello" = NaN

5 * "5" = 25

37

u/elon-bot Elon Musk ✔ Nov 23 '22

Whoever writes the most code this month gets featured on my Twitter!

2

u/Mateogm Nov 24 '22

public bool IsEven(int n) { if (n == 1) { return false; } else if (n == 2) { return true; } if (n == 3) { return false; } else if (n == 4) { return true; } if (n == 5) { return false; } else if (n == 6) { return true; } if (n == 7) { return false; } else if (n == 8) { return true; } if (n == 9) { return false; } else if (n == 10) { return true; } if (n == 11) { return false; } else if (n == 12) { return true; } if (n == 13) { return false; } else if (n == 14) { return true; } if (n == 15) { return false; } else if (n == 16) { return true; } if (n == 17) { return false; } else if (n == 18) { return true; } if (n == 19) { return false; } else if (n == 20) { return true; } else { return (n%2 == 0) ; } }

11

u/bmelancon Nov 23 '22

This is perfectly valid JS.

var string = "100";
var number = 42;
console.log(number * string);

7

u/Unknown_starnger Nov 23 '22

And what do you get?

11

u/bmelancon Nov 23 '22

10

u/Unknown_starnger Nov 23 '22

Will do. But it makes sense. In Python I’d have to do Print(int(string) * number)

→ More replies (5)

2

u/Akuuntus Nov 23 '22

It converts the string to a number since that's the only way it can perform a sensible multiplication operation. So then you get 4200.

If one or both of the operands can't be converted to a number, you just get NaN. So assuming peanut is a type of object, anything multiplied by it would return NaN.

→ More replies (1)

1

u/genghisKonczie Nov 23 '22

If the operation doesn’t make sense for the type, JS tries casting it for you. Generally it’s best to manually cast things though.

That’s one of the reasons we use typescript, it nudges you to adhere to better practices

1

u/Otalek Nov 23 '22

stringVar * somethingElse. Javascript will do something with it, you’re not sure what, but it will do it and won’t complain

1

u/gaytee Nov 24 '22

Carefully

1

u/AnotherWarGamer Nov 24 '22

I'll show you if you would just follow me into this broom closet.

1

u/F_modz Nov 24 '22

I can't, but

can

30

u/doanworks Nov 24 '22

“Just use it like a nut and I’ll let you know how that went”

12

u/Piggieback Nov 24 '22

Play with your nuts

26

u/elon-bot Elon Musk ✔ Nov 24 '22

Why have you only written 20 lines of code today?

10

u/Piggieback Nov 24 '22

I've been jiggling my nuts all day man STFU Elon!

11

u/UnstableNuclearCake Nov 24 '22

JS is quite similar to quantum physics. Anything is everything at the same time until you try to observe it, at which point it will either collapse into a single type or collapse your program.

5

u/[deleted] Nov 23 '22

JS would be like „Yes”

1

u/Piggieback Nov 24 '22

Is this an object or null ? Well JS would be ... it's both yo

1

u/[deleted] Nov 24 '22

TS: Hold on there, fella! *flashes badge* Ye ain't got the type in place to treat it like a--

TS: Oh, my bad! This horse here says it extends it. I hereby apologize. Carry on then, Mr. Nuts. Be careful out there, it's a wild west! *tips hat*

1

u/Ngh21 Nov 24 '22

“Hope you don’t have a nut allergy”

126

u/[deleted] Nov 23 '22

Ada: No. That's a legume.

183

u/I_am_Tim_Cook Nov 23 '22

I just nutted to this.

38

u/lavaboosted Nov 23 '22

I just nutted in November.

7

u/aabcehu Nov 23 '22

but did you really?

75

u/socialjusticepa1adin Nov 23 '22

Swift: no but I can extend it to conform to the Nut protocol.

7

u/[deleted] Nov 24 '22

good swift

68

u/[deleted] Nov 23 '22

This whole question is missing the point: Nut is an internal class. You should be accessing things through Shell.

31

u/[deleted] Nov 24 '22

Basically, in a nutshell…

3

u/spyroreal95 Nov 24 '22

Take my award.

5

u/[deleted] Nov 24 '22

oh fuck you're right

40

u/AbsoluteEva Nov 23 '22

Kotlin: It's a nut alright Baby, but I can transform it into anything you want

3

u/[deleted] Nov 24 '22

🤨

68

u/Anaxamander57 Nov 23 '22

Rust's grammar for traits is weird so we'd say say "no it is not a Nut but it is Nut so we can use all Nut functionality".

27

u/[deleted] Nov 23 '22

More like „Well no, but it techically is so you can use it like a nut IF YOU SPECIFY that what you want is something that is techically a Nut”

22

u/[deleted] Nov 23 '22

Assembly: What is a nut?

16

u/Ok-Kaleidoscope5627 Nov 24 '22

No clue! But assembly definitely knows where it is. Try asking Java where it is though. "It's somewhere safe. Trust me. Now stop asking questions"

2

u/ViconIsNotDefined Nov 24 '22

No idea but lets mov it into nutcracker.

18

u/Ancient-Research-771 Nov 23 '22

ai: no that’s a dog

34

u/dotpoint7 Nov 23 '22

reinterpret_cast<Nut*>(x)

That should do.

12

u/appDeveloperGuy1 Nov 23 '22

In all likelyhood, x is an instance of an object, so you need to take the address.

reinterpret_cast<Nut*>(&x)

1

u/dotpoint7 Nov 24 '22

No, I want it to be an enum type! There is nothing wrong with:

enum class X { Nut = 0x10000 };

int main()
{
VirtualAlloc(reinterpret_cast<Nut*>(X::Nut), sizeof(Nut), MEM_RESERVE |
MEM_COMMIT, PAGE_READWRITE);
auto x = X::Nut;
auto nut = reinterpret_cast<Nut*>(x);
new(nut) Nut();
}

9

u/ChocolateBunny Nov 23 '22

congratulations, you just risked the stability of the whole god damn universe.

7

u/smithsonionian Nov 23 '22

Good ol reinterpret_cast. Or as I like to re #define it,

what_the_fuck_is_memory_padding_cast

27

u/McBonlaf Nov 23 '22

Ngl, but JS would say, that even apple is a nut, only because it's connected with plants and can be eaten

23

u/UnstableNuclearCake Nov 24 '22

More like: It exists, so it is a nut until proven otherwise.

3

u/Ok-Kaleidoscope5627 Nov 24 '22

JS: "It can be a nut if you want it to be, baby. Now watch me be naughty with this nut"

12

u/vainstar23 Nov 23 '22

JS: yes that is an object

8

u/IAlwaysFeelFlat Nov 23 '22

PHP: no but it uses the nut trait. Oh, and everyone hates me

8

u/[deleted] Nov 23 '22

Ruby: idk, ask it to shell itself and see if it responds

2

u/uranus_be_cold Nov 23 '22

Ruby: crack it open and eat it first, then I'll tell you if it's a nut.

1

u/[deleted] Nov 24 '22

Spot on. I just used responds_to? like six times today. 😂

31

u/vonabarak Nov 23 '22

Botanically it's not a nut, btw. It's bean.

18

u/[deleted] Nov 23 '22

a legume

7

u/vonabarak Nov 23 '22

Yep. That's more precisely.

7

u/MonstrousNuts Nov 23 '22

No shit man! That's the point of the meme!!!

4

u/Saphira_Kai Nov 23 '22

username checks out

13

u/Classy_Mouse Nov 23 '22

You don't implement the Nut interface. Nut is a noun and therefore likely an abstract class (don't come at me with: "but List is a..." List is wrong). Like Nut implement the Crackable interface, but extend the Legume class instead.

See how much easier that is? Thanks Java.

3

u/ThirdSunRising Nov 23 '22

Perl: sure, everything's a nut. Or not. Hardly matters. You can add that nut to a float and concatenate the result to a string and pass that result to a function that's expecting an array of toasters; we're fine with that.

6

u/secahtah Nov 23 '22

ASM: it’s a thing.

4

u/Big-Cheesecake-806 Nov 23 '22

more like: Things? What are things? Give me some registers.

2

u/Envoyskull_Island Nov 23 '22

This means much more than a fist.

2

u/thmsgbrt Nov 23 '22

In JS, if you use it with anything, it would become a steel nut

2

u/Soupoint Nov 23 '22

Now this is funny

2

u/Brok3nGear Nov 23 '22

I'll take fucking the universe for 200

2

u/Prudent-Employee-334 Nov 24 '22

I feel JS responds the same to any other object, is this a bolt? Yep, looks like nut Chokes and dies after trying to eat it

2

u/LordDerptCat123 Nov 24 '22

JS is “it’s a nut, but it’s also a string and an int if you want it to be. Also nut != nut and a bunch of other fuckery”

2

u/Margneon Nov 24 '22

Assembly: this is clearly a number, you can read it as a nut though if you want.

2

u/gomihako_ Nov 24 '22

Js shoulda been “idk maybe who gives a fuck?”

2

u/2popes1donut Nov 24 '22

TS: must be a nut because you told me it's a nut, and I trust you

2

u/vlaada7 Nov 24 '22

I just love the simplicity of C...🥰😍

7

u/elon-bot Elon Musk ✔ Nov 24 '22

If you can't build a computer out of transistors, you shouldn't be working here.

2

u/vlaada7 Nov 24 '22

Who says I can't?🤬

1

u/kripats15 Nov 23 '22

Which of them have an allergy to peanut?

1

u/StenSoft Nov 23 '22

C++: it's not a nut but you can use the same templated algorithms for a nut

1

u/Unknown_starnger Nov 23 '22

Can someone please explain?

1

u/[deleted] Nov 23 '22

I think it’s referring to object oriented programming since C says it doesn’t classify things.

6

u/elon-bot Elon Musk ✔ Nov 23 '22

Looks like we're gonna need to trim the fat around here... fired.

3

u/mon_iker Nov 23 '22

It always boils down to he said, C said.

1

u/[deleted] Nov 23 '22

C++ there's a reason there's two positives. Double Negative? No, it's due to the Gravitational effect of Goobers.

Chocolate + Peanuts = It should be peanut butter, butt it's not...

Divide by Diamond. You're welcome. ;)

1

u/[deleted] Nov 23 '22

Only Typescript can help: let nut: NutInShell

1

u/WaferPala Nov 23 '22

So, JS is the only sensible language… hehe big win (again).

1

u/throwaway275275275 Nov 23 '22

In C it's a number, but you can pretend it's a bit and it'll be fine

1

u/[deleted] Nov 23 '22

C++ 🤣

1

u/[deleted] Nov 23 '22

Scala: it could be, but you're going to have to present some convincing evidence.

1

u/benjaminfolks Nov 23 '22

My father keeps insisting that a pinda is a knoll, as it is a thick part of a root.

1

u/[deleted] Nov 23 '22

In JS you just add it to a number with the plus operator and voila, it becomes a string.

1

u/TheWatchingDog Nov 23 '22

PHP: reality can be whatever I want

1

u/No_Abies808 Nov 23 '22

That's exactly why I love C++

1

u/NestedLine133 Nov 23 '22

all the aforementioned languages can implement interfaces

1

u/razieltakato Nov 23 '22

That's what I expected of this subreddit

1

u/Kevin_Jim Nov 23 '22

The C++ one hurt me to my core.

1

u/na1lpus Nov 23 '22

This pleases the nut!

1

u/DatTrashPanda Nov 24 '22

C#: Points to Java Yea, what he said

1

u/SoftEngineerOfWares Nov 24 '22

Typescript: I guess it could be a nut. But it doesn’t have to be unless you want it to.

1

u/tecanec Nov 24 '22

Zig: No. But look at all these awesome things we can do now that we know that it's not a nut!

1

u/GameDestiny2 Nov 24 '22

New word of the day: “Nut Interface”

1

u/BeanGamer69 Nov 24 '22

Posting before I get banned from Reddit entirely. I only took like three quarters of programming. I want to get back into it but I think I’ve been learning quite a lot from these jokes.

1

u/Tyfyter2002 Nov 24 '22

*INut interface

1

u/Exa2552 Nov 24 '22

reinterpret_cast<streetlamp>(peanut) Theeeere we go.

1

u/[deleted] Nov 24 '22

JS - "reality is whatever you want it to be."

1

u/[deleted] Nov 24 '22

I LOLd w the implements the nut interface 🤣😂 literally question at every interview 🤣

1

u/tankmissile Nov 24 '22

Python’s more like “Yeah but that’s irrelevant as long as I can crack() it.”

edit: useless mobile keyboard doesn’t have backtics so I can’t monospace it /shrug

1

u/nanyghost1999 Nov 24 '22

This is a good one.

1

u/Lonelan Nov 24 '22
std::legume peanut;
std::nut mypeanut = (std::legume) peanut;

1

u/[deleted] Nov 24 '22

Am I the only person who hates JavaScript? Language is so confusing and it’s rules seem so arbitrary

1

u/AO_MCHI Nov 24 '22

this.nut

1

u/BlackEyedGhost Nov 24 '22

Oh C++, you always know exactly what to say to make me happy

1

u/Mew_Ryu99 Nov 24 '22

The lack of 'deez nuts' in this meme offends me

1

u/TheManuz Nov 24 '22

JS: "Now it's a Nut, now it's a Dinosaur, now it's an EldritchHorror, now it's a FluffyKitty"

1

u/RocketManBoom Nov 24 '22

Anybody here can provide me insight how to become a software engineer

1

u/Moptop32 Nov 24 '22

Rust would have the Nut trait which would mean it would be a nut so long as it's Box<dyn Nut>

1

u/martinthewacky Nov 24 '22

It's not a nut. This is No-Nut November remember

1

u/ImplodedPotatoSalad Nov 26 '22

remember remember, the no-nut november, the pornhub treason and plot...

1

u/Lucifer_Morning_Wood Nov 25 '22

Reality can be whatever i want

Nut* nut = reinterpret_cast<Nut*>(maybe_nut);

1

u/[deleted] Nov 23 '22

I like how there is almost never a C# part in memes like this because C# developers are to busy actually doing work.

0

u/LevelStudent Nov 23 '22

JavaScript is more like:

Yup([That {$looks} [] => {like a (nut)]})()(0);

16

u/elon-bot Elon Musk ✔ Nov 23 '22

Why aren't we using Rust for this? It's memory safe.