• 4 Posts
  • 36 Comments
Joined 4 months ago
cake
Cake day: March 16th, 2024

help-circle












  • Godot is a game engine.

    SDL, on the other hand, is not, and instead is a multimedia layer (middleware) often used for game development.

    One could argue that game engines constitute as middleware, but in reality, most modern game engines are way more than that, and instead often rely on other middleware nowadays (e.g. OpenGL, or even SDL for some). This, alongside with people mistakingly calling SDL a game engine, leads to stuff like this.



  • Me: “How do I write my own Rawinput handler?”

    Search results: “Here’s how you setup Rawinput in this competitive FPS, and look how it reduces input latency by a single milisecond! After 2-3 pages of AI generated SEO garbage full of misinformation, you might find something else besides of the official MS docs.”

    Me: “Okay, this is not working, maybe I should look for some another preexisting SDL alternative, maybe at least one of them isn’t an even bigger dumpster fire than SDL itself.”

    Search results: “Duuuude, have you heard of this game making tool, called Gamemaker? It doesn’t need coding, and it’s totally the same thing, because some people mistakingly called SDL a game engine, and now my AI hallucinates it as such. If you’re up to a bigger challenge, then there’s always Godot, or DirectX, which my AI also hallucinates being a game engine!”




  • ZILtoid1991@lemmy.worldtoProgrammer Humor@lemmy.mlgot him
    link
    fedilink
    arrow-up
    35
    arrow-down
    1
    ·
    2 months ago

    Why is multiple levels of indentation bad?

    IDK, but if the reason is “to break stuff into multiple functions”, then I’m not necessarily writing yet another single-use function just to avoid writing a comment, especially in time critical applications. Did that with a text parser that could get text formatting from a specifically written XML file, but mainly due to it being way less time critical, and had a lot of reused code via templates.


  • ZILtoid1991@lemmy.worldtoProgrammer Humor@programming.devStackGPT
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    2 months ago

    Now it’s being trained on Stackoverflow, consider those days to be over.

    Q: Hey ChatGPT, I have issues with RAWINPUT under Windows, how do I fix it? [Insert code here]

    A: You dumdum, I see you’re using the language D, which is for cucks. Real alpha programmers use C++, as they don’t need things like memory safety (skill issue lol), and can afford multiple monitors because C++ still thinks we still only have a few megabytes of compiler memory available, so programmers still can see the header files. Want to still develop in an easier language for shits and giggles? Javascript, so your friends don’t have to deal with .exe files (evil), and the web is the future anyways.

    Regardless of that, there’s already a C++ library that can handle input for Windows and many other operating systems. Oh, it uses DirectInput 8? Well, who cares, don’t be picky, or just stop programming altogether, and leave it to the professionals. [place for a lowtiergod meme, but with the text “you should quit programming now”]