• 0 Posts
  • 23 Comments
Joined 1 year ago
cake
Cake day: June 29th, 2023

help-circle

  • I think long messages are a good habit. Start with something readable in the history, past that who cares? Most people rarely read past the preview, and if they do they want details

    I think it’s great because it makes you reflect on what the goal was and what you did. I sometimes stop to make a quick change as I’m writing, or just collect my thoughts before mentally dismissing the task




  • I was recommended nix, because I used to use Linux with snapshots and write my setup notes in bash scripts

    I just wanted to run docker with gpu access though…a dozen distros known for Nvidia support, I decided if I had to eat a shit sandwich, I would eat it once.

    Nix actually showed the desktop with the generic driver… It was faster to see up docker and vscode and everything else then to enable the Wi-Fi

    Nix is the one true Linux. Look at the lengths they go through to emulate a fraction of our greatness








  • Bugs are inevitable. Humans can’t write more than a few dozen lines without making a mistake - it’s inevitable because we’re barely sentient apes, floundering to understand the full scope of the problem space

    But through methodology, bugs can be mitigated. You can reduce their number, and fail gracefully. We have countless ways to do it, and we teach how widely

    There’s a science to it all, and those of us worth our salt know it… It’s not our fault that management disregards our warnings and pushes ever tighter deadlines.

    We know how to do better, our warnings just fall on deaf ears far more often then not


  • You’re the one who started this by criticizing my knowledge and my coding practices, in response to me sharing one very specific example of why I believe VB is a bad language

    I held off because I thought you must’ve misread it and we’d laugh and maybe talk about language design… But no, you confirmed you just came at me with a bad take extremely dismissively

    If you want respect, try showing it.


  • Scroll on down to the first common example there champ.

    If you really think that’s being “too clever” I don’t know what to tell you… A big reason I think that argument is bullshit is because writing simple code isn’t a goal (what does that even mean?) - readability is a big one, and breaking up every part of every conditional would just lead to unreadable spaghetti

    Also, take a look at the languages being discussed. This is a long settled question - every language I’ve ever used has this.

    Including VB, I found out it uses AndAlso…so gross



  • theneverfox@pawb.socialtolinuxmemes@lemmy.worldNvidia...
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 months ago

    I used to be, but once I started doing a commit each feature I got in the habit - it’s great when you fuck something up and need to see how you did it before

    On solo personal projects I’m much worse, because I’m not afraid to rip it apart and put it back together on a whim…I usually go in with a goal, but then I might decide “this design isn’t going to work much longer, let’s rewrite this”, and 8 hours later I’ve made a bunch of improvements. Maybe even the one I set out to do

    When that happens, I do like Minecraft - I give it a name.

    And since the people I work with never read commit messages, after I list the changes I remember off the top of my head I sometimes do some creative writing. Sometimes I put my next plans to lay them out, sometimes I write about philosophy, sometimes I go on a rant about specific criticisms of the language or vent about how this was so much harder than it should have been. Occasionally I write a haiku

    It’s so much easier to keep up with it when you just have fun with it…I just treat it like a reflection exercise


  • Fun fact I learned today - you know how when there’s a compound conditional, the interpreter stops once the result is known? (Eg, if the left side of an and is false, it’s false so it doesn’t bother checking the second condition)

    Apparently, visual basic doesn’t do this thing every other language I know of does… It might be a debug only thing for the convenience of the depreciated ide I’m forced to use, but I did a null check && called a function on it if it’s not null, and it blew up

    I pride myself on my ability to change to a new programming language and make progress on day one, but vb is truly the most disgusting POS language I’ve ever seen. From syntax to jarring inconsistencies in language design, it’s just gross