• Farid@startrek.website
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    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).

      • Farid@startrek.website
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        2 months ago

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

      • Farid@startrek.website
        link
        fedilink
        arrow-up
        4
        ·
        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
          link
          fedilink
          English
          arrow-up
          2
          ·
          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.

          • ElTacoEsMiPastor@lemmy.ml
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            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