• isosphere@beehaw.org
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    Oh, absolutely the opposite for me too. I’ve written the backend for a project I’m working on, it was smooth sailing the entire time. Define your data model, build an API, think about business logic and security, all very rational and step by step.

    Now I have to make the UI. It’s a horrible slog to do basic things. Drag and drop? More like drag my corpse because I’ve dropped dead

    I refuse to use JS anymore, so I’m doing everything in WASM (Rust/yew). It’s better, but still pretty high friction.

    • SubArcticTundra@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      What’s rust like for web interface? I assume it’s still HTML based? No oop? Also, how do you feel about typescript?

      • isosphere@beehaw.org
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        It takes some getting used to, but for me it’s much better than JavaScript and even TypeScript. TypeScript is a little better than using JavaScript, but not by much. I still find it very frustrating to use. The ecosystem is a mess, IMO.

        In Rust when doing web work, at least when using the Yew framework, you return an Html type from functions. Kinda like this:

        fn hello_world(props: &Props) -> Html {
          // do logic
           html!{
              <div>{ props.username }</div>
           }
        }
        

        It’s very similar to using React, with various state / hook things that have been developed pretty directly with reference to how React does things.

  • AVeryCleverName@lemmy.one
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    I have been playing around with tkinter in python and the idea of making a widget respond to the size of its content gives me cold sweats

  • masked_nybbles@beehaw.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    This gives me the impression it is trying to convey that the front-end hides a thinly veiled mess from the user — showing only what the developer’s want users to see — not what it is actually like to program in each role. It appears to me this is meant to be the same scene from two perspectives, not two different situations altogether.

    It is not my intention to be annoying. I apologise in advance to anyone that sees my analysis as sucking the fun out of something intended to be lighthearted and saying anything a waste of time.

  • aponigricon@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    In one of my teams (otherwise consisting of back-enders) I’m the only one with a sense of aesthetics who is expected to make major changes to the front-end