• 0 Posts
  • 286 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle




  • Yeah, the huge trucks and suburbans are pretty insane. I’m American and drive a small-ish SUV (2023 RAV4 Hybrid) and we fill the extra cargo space (and passenger seats) all the time. Groceries can do it (not all the time though), especially if making one of our (infrequent) runs to Costco to restock on stuff that’s a lot cheaper/more useful to buy in bulk. The other day I used the cargo space to transport a large (6 ft/1.8m) folding table and 8 folding chairs for my son’s birthday party. And speaking of kids: car seats, strollers, diaper bags, etc. need a fair bit of room.











  • expr@programming.devtoLefty Memes@lemmy.dbzer0.comDiscussion
    link
    fedilink
    English
    arrow-up
    45
    arrow-down
    7
    ·
    25 days ago

    Exactly, heavy taxation on the ultra wealthy and wealth caps are incredibly popular topics in liberal circles. I swear some people have never actually talked to a liberal and just attack some strawman they’ve lumped in together with conservatives.

    I’m leftist and anti-capitalist, but I also recognize that most liberals are people who want the same things leftists do, but simply haven’t thought deeply enough about what the true root causes of society’s issues are. It’s an issue of tactics rather than a fundamental disconnect in core principles and values. Ultimately they want a more equitable, less stratified society where society helps and supports the disenfranchised. The same thing leftists want. They just don’t understand that capitalism has to go in order to achieve it.

    Liberals, unlike conservatives, are actually generally quite reasonable people since they aren’t motivated by hatred. As leftists, we should be doing everything we can to educate them and bring them into the fold, rather than tearing them down.




  • I don’t know what you mean by an API standard, but yes, it is technically a JavaScript library. But that’s only an implementation detail and the spirit of htmx is that you write very little JavaScript. Javascript is simply used to extend the HTML standard to support the full concept of hypermedia for interactive applications. An htmx-driven application embraces hypertext as the engine of application state, rather than the common thick client SPAs hitting data APIs. In such a model, clients are truly thin clients and very little logic of their own. Instead, view logic is driven by the server. It has been around for quite a long time and is very mature.

    It’s fundamentally different than most JavaScript libraries out there, which are focused on thick clients by and large.


  • This is something often repeated by OOP people but that doesn’t actually hold up in practice. Maintainability comes from true separation of concerns, which OOP is really bad at because it encourages implicit, invisible, stateful manipulation across disparate parts of a codebase.

    I work on a Haskell codebase in production of half a million lines of Haskell supported by 11 developers including myself, and the codebase is rapidly expanding with new features. This would be incredibly difficult in an OOP language. It’s very challenging to read unfamiliar code in an OOP language and quickly understand what it’s doing; there’s so much implicit behavior that you have to track down before any of it makes sense. It is far, far easier to reason about a program when the bulk of it is comprised of pure functions taking in some input and producing some output. There’s a reason that pure functions are the textbook example of testable code, and that reason is because they are much easier to understand. Code that’s easier to understand is code that’s easier to maintain.