• 0 Posts
  • 50 Comments
Joined 11 months ago
cake
Cake day: June 6th, 2025

help-circle
  • It’s like Twitter, but anybody is free to spin up their own instance, and they’re all inter-compatible, so any one can view content from any other.

    That freedom and openness gives users choice. If one instance owner turns out to be a real dick, the community is able to move off of and blacklist it.

    Email is an oft used example. Leaving Gmail doesn’t lock you out of email because you can switch to a different provider or (with enough effort) even run your own email.



  • In the short term, a small amount of duplication to prevent bad abstraction spaghetti is worth it

    In the medium term, true duplications are better extracted after the fact rather than correctly guessing future reusability.

    In the long term, total extraction into separate vertical or external package, as suggested by the author.

    Over time, this progression is natural and unforced. If you don’t need an abstraction to be de-deuplicated, then don’t. If you don’t need to promote an abstraction into its own vertical/package, then don’t.






  • Kache@lemmy.ziptoProgrammingYes, and...
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    IMO in the same way everyone learns arithmetic but doesn’t necessarily go into mathematics or finance, I think everyone should learn basic logic and coding, enough to basically use spreadsheet formulas, which is a half step away functional programming. (I’m pretty sure Excel even supports named functions and lambdas)




  • Kache@lemmy.ziptoProgrammer HumorIt do be like that
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    3 months ago

    Consider the shell itself to be “the IDE”

    Everything is interoperable, extensible, scriptable, and more. CLI tools are designed to run fast/instant, have keyboard shortcuts for everything, and be deeply customizable. The openness and variety cannot be overstated, Google “CLI file explorer” and you’ll easily find at least 10. Nobody has the same exact setup because it gets molded to match how your brain works. Go for popular tools, niche setups, or both.

    Graphical IDEs could also run fast/instant and have keyboard shortcuts for everything, but their users don’t demand it. If you wished the file explorer/git integration/debugger/etc worked a bit differently, there might be a plugin, if you’re lucky. Many operations can only be invoked manually via sequence of dialog boxes or mouse clicks or both.


  • Then you’ve used one without knowing, because somewhere between the ORM you used and the database was SQL, and that SQL was put together by the ORM’s query builder

    If by “raw dog SQL” you mean dynamically concatenating strings (conditionally, interpolating runtime values), that’s literally a query builder, albeit a janky SQL-injectable one.





  • Kache@lemmy.ziptoProgrammer HumorChoose your path!
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    Isn’t functional stuff closely related to type theory & type systems in all langs? In that sense, it’s prevented whole classes of bugs from ever getting to prod in the first place.

    Responsible for 0% of code in production

    Best code is no code at all