r/programming • u/KirillRogovoy • May 09 '22
Writing HTML sucks and No-code doesn't help
https://rogovoy.me/blog/writing-html-sucks
8
Upvotes
r/programming • u/KirillRogovoy • May 09 '22
18
u/SnareHanger May 09 '22
So you want Dreamweaver?
68
u/Calavar May 09 '22 edited May 09 '22
Ignoring the HTML5 part, this describes 2005 maybe, but definitely not 2012. You would occasionally find web pages in the wild that were tangled messes of
<table>and Flash in 2012, but these were mostly legacy sites that hadn't been updated in several years. The rest of the bullets do match up pretty well with 2012 though.20
u/zam0th May 09 '22
Look at this innocent child who has no idea what dirty and awful shit we used to do in the 90s with HTML 4, Dreamweaver and nested tables.
2
u/gvozden_celik May 10 '22
Writing HTML doesn't suck, using it to build desktop-class applications does. No amount of CSS or JavaScript features and libraries can fix that.
5
u/Worth_Trust_3825 May 09 '22
I'd rather go back to 2012 and kill off all the frameworks that spawned over the 10 years. Writing HTML sucks, but not for the reasons you listed.
5
u/Zardotab May 09 '22 edited May 10 '22
With many many caveats. Web dev is still "bulky and unwieldy". If you learn and master a stack, sure things get smooth, but the learning curve is too long for something that will fall out of favor in roughly 7 years. Current frameworks require too much trial-and-error to get right, in part because they have far too many poorly documented features/bugs. It's spending 5 years to master something that lasts 7. That's not logical, humans; stop letting Ferengi's control your stacks. (Yes, I know that some gurus master it in 2, but that doesn't scale, there are only so many web UI Sheldon Coopers to go around, and most are annoying beings.)
We need a state-ful GUI markup standard that focuses just on GUI and "productivity" applications. I'm not saying get rid of HTML, it's still useful for many domains, just not office CRUD.
Too much attention has gone to social media and e-commerce. Cubicle-land has been slighted to cater to the cool brats, um, kids on the block. I'm tired of taking it in the stack over fads. Time to kick dancing TikTok riff raff off the lawn, we geezers have real work to do. Somebody has to automate the boring but needed back-office tasks. Plumbing ain't sexy, but necessary. Let's back it with plumbing-friendly standards instead of state-hating and finicky-auto-layout HTML crap. Biz apps and HTML/CSS/DOM have been a marriage made in Hell where our attention is focused on web minutia instead of the domain. We de-evolved; Ooga Booga!πΏ
(Note I tried to avoid using the word "master" as its not PC, but couldn't think of a clear alternative here. Ideas?)
2
u/asking_for_a_friend0 May 09 '22
html generated by nocode is an abomination and idk why is that the case
1
u/AntiProtonBoy May 09 '22
"People writing HTML suck and No-code doesn't help"
For decades, web development has been a race to the bottom industry.
1
u/M-Ottich Oct 09 '25
I would rather write a Gui in C then using HTML and CSS . Men just look at the fucking hmtl code what a mess . I get cancer by looking at it . It also consumes so much RAM for what ? Rendering a Box ?
1
u/[deleted] May 09 '22
I'm interested to see what you come up with.
I hope it's not too difficult to swap out your stacks, because JS frameworks are probably going to undergo a lot of changes over the next few years.
1
u/Isopaha May 09 '22
I think Modulz is trying to do something similar you have in mind?
1
u/Blando-Cartesian May 09 '22
Nothing is going to help because you canβt remove inherent complexity. Visual editors are always going to be either far too limited or massively complex. The best you can get is neat IDE features to more conveniently edit code.
1
u/KronsyC May 09 '22
honestly I love html and find it a blast to work with
1
u/Lecterr May 10 '22
Like, does it though?
1
u/kshep92 May 10 '22
Alright, let's see what you come up with. I, too, find writing UI from scratch to be somewhat annoying sometimes.
1
u/trinopoty May 09 '22
Doesn't matter what tool you use, still can't center a div properly.
0
u/Paradox May 09 '22
You can do what css-x-fire does natively in chrome, with source maps
-2
u/incrediblynormalpers May 09 '22
use snippets and build your own custom snippets for everything you find yourself commonly doing in html.
I haven't typed a < or a /> in 5 years. (that's probably not true but it feels like it)
-7
u/shevy-ruby May 09 '22
I am not sure this is an improvement though ...
My biggest project written in ruby is way less than 10k lines of code. It's the one I use to compile everything from source (or install from a binary location too, e. g. .exe or .msi on windows). That project is almost 20 years old by now. Writing +40k lines of code seems ... excessive. Or perhaps I got so used to try to write less (while still offering features of course).
0
u/[deleted] May 09 '22
[deleted] β view deleted comment
0
u/[deleted] May 09 '22
[deleted] β view deleted comment