Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
Sören ( soeren@iusearchlinux.fyi )  to Programmer Humor@lemmy.ml · 3 years ago

reject modernity embrace htmx

iusearchlinux.fyi

message-square
29
link
fedilink
220

reject modernity embrace htmx

iusearchlinux.fyi

Sören ( soeren@iusearchlinux.fyi )  to Programmer Humor@lemmy.ml · 3 years ago
message-square
29
link
fedilink
alert-triangle
You must log in or register to comment.
  • 9thSun ( 9thSun@midwest.social ) 
    link
    fedilink
    English
    arrow-up
    30
    ·
    3 years ago

    Listen. I just don’t like that they replaced glass with TV screens that show what’s behind

    • DarkenLM ( DarkenLM@artemis.camp ) 
      link
      fedilink
      arrow-up
      15
      ·
      3 years ago

      They fucking what now?

      • DragonTypeWyvern ( DragonTypeWyvern@literature.cafe ) 
        link
        fedilink
        arrow-up
        17
        ·
        3 years ago

        They replaced glass with screens that show what they think the product is.

        In stores run by the particularly stupid.

        • Comment105 ( Comment105@lemm.ee ) 
          link
          fedilink
          arrow-up
          21
          ·
          3 years ago

          The screens are there to play ads sometimes, and if you get there while an ad is playing, you either have to know the store and remember which screen the thing you want is behind, or you have to wait until the ad is over. Or you can go open every door until you find what you want. I prefer the latter because it makes the company have to pay more to cool their drinks.

          If enough people do it enough, maybe it’ll negate the advertising profits.

  • 𝘋𝘪𝘳𝘬 ( Dirk@lemmy.ml ) 
    link
    fedilink
    arrow-up
    27
    ·
    3 years ago

    I thought HTMX was a joke, but they’re serious.

    • Sören ( soeren@iusearchlinux.fyi ) OP
      link
      fedilink
      arrow-up
      11
      ·
      3 years ago

      I am serious

  • i_am_hungry ( i_am_hungry@meganice.online ) 
    link
    fedilink
    English
    arrow-up
    21
    ·
    3 years ago

    Svelte my man, I barely have to read the docs, just guess how things should be done because that’s how it would work in vanilla JS, and most often it just works.

    • Sören ( soeren@iusearchlinux.fyi ) OP
      link
      fedilink
      arrow-up
      7
      ·
      3 years ago

      Svelte is very good. If I had to use a frontend framework I would either pick svelte or soldijs both are great.

      • QuazarOmega ( QuazarOmega@lemy.lol ) 
        link
        fedilink
        arrow-up
        3
        ·
        3 years ago

        svelte or soldijs both are great

        What would you say is the most important difference between the two? I feel like I should dip my toes into Svelte, but I haven’t had a reason yet

        • provisional ( provisional@lemmy.sdf.org ) 
          link
          fedilink
          arrow-up
          6
          ·
          3 years ago

          Svelte is for if you hate React and like vanilla JavaScript. Solid or Next is if you like React.

          • space ( space@lemmy.dbzer0.com ) 
            link
            fedilink
            arrow-up
            4
            ·
            3 years ago

            And what if I hate both?

            • QuazarOmega ( QuazarOmega@lemy.lol ) 
              link
              fedilink
              arrow-up
              6
              ·
              3 years ago

              HTMX I guess, lol

          • QuazarOmega ( QuazarOmega@lemy.lol ) 
            link
            fedilink
            arrow-up
            2
            ·
            3 years ago

            Never used React, I went straight to Solid, but I quite like vanilla, I mean, you’ll always be using “vanilla” in some form or another

    • Kalothar ( Kalothar@lemmy.ca ) 
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Been a react dev for about 4 years now, I’ve heard good things about Svelte. But like from a career perspective would it be worth the switch now?

      • Zikeji ( Zikeji@programming.dev ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 years ago

        From a career perspective using it enough to know whether you’d like to or be willing to work with it in the future is probably enough. Then when you’re looking you know whether you want to apply for jobs focused on it.

        On that topic I’ve been on the market and haven’t seen Svelte mentioned a single time when searching, granted I’ve probably only looked at a couple hundred listings (most being WFH).

      • space ( space@lemmy.dbzer0.com ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        From a career perspective, think of languages and frameworks as tools. Knowing how to work with more tools broadens your horizon about what you can achieve and how efficiently. Sure, you can specialize on certain tools, but these come and go.

    • Anti-Antidote ( anti_antidote@lemmy.zip ) 
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      Svelte is the way to go

  • shrugal ( shrugal@lemm.ee ) 
    link
    fedilink
    arrow-up
    15
    ·
    3 years ago

    I personally don’t like the htmx style of coding. It often feels like having to explain what I want to do to someone else using only a limited set of custom words, instead of just doing it myself.

    • Sören ( soeren@iusearchlinux.fyi ) OP
      link
      fedilink
      arrow-up
      15
      ·
      3 years ago

      I understand you but for me it’s the opposite I am not bound to using js for everything and can just return html from the server like I want. Also everything else still works I can write js if I want to. Htmx gives me more words I can use in html not less. Also I can manage the state via the url and the server. In other frameworks I often had the problem that I was writing the same logic twice in backend and frontend.

      • provisional ( provisional@lemmy.sdf.org ) 
        link
        fedilink
        arrow-up
        7
        ·
        3 years ago

        Exactly. Not everything needs to be a goddamn SPA!

    • fidodo ( fidodo@lemm.ee ) 
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      I just peeked at the docs and right off the bat I don’t like how they have conflicting attributes like hx-get and hx-post. What happens if both are set at the same time? Why not just have hx-method?

  • GissaMittJobb ( GissaMittJobb@lemmy.ml ) 
    link
    fedilink
    arrow-up
    12
    ·
    3 years ago

    Reject Web technologies - embrace native mobile app development

    Compose feels like React but without the bad JavaScript parts, really pleasant experience!

  • ______ ( ______@lemm.ee ) 
    link
    fedilink
    arrow-up
    8
    ·
    3 years ago

    Any svelte enjoyers

    • silas ( silas@programming.dev ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 years ago

      !sveltejs@programming.dev

      There’s quite a few of us :) Looking forward to Svelte 5.

    • DarkenLM ( DarkenLM@artemis.camp ) 
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      Yes.

  • gronjo45 ( gronjo45@lemm.ee ) 
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    deleted by creator

    • Sören ( soeren@iusearchlinux.fyi ) OP
      link
      fedilink
      arrow-up
      4
      ·
      3 years ago

      If you know HTML and Python already I would recommend going for something like jinja2 + flask or fastapi and try some htmx stuff no need to use everything you can just refresh the site at the beginning. This should be pretty beginner friendly. It really depends on what you want to do. I don’t know much about Hugo or Publii. If you want to make an interactive website and not just a blog or static website I would advise you against using either of the two. If you want to get a job in frontend webdev I would advise you to learn javascript (https://javascript.info/) and some framwork like react also learn tailwind or css.

      • gronjo45 ( gronjo45@lemm.ee ) 
        link
        fedilink
        arrow-up
        2
        ·
        3 years ago

        deleted by creator

        • Sören ( soeren@iusearchlinux.fyi ) OP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3 years ago

          https://hypermedia.systems/introduction/ maybe this is a good read if you do want to go a bit against the current webdev mainstream. Disclaimer: I have not read it yet but i will.

  • marwwin ( marwwin@suppo.fi ) 
    link
    fedilink
    arrow-up
    3
    ·
    3 years ago

    I love HTMX ❤️

  • dingleberry ( dingleberry@discuss.tchncs.de ) 
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    Gross.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 41 users / week
  • 42 users / month
  • 1.41K users / 6 months
  • 871 local subscribers
  • 43.7K subscribers
  • 1.25K Posts
  • 10.2K Comments
  • Modlog
  • mods:
  • AgreeableLandscape ( AgreeableLandscape@lemmy.ml ) deleted by creator
  • cat_programmer ( cat_programmer@lemmy.ml ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code