isosphere ( @isosphere@beehaw.org ) English17•1 year agoOh, 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 ( @SubArcticTundra@beehaw.org ) English5•1 year agoWhat’s rust like for web interface? I assume it’s still HTML based? No oop? Also, how do you feel about typescript?
isosphere ( @isosphere@beehaw.org ) English9•1 year agoIt 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.
sjolsen ( @sjolsen@beehaw.org ) English7•1 year agoMe, a firmware developer, writing baby’s first CSS:
AVeryCleverName ( @AVeryCleverName@lemmy.one ) English6•1 year agoI 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
fromzerotoinfinity ( @fromzerotoinfinity@sh.itjust.works ) English5•1 year agoUsed to be a frontend dev, switched over in the last year. My god how did I sleep at night without unit tests
SpaceCowboy639 ( @SpaceCowboy639@beehaw.org ) English4•1 year agoMan, my PHP backend is pretty good, all things considered. My React frontend though, is a nightmare.
aponigricon ( @aponigricon@beehaw.org ) English3•1 year agoIn 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
HTTP_404_NotFound ( @xtremeownage@lemmyonline.com ) English1•1 year agoI agree. backend is a nice pretty, organized place.
Frontend is chaos.
Weerdo ( @Weerdo@lemmy.world ) English1•1 year agoI am no allowed to touch frontend. My sense of aesthetics is horrid. Therefore the backend gets all my supposed beutification.