this post was submitted on 10 May 2025
569 points (97.7% liked)

Comic Strips

16705 readers
2344 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 2 years ago
MODERATORS
top 30 comments
sorted by: hot top controversial new old
[–] BedSharkPal@lemmy.ca 33 points 1 week ago

Turns out JS is strongly typed after all!

[–] lIlIlIlIlIlIl@lemmy.world 28 points 1 week ago (3 children)

Can someone help me understand this joke? Strongly typed languages generally have way better IDE support so this doesn’t make much sense to me at all

[–] junkthief@lemmy.blahaj.zone 77 points 1 week ago (2 children)

The joke is taking “strongly typed” literally- by applying too much “strength” (force) physically on the keys and breaking the keyboards

[–] lIlIlIlIlIlIl@lemmy.world 52 points 1 week ago (2 children)

Hey guys I think I might be stupid. Good lord, wow.

[–] Tehhund@lemmy.world 4 points 1 week ago

You and me both, I didn't get it at all.

[–] tamal3@lemmy.world 1 points 1 week ago* (last edited 1 week ago)

I feel stupid, too, but while I understood the part about strong=banging on the keys, but I have idea what a "strongly typed" language would be otherwise.

Edit: there is a helpful comment below. Thanks!

[–] racketlauncher831@lemmy.ml 9 points 1 week ago

I thought it was because the protagonist isn't familiar with strongly typed languages so that he get frustrated so much and he breaks his keyboards to let the rage out.

[–] gjoel@programming.dev 14 points 1 week ago

You are typing strongly, which breaks your keyboard.

[–] thann@lemmy.dbzer0.com 5 points 1 week ago

Theyre just bad at programming

[–] Bogasse@lemmy.ml 17 points 1 week ago

That's also why I love duck typing but don't find it practical. I can only have so much bread lying around.

[–] Dagwood222@lemm.ee 8 points 1 week ago (1 children)

I learned to type on an IBM Selectric that weighed more than a Volkswagen. Godzilla couldn't have broken that thing.

[–] dejected_warp_core@lemmy.world 4 points 1 week ago (1 children)

Those things were marvelous. You could hear each keystroke slam into the platen two houses down.

[–] Dagwood222@lemm.ee 3 points 1 week ago

When you hate typed, you could vent your fury!

[–] dejected_warp_core@lemmy.world 6 points 1 week ago (1 children)

Buy a Model-M and don't look back. Things are built tough.

Plus vintage models were designed for folks that coded in C/C++. So you know they're up to the task. ;)

[–] tal@lemmy.today 7 points 1 week ago* (last edited 1 week ago) (1 children)

The factory in Kentucky that used to make them was bought out by the employees when IBM stopped doing them and still makes new buckling-spring keyboards, so you can get new ones.

Called Unicomp.

https://www.pckeyboard.com/

They do have a nipple mouse variant ("EnduraPro") with mouse buttons. I have one, and I don't recommend that. The buckling spring keys are as good as the day I got it, but I eventually wore out the mouse buttons, and I've no idea whether they've moved to new switches for the mouse buttons.

[–] Aralakh@lemmy.ca 1 points 1 week ago

Thanks for sharing the link, you're a gem!

[–] whaleross@lemmy.world 6 points 1 week ago (1 children)

Using CamelCase or snake_case?

[–] otter@lemmy.ca 12 points 1 week ago (1 children)
[–] mmddmm@lemm.ee 2 points 1 week ago

SQL won't judge you.

[–] shalafi@lemmy.world 3 points 1 week ago (1 children)

Can someone explain the term? I've been in IT for 25 years, but haven't written anything but Powershell.

[–] Ashen44@lemmy.ca 7 points 1 week ago (2 children)

When programming, data is stored in variables. In a weakly typed language you define a variable and you can put anything in it. Numbers, text, whatever. In a strongly typed language when you define a variable you also have to define what it can take. If you define a variable that can hold numbers, it can only hold numbers and never text or anything else.

Weak typing makes code easier to write and more flexible while strong typing makes code more secure and harder to accidentally break. It's mostly a preference thing in the end.

[–] 0x0@lemmy.dbzer0.com 6 points 1 week ago (1 children)

It should be noted that "strong typing" and "weak typing" don't have the same precise definition as static/dynamic typing.

[–] mmddmm@lemm.ee 3 points 1 week ago

It normally means either some point on the strict/lenient/unityped spectrum the author thinks is strict typed, or static typed.

And yeah, it's a useless name, we could as well use it for languages that make the developer break keyboards.

[–] xylogx@lemmy.world 3 points 1 week ago

Just to add to this all data is ultimately stored as ones and zeros. In order to translate it to a piece of text or some type of number the computer needs to determine what type of data it represents. If the computer guesses the wrong type you just get garbage. Languages like C allow you to store data without rigid type definitions, it is up to the programmer to make sure the code gets the type right. In a strongly typed language you are not allowed to use variables of one type as some other type without some explicit conversion. It is safer but a little annoying.

[–] stupidcasey@lemmy.world 3 points 1 week ago

If you get a mechanical keyboard you don't have to use strong type.

[–] bloup 2 points 1 week ago (1 children)

I personally think this comic would have been a lot funnier if it had no caption

[–] pyre@lemmy.world 5 points 1 week ago (1 children)

just a drawing of a bunch of broken keyboards? how are you supposed to make the connection?

[–] bloup 2 points 1 week ago (1 children)

Well, the title is “strongly typed”. Idk seems pretty obvious to me but maybe it isn’t

[–] pyre@lemmy.world 1 points 1 week ago* (last edited 1 week ago) (1 children)

that's the title of the post, the image doesn't say it. and if it did it would've been a caption anyway

[–] bloup 2 points 1 week ago

It’s literally the title of the comic, like if you click the link, that’s what the title of the comic is.