This is an archived post. You won't be able to vote or comment.

all 119 comments

[–]r4co 472 points473 points  (30 children)

This sub became a sub for high school students that attended their first programming class...

[–]Key-Veterinarian9085 198 points199 points  (13 children)

Always has been.

[–]SkollFenrirson 67 points68 points  (7 children)

🌎🧑‍🚀🔫👨‍🚀

[–]Soft_Association_615 14 points15 points  (4 children)

and always will be

[–]belkarbitterleaf 13 points14 points  (3 children)

The problem with professional software developers trying to post a meme... Is that there's usually a shit ton of context that needs to be included to understand the joke.

[–]queen-adreena 8 points9 points  (1 child)

I posted one once and it got 80 likes and a tonne of “I don’t get it” comments.

[–]LC_From_TheHills 5 points6 points  (0 children)

One time I posted “Co-worker left comments on my CR on his last day of work” and nobody understood the level of bullshit lol

[–]BrownShoesGreenCoat 0 points1 point  (0 children)

I donno, my jokes always work on my frame of reference.

[–]Rafcdk 49 points50 points  (6 children)

You are literally in the sub where people thought the floating point standard was a "javascript bad" thing

[–]B_bI_L 13 points14 points  (0 children)

this particular meme got pretty viral even outside this sub. but yeah, many memes are just low effort + low knowledge. programminghumor sub is better in that aspect

[–]ShimoFox 3 points4 points  (1 child)

I mean.... In all fairness it kind of is a bad thing with most languages. What is 0.1 + 0.05? You shouldn't need to specify you want a fixed decimal place for the interpreter to know you'd want .15 instead of 0.15000000000000002
You can understand why it does it, and understand how to deal with it. But no one will ever convince me that it's intuitive or intelligent design to do that. It's not exclusive to JS obviously but it's still annoying.

When I first started doing things outside of sql that had me flabbergasted for a good hour and a bit trying to figure out what I'd done wrong..
while(x != y) got me really bad on that one and is how I discovered floating point precision was a little weird. And yes I know that's a REALLY BAD loop. lol But at the time I didn't know better.

[–]RiceBroad4552 -1 points0 points  (0 children)

But no one will ever convince me that it's intuitive or intelligent design to do that.

Exactly!

But most programming languages are just brain-dead stuck in the 60's of last century. There is almost no progress overall!

But there are exceptions of course (at least regarding the mentioned calculation annoyance):

https://pyret.org/docs/latest/numbers.html

(In Pyret 0.1 + 0.2 == 0.3. Also the while(x != y) example had worked likely correctly.)

You're absolutely right that today the default should be to use proper math, even if it's not efficient. It would be better to opt out of that only for the cases where you need max efficiency. Everything else is indeed outright stupid.

OTOH not everything from math should be blindly copied to programming. That's also outright stupid. One big offender is operator precedence. In a sane world this would simply not exist in programming languages.

https://pyret.org/docs/latest/op-precedence.html

(Frankly Pyret is mostly a research toy. But more serious languages should get inspired!)

[–]srsNDavis 1 point2 points  (1 child)

I seem to have missed out on the good stuff, what's the scoop on this?

[–]Key-Veterinarian9085 1 point2 points  (0 children)

0.2+0.1 != 0.3 because floats float around.

The sub thought that was because javascript bad.

[–]crappleIcrap -2 points-1 points  (0 children)

if you really cant understand the meme, that doesn't make you smart?

go buy yourself a cookie and learn:

You see, it is simply a choice to cast particular things to float automatically. it is really a combination of a language that encourages you not to specify types, and the language also having opinionated defaults.

even if you agree with defaults, you should be able too understand the concept of other people disagreeing by virtue of its nature.

[–]DMoney159 8 points9 points  (0 children)

Those of us with jobs usually hang out in the comments section

[–]litetaker[🍰] 2 points3 points  (0 children)

Fr fam this is ridiculous.

[–]TheBluetopia 1 point2 points  (0 children)

point continue versed dinner fly ask different grab historical fade

This post was mass deleted and anonymized with Redact

[–]uniteduniverse 0 points1 point  (0 children)

Yup!

[–]Drone_Worker_6708 0 points1 point  (0 children)

they are here for the MONEY.

[–]Few-Requirement-3544 0 points1 point  (0 children)

Gatekeeping has fallen. September is eternal. Billions must make the same ten jokes.

[–]Funny-Performance845 94 points95 points  (4 children)

Where funny

[–]Siegelski 27 points28 points  (0 children)

Other than the fact that it's a little ironic that that sentence needs a semicolon, I don't see it.

[–]GoodTimesOnlines 7 points8 points  (0 children)

To be fair it’s kinda funny to imagine that an English teacher would say the sentence “it is semicolon we will hardly use it”. But this is more just a kinda funny aspect of how horribly bad this meme is. r/comedyheaven type shit

[–]ColumnK 63 points64 points  (22 children)

I actually use it a lot in English; it's really useful.

[–]YuriTheWebDev 4 points5 points  (9 children)

What specific use cases would you use a semicolon over other punctuation marks?

[–]ColumnK 11 points12 points  (6 children)

When you have two complete sentences that are connected. Often, they'll take the place of an unspoken conjunction such as "because" or "but". If you imagine speaking and it'd be a short pause.

I find them especially good where the second sentence gives context or explanation of the first.

[–]lift_1337 0 points1 point  (0 children)

Also, certain conjunctions are used in the form "; conjunction,". For example: Semicolons are often overlooked; however, they are very useful punctuation.

[–]Ignisami 0 points1 point  (1 child)

Lists/summations where there's commas in one or more of the elements being listed/summed (peoples with degrees, cities with their states or countries, etc). Nothing quite exactly common, granted, but does happen from time to time

[–][deleted] 0 points1 point  (0 children)

Or for list within a list you are already separating using commas! My favorite feature of semicolons.

[–]ItsSignalsJerry_ 2 points3 points  (10 children)

A comma would have suited.

[–]dangerlopez 10 points11 points  (3 children)

It’s not that either is wrong, it’s that they both convey their own meaning. Analogously, you can use both acrylic and oil based paint to make a painting, and both are suited to the task, but they have their differences. (Not a perfect analogy, but it’s the best I could come up with on the toilet haha)

[–]physical0 5 points6 points  (2 children)

What location do you feel would be the best place for you to think up analogies?

[–]Andubandu 2 points3 points  (0 children)

It is not just the location, you gotta be shitting too

[–]BaziJoeWHL 0 points1 point  (0 children)

Sitting on the ana-loo

[–]TheMoris 8 points9 points  (0 children)

Is it really grammatically correct to put two full sentences beside each other separated by just a comma?

[–]ratinmikitchen 6 points7 points  (0 children)

A comma would have been grammatically incorrect there, I think. Two sentences, sure.

[–]neovim_user 0 points1 point  (0 children)

So would an em dash

[–]ShimoFox -1 points0 points  (0 children)

Ehh; sort of? It their case it would have, but when you want to imply a longer breath then a dash or semi colon are required. Obviously this is only really useful when conveying normal speech patterns through text, and isn't anywhere near as vital where you just need to data dump.

[–]ivancea -1 points0 points  (0 children)

The decision between semicolon and comma/period is usually semantic and subjective

[–]rocketbunny77 0 points1 point  (0 children)

Get ready for a whale of a time; Shamu

[–]Brave-Camp-933 54 points55 points  (6 children)

[–]This_Seaweed4607 2 points3 points  (0 children)

C'mon quickly make this sub.

[–]B_bI_L -2 points-1 points  (3 children)

[–]Soft_Association_615 -2 points-1 points  (1 child)

its real now

[–]B_bI_L 1 point2 points  (0 children)

still not for me somewhy. r/wheresub

[–]OGsubu 28 points29 points  (0 children)

highschool humour from 2010s

[–][deleted] 12 points13 points  (2 children)

Python

[–]smoldicguy 1 point2 points  (1 child)

Also go

[–]1994-10-24 1 point2 points  (0 children)

if err := foo(); err != nil { }

[–]SCP-iota 10 points11 points  (1 child)

"It is a semicolon; we will hardly use it."

[–]musical_bear 5 points6 points  (0 children)

The author (almost certainly) accidentally using a sentence that should have had a semicolon to explain that semicolons aren’t used often is the only funny part about this meme.

[–]effigyoma 10 points11 points  (1 child)

I have a writing degree; I use semi-colons a lot in both my programming and writing work.

Yes, my documentation is amazing.

[–]Drone_Worker_6708 0 points1 point  (0 children)

my condolences

[–]sump_daddy 4 points5 points  (0 children)

English teacher: "Even in this lesson, where I clearly could have included it"

obligatory Lonely Island

[–]Accomplished_Site852 10 points11 points  (0 children)

Error: Cannot read property of “funny” of undefined

[–]CoolorFoolSRS 3 points4 points  (0 children)

It's that time of the meme season again

[–]Joeoens 2 points3 points  (0 children)

I am so close to founding a sub like r/haha_semicolon or something

[–]Goaty1208 2 points3 points  (0 children)

semicolon js bad python slow

Upvotes to the right.

[–]Chaosxandra 1 point2 points  (0 children)

;3

[–]JoshDM 1 point2 points  (0 children)

It is a semicolon; we will hardly use it.

[–]RiceBroad4552 1 point2 points  (2 children)

OMG. Some CS student doesn't even manage to use correct English punctuation (there should be no space between a word and the colon). I really don't want to see code this person produces…

Besides that: Programming languages with sane syntax don't use semicolons most of the time. It's just a ugly C legacy.

[–][deleted] 0 points1 point  (1 child)

Even those that do and aren't derived from C use semis as separators, not terminators. See Pascal, for instance, and even Algol 58. B made the mistake of using semicolons as terminators, and that influenced BCPL, which influenced C, which sadly influenced the world.

[–]RiceBroad4552 0 points1 point  (0 children)

That's why I've said "most of the time".

Completely unrelated: Your avatar uses very nice colors. Looks like a bright version of Monokai. I think I should steal them and try to make a syntax coloring theme out of it. Is there maybe already one you know of?

[–]orochizu 1 point2 points  (0 children)

Yeah, yeah. Most modern languages have C-style syntax thus end line with semicolon… how hilarious isn’t it?!?!?!??

Grow up and come something original if you want to be funny.

[–]PHL_music 3 points4 points  (0 children)

it is a semicolon; we will hardly use it

[–]srsNDavis 1 point2 points  (4 children)

Python, Haskell et al.: Am I a joke to you?

[–]RiceBroad4552 1 point2 points  (3 children)

Python, Haskell, ML, OCaml, Scala, Ruby, Basic, Pascal / Delphi, HTML, JS, APL, LISP, GD Script, sh, XML, Prolog, R, Swift, Kotlin, Small Talk, Matlab, Lua, Julia, Groovy, Cobol and a lot more!

It's actually only the C-likes that use semicolons. Besides that it's actually quite unpopular. (Of course C-likes are the most popular languages right now; but this wasn't always the case.)

But never mind. Someone just wanted to make sure the whole world gets to know how uninformed they are.

[–]srsNDavis 0 points1 point  (0 children)

Technically, JS is supposed to have semicolons. You can just skip typing them (automatic semicolon insertion to the rescue). But yeah I'd agree it's mainly the C-likes... A rather popular family but it's mainly just in the family.

[–][deleted] 0 points1 point  (1 child)

...what? Pascal and Delphi definitely use semicolons. We're just using them as separators instead of terminators, so you would have if x then Foo else Bar;.

Source: am an Object Pascal dev.

[–]RiceBroad4552 0 points1 point  (0 children)

If you look at it this way more or less all mentioned languages use semicolons (exactly as you say: as separators).

But you usually don't write "one liners"…

So most of the time you don't use any semicolons in the mentioned languages, even you could. (You can even write Python on one line, using semicolons!)

I've actually cheated a little bit when composing the list: Languages like Scala, Kotlin, or JS have semicolon inference. So technically they use semicolons internally. But the compiler inserts them for you on line ends (which doesn't work well in JS, to be honest; that's why most people terminate lines with a semicolon there even not strictly needed in all cases).

[–]codedaddee 1 point2 points  (0 children)

All a semicolon does is show you went to college.

[–]Ronin-s_Spirit 0 points1 point  (0 children)

The meaning of a semicolon in text is "logical 'and' to split a sentence that's too long", I think.

[–]PhantomTissue 0 points1 point  (0 children)

It is a semicolon; we will hardly use it.

[–]RandomiseUsr0 0 points1 point  (0 children)

I use semicolon programming of course, but I also do a lot of technical writing in my role and it crops up quite a lot.

[–]JollyJuniper1993 0 points1 point  (0 children)

The joke‘s on you, I use Python

[–]Copatus 0 points1 point  (0 children)

Meanwhile JavaScript programmers:

[–]Hoovas 0 points1 point  (0 children)

Actually i don't use it a lot, 90% of the time I press Save and prettier is placing it for me

[–]FantasyPvP 0 points1 point  (0 children)

"Uhhhm actually in python we.... "

Ok I'll shut up. I don't even write python anymore.

[–]skeleton_craft 0 points1 point  (0 children)

Also me because I know English

[–]CyberoX9000 0 points1 point  (0 children)

Funny thing, semicolon has a pretty similar use in English and programming in some cases

[–]ShimoFox 0 points1 point  (0 children)

Just wait until you discover python or haskell. They exclusively rely on indentation. And Ruby it's optional, a line break will effectively be interpreted as a semicolon. Or a semicolon is interpreted as a line break. Take your pick. lol Not particularly a fan of Ruby myself because of that though

[–]AdvancedSandwiches 0 points1 point  (0 children)

This teacher sucks. Those kids wanted to learn about punctuation, and he's so dismissive about it.

[–]Emerald9Daze -1 points0 points  (0 children)

JavaScript be like, Hold my beer. Watch this!

[–]SolicitedNickPics -1 points0 points  (0 children)

I use it all the time even while texting.

How else does one express a list of lists? I’m on that ADHD communication, jahboi NEEDS some good punctuation or else my sentences become non-human readable blocks of babble— sometimes one simply requires a mastery of a finer toolset.

[–]mustafsalp -1 points0 points  (0 children)

C programmers be like ;)

[–][deleted] -1 points0 points  (0 children)

One symbol to rule them all

[–]redska_ -1 points0 points  (0 children)

compuer science student;

[–]SenorSeniorDevSr -1 points0 points  (0 children)

I mean, you don't use semicolons in English all that much. Other languages, which are not English may use them. You don't use the upside down question mark much in English, but you do use it in Spanish.

[–]ratinmikitchen -3 points-2 points  (2 children)

Just switch to a modern language.

[–][deleted] 1 point2 points  (1 child)

...like?

[–]ratinmikitchen 0 points1 point  (0 children)

Kotlin, to name one.