There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Skyrmir , in Did some work recently

Now I’m feeling called out. I keep having these stacks of if statements that could just be a big ass list of and and and, but then it runs into the debate of how much crap should be in one line of code? Especially knowing, at some point, it’s going to be my dumb ass stepping through trying to figure out why this one edge case is the reason we’re not hitting the inner code.

person , (edited )

deleted_by_author

  • Loading...
  • MostlyBlindGamer ,
    @MostlyBlindGamer@rblind.com avatar

    Programming is just plumbing with words

    philomory , in More believable for a Linux OS

    Wow, a Lain meme was not something I was expecting.

    I should watch that show again sometime, I still have the DVDs somewhere I think.

    xmunk ,

    “And you don’t seem to understand…”

    Tesla ,

    A shame you seemed an honest man…

    Z4rK , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

    It’s really cool, but the example doesn’t produce any sensible output? If you have created something like this, why wouldn’t you have your demo output something sensible like Fibonacci or 1337 or whatever.

    prof OP ,
    @prof@infosec.pub avatar

    Great idea if I have to extend it

    neatchee ,

    I’m opening an issue on your ticket tracker to add file i/o. Let the nightmare commence

    csm10495 , in More believable for a Linux OS
    @csm10495@sh.itjust.works avatar

    That can’t remove a directory.

    GluWu , in More believable for a Linux OS

    Fuck off, I know what I’m doing.

    Omg someone please help how did I get this far they’re going to realize I’m stupid when they fire me everything will collapse because it’s all in a single excel file I need to figure out how to live in a tent in the woods and hunt and forage

    onion , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS
    MajorHavoc , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

    It’s so beautiful!

    Now I’m thinking about how to alias “flex X on the haters” into other development environments…

    Rusty , in Can someone explain why authors do this?
    blindsight ,

    Alt text:

    Changing the names would be easier, but if you’re not comfortable lying, try only making friends with people named Alice, Bob, Carol, etc.

    XKCD isn’t complete without the alt text.

    LinearArray ,
    @LinearArray@programming.dev avatar

    I love XKCDs for these

    pivot_root , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

    Does it compile into JVM bytecode or Java source code?

    JVM bytecode is one of the most infuriating IRs I ever had the displeasure to work with, and if you managed to make a compiler for that, I applaud you.

    prof OP ,
    @prof@infosec.pub avatar

    Fortunately I generate Java source code from it. However MPS generates both source and byte code when you build the solution. For some reason I can’t get the byte code to run though, but the source code does, so I don’t care too much.

    pivot_root ,

    That sounds about right for JVM bytecode… In any case, great work!

    WarmSoda , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

    No cap is cracking me up. This is great stuff

    AceFuzzLord , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

    That’s cool but also makes me cringe.

    superduperenigma , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

    Looks like you’ve got a bug in there.

    
    <span style="color:#323232;">if false no cap
    </span><span style="color:#323232;">    canYouSeeMe = false
    </span><span style="color:#323232;">if cap
    </span><span style="color:#323232;">    canYouSeeMe = true
    </span><span style="color:#323232;">sheesh
    </span>
    

    Won’t this always go into the else/cap condition since the if condition is checking to see that false == true?

    prof OP ,
    @prof@infosec.pub avatar

    You’re correct, but it doesn’t really matter for demo purposes. In an actual use case (whatever that would be for this language) you would of course want to use some kind of variable or expression there instead of a constant.

    shiveyarbles , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

    Are you fo sho?

    Yep

    tronx4002 , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

    Impressive, no cap!

    RustyNova , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

    Jetbrains MPS?

    prof OP ,
    @prof@infosec.pub avatar

    It’s a tool for designing domain specific languages. Really interesting!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines