1394
submitted 3 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
[-] abfarid@startrek.website 15 points 3 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 3 months ago

You have command of English grammar, clearly.

How's your Finnish?

[-] abfarid@startrek.website 3 points 3 months ago* (last edited 3 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 3 months ago

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

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

Or he could have used brackets.

[-] abfarid@startrek.website 4 points 3 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 3 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 3 months ago* (last edited 3 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

this post was submitted on 25 Aug 2024
1394 points (98.4% liked)

Linux

48366 readers
608 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