It's the opposite for me, but it doesn't make this any less relatable.

3 years ago by Admiral Patrick to c/programming

isosphere 14 points 3 years 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.

path: 0 64005, hotness: undefined, score: 14, children: 2
SubArcticTundra 4 points 3 years ago

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

path: 0 64005 64528, hotness: undefined, score: 4, children: 1
isosphere 6 points 3 years 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.

path: 0 64005 64528 64694, hotness: undefined, score: 6, children: 0
sjolsen 6 points 3 years ago

Me, a firmware developer, writing baby's first CSS:

path: 0 61401, hotness: undefined, score: 6, children: 0
fromzerotoinfinity 5 points 3 years ago

Used to be a frontend dev, switched over in the last year. My god how did I sleep at night without unit tests

path: 0 61768, hotness: undefined, score: 5, children: 0
AVeryCleverName 5 points 3 years 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

path: 0 64060, hotness: undefined, score: 5, children: 0
aponigricon 2 points 3 years 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

path: 0 63624, hotness: undefined, score: 2, children: 0
SpaceCowboy639 1 point 3 years ago

Man, my PHP backend is pretty good, all things considered. My React frontend though, is a nightmare.

path: 0 60183, hotness: undefined, score: 1, children: 0
Weerdo 1 point 3 years ago

I am no allowed to touch frontend. My sense of aesthetics is horrid. Therefore the backend gets all my supposed beutification.

path: 0 57829, hotness: undefined, score: 1, children: 0
programming
programming

@beehaw.org

login for more options
3347
186
1

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

go to feed...