• 0 Posts
  • 318 Comments
Joined 3 years ago
cake
Cake day: June 13th, 2023

help-circle

  • briantoJavaScriptFracturedJson
    link
    fedilink
    arrow-up
    1
    ·
    2 days ago

    No, CI validates that the hooks or formatter ran, and fails if not. in theory it shouldn’t ever fail but it’s to catch the stuff that couldn’t have passed the commit hook.

    the hooks are easy to turn off and can be hard to get to reliably run (90% of the time they’re fine, but all of the tools that run git commands sometimes do weird things), but they’re a best effort kind of thing.

    unit tests on precommit are a little annoying, especially when it takes that long. that’s better suited to running in ci afterwards since there’s no advantage to running before you commit. formatter takes like 200ms max for affected files? you won’t notice, and it ends up as part of the one commit






  • objectively the one with the cult is a good recommendation for a beginner since there’s a strong community making content, arguably the most important factor in choosing something

    godot also has a lot of stuff baked in, so the community tends to use the built in solution for everything. you won’t end up with one tutorial recommending a collision engine that makes assumptions that don’t work with the other tutorial for different pathfinding or whatever. they all start with basically the same assumptions.

    pygame is a little intimidating since you start with an empty file and a pygame import. there’s no real enforced or even commonly followed structure beyond that. beginners can figure it out but it leaves a lot of architecture questions open for you so your tutorials probably won’t line up well.

    and I say all of that as someone who doesn’t particularly enjoy godot, especially gdscript.


  • since you haven’t said anything about type of game, if you want to start at the dead simple side and visual novels sound interesting maybe look at Ren’py?

    visual novels have less going on than a big 3d game, so if you want an easy start from 0 it should be as close as you can get. python is straightforward if you don’t have programming experience, but otherwise is really commonly used so gives a nice basis for whatever else you want to do.

    ren’py also has gotten plenty of commercial use if you wanted to go further in that direction. most big name vn games use it.



  • sure, but both of those are significantly better than a css file. tailwind tends to match the internal structure better, css in js tends to match the component structure better.

    tailwind doesn’t have a runtime though, where css in js libs generally do. not that that’s a big point. the difference is mostly preference







  • when futo dissolves as an organization, or someone forks their software and maintains it better than they do, that fork still has to have the button to pay futo and not the new maintainer.

    there are restrictions on what you can do with the source. that is not open. the source is available and they’ll accept your donation of code, but you are donating to a company’s product, not a community project.



  • just to be clear since you said both again in different sentences, GUID and UUID are two names for the same thing.

    I think that spec predates uuid4, it only mentions the time based/node based variants. 122 bits of auth token should be plenty, right?

    the sheer unlikeliness of guessing that large a number, the original post is fake or something else is going on.


  • briantoProgrammer Humorfunctions
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    I’ve worked at several places that didn’t have formatters when I started. they did by the time I left. you can incrementally adopt them and if it’s automated most people at worst don’t care. advocate for things you want

    reassignment and hoisting are the significant ones. behavior around this does just seem more intuitive than otherwise when it comes up, so I think telling especially new devs to use const arrow fn everywhere but classes is a reasonable rule

    hate to break it to you but it behaves like a variable either way. function just behaves closer to a var variable. const fns are less like variables since no assignment. intellisense/devtools all show them just fine. it really is just a minor aesthetic difference on the definition