1370
submitted 2 months ago by northmaple1984@lemmy.ca to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] pelya@lemmy.world 213 points 2 months ago

Just look at those nested parentheses. A true sign of (pedantic) greatness, when a person needs to clarify something in their earlier clarification.

[-] 30p87@feddit.org 95 points 2 months ago

I love it™ (The nested parentheses are one of the greatest tools known to mankind (And to all other creatures))

[-] Quetzalcutlass@lemmy.world 86 points 2 months ago

To paraphrase an old tweet: "parentheses - for when every thought comes with bonus sub-thoughts".

[-] Homescool@lemmy.world 38 points 2 months ago

I always tell myself I am reading minds when I read inside parentheses

[-] MrShankles@reddthat.com 3 points 2 months ago

Who's to say you're not (I won't, at the least)?

[-] ulterno@lemmy.kde.social 18 points 2 months ago

I have been stopping myself from using those and instead restructure my sentence. But if people like it, guess I can start keeping it.

I do find it more useful, however, to have a kind of a reference to the thing written at the end instead [1], but markdown doesn't seem to have anything for that, and using the syntax for Markdown references, is only useful for hyperlinks, or if the reader is willing to read the hover text 2.

[1]: Like This. I would love it if the markdown viewer would link the above [1] to this line. Maybe with a scrolldown effect.

[-] MBM@lemmings.world 11 points 2 months ago

Lemmy's markdown does actually have footnotes!^[they work like this: ^[text here]]

[-] pelya@lemmy.world 10 points 2 months ago

Eh, Lemmy Connect does not format it properly.

[-] needanke@feddit.org 9 points 2 months ago

Neither does Voyager (Wefwef) :(

[-] sramder@lemmy.world 3 points 2 months ago

Checking in from Avelon 😉

[-] Zangoose@lemmy.world 1 points 2 months ago

Neither does Jerboa 💀

[-] roguetrick@lemmy.world 4 points 2 months ago

Well ain't that some shit. It would make my comments more readable to a degree^[not that I'd ever use it]. I also like how they have return links for when you have some monster text wall that nobody would ever read in the first place on this platform.

[-] ulterno@lemmy.kde.social 4 points 2 months ago

And automatically numbered too! Nice.

~~Though for me, instead of a scrolldown effect, it reloads the page on clicking the link.~~ Trying a second time, it does the scrolldown properly. Weird
But that's just an implementation detail and as long as this is standard, I'll just start using it.

Thanks

[-] chatokun@lemmy.dbzer0.com 2 points 2 months ago

People like these? I do em all the time but always feel I'm overexplaining.

[-] user224@lemmy.sdf.org 20 points 2 months ago

I've had a teacher in elementary school scream at me for doing so. (Nesting parentheses is forbidden. [You are supposed to use brackets.])

[-] pelya@lemmy.world 23 points 2 months ago

It's wild seeing square brackets for something other than array indexing.

[-] sramder@lemmy.world 15 points 2 months ago

I had a teacher that screamed at me for “taking the lords name in vain…” They’re definitely wrong from time-to-time ;-)

[-] ochi_chernye@startrek.website 12 points 2 months ago

I had a science teacher that told us, "If you sneeze three times and nobody blesses you, the devil takes your soul!"

It's science.

[-] sramder@lemmy.world 2 points 2 months ago

Pretty sure I read that paper a few years back ;-)

[-] Kethal@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

What did the teacher say about apostrophes to indicate possession?

[-] sramder@lemmy.world 1 points 2 months ago

No idea… stopped listening after I was adminished for my “god damnit…” ;-)

[-] abfarid@startrek.website 16 points 2 months ago

Some of those parens could've been replaced with commas and retain their meaning (that's what I do to avoid nesting, so that it doesn't get confusing).

[-] EarthShipTechIntern@lemm.ee 7 points 2 months ago

You have command of English grammar, clearly.

How's your Finnish?

[-] abfarid@startrek.website 3 points 2 months ago* (last edited 2 months ago)

Not as good as my other primary languages, I have to admit. Finnish has too many consonants for my taste.

[-] Tlaloc_Temporal@lemmy.ca 6 points 2 months ago

Wait until you need nested commas, those lists won't delineate themselves!

[-] VindictiveJudge@lemmy.world 1 points 2 months ago

Or he could have used brackets.

[-] abfarid@startrek.website 4 points 2 months ago

I've never seen that being used, but it seems it's a thing in English. What if you wanna best deeper? Do you go {}? Then <>? «»?

[-] VindictiveJudge@lemmy.world 2 points 2 months ago

Not really an English thing so much as a math thing that makes too much sense to not use elsewhere. For instance, in math you might have x[3 - 7{3y + (a * b)}]. I haven't actually seen them go deeper than three sets, though, so I'm not sure what would be next.

[-] toototabon@lemmy.ml 3 points 2 months ago* (last edited 2 months ago)

at that point I start recycling them, and go back to parenthesis.

so when bp = 300x - 3, this:

4( 4[ 4{ 15bp + 10 } - 375 ] - 2250 ) - 15000

would turn to

4( 4[ 4{ 15( 300x - 3) + 10 } - 375 ] - 2250 ) - 15000

perhaps not the best, but I rather stick to conventional symbols rather than using... idk, question marks? that'd be funny as hell, though

just picture it:

4© 4« 4¿ 15bp + 10 ? - 375 » - 2250 🄯 - 15000

[-] Aceticon@lemmy.world 10 points 2 months ago* (last edited 2 months ago)

The amount of effort I do to try and avoid using double parentesis is trully herculean.

I think that stuff is the product of a completionist/perfectionist mindset - as one is writting, important details/context related to the main train of thought pop-up in one's mind and as one is writting those, important details/context related to the other details/context pop-up in one's mind (and the tendency is to keep going down the rabbit hole of details/context on details/context).

You get this very noticeably with people who during a conversation go out on a tangent and often even end up losing the train of thought of the main conversation (a tendecy I definitelly have) since one doesn't get a chance to go back and re-read, reorganise and correct during a spoken conversation.

Personally I don't think it's an actual quality (sorry to all upvoters) as it indicates a disorganised mind. It is however the kind of thing one overcomes with experience and I bet Mr Torvalds himself is mostly beyond it by now.

[-] MrShankles@reddthat.com 1 points 2 months ago* (last edited 2 months ago)

perfectionist mindset - as one is writing,

I think an "M-Dash (perfectionist mindest— as one is writing,)" would be more appropriate than an "N-Dash" in your statement. No 'nested' parentheses needed (unless you're looking to add non-essential (though insightful) info to your sentence); but the type of... "PAUSE" makes all the difference

[-] someacnt_@lemmy.world 1 points 2 months ago

Thought I was the only one noticed abundance of the parenthesis

this post was submitted on 25 Aug 2024
1370 points (100.0% liked)

Linux

48186 readers
1026 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS