Earlier quoted context omitted.
> Being in the industry for 20+ years and starting as a teenager making games in Flash it makes really hard for me to treat webdev seriously with all their revolutionary innovations. I think the framing here is unfair. It's not that the people innovating in JS or HTML think what they're doing is "revolutionary" or has never been done before. Generally they are applying ideas that have been developed elsewhere, but ar…
Let me give you two anecdotes. (1) Some time ago I'm at a coding interview and I'm tasked with an algorithm to calculate the biggest rectangle you can make of a set of segments. Or something similar. I'm presented with a computer, with VSCode, with an open file with some code already. I left my chair, approached the whiteboard available in the room and started thinking about how to address the problem. The interviewe…
Show HN: A VSCode Extension to edit HTML visually in real-time
131–140 of 142 posts
Re: Show HN: A VSCode Extension to edit HTML visually in real-time
#132Earlier quoted context omitted.
What do you consider "not fine" about websites written in "just" html, CSS, and js?
You can't reuse pieces of UI functionality (a bundle of specific html, css and js) unless did copypasta which is obviously awful. Sharing business logic across different areas of an application becomes much harder and you can't non-trivially write and run tests across areas of your application because you are just using html,css and js. And the big monster: state. Sharing state safely across different areas of an app…
Re: Show HN: A VSCode Extension to edit HTML visually in real-time
#133Earlier quoted context omitted.
Oh I think it is very much "just fine", but people have requirements which make things too complicated. I find it way harder to work in a React app than a few .html and .js files. TypeScript's cool though.
Most people working professionally as web developers have limited ability to reduce the requirements and have to implement what their company ask for. At that point having something to manage the complexity is much better than not.
Re: Show HN: A VSCode Extension to edit HTML visually in real-time
#134Re: Show HN: A VSCode Extension to edit HTML visually in real-time
#135Earlier quoted context omitted.
I thought of MS Frontpage for a very brief moment as I was clicking the link to Live Preview.
Pinegrow[1] is somewhat similar to MS Frontpage IIRC. I highly recommend it. [1] https://pinegrow.com/
Re: Show HN: A VSCode Extension to edit HTML visually in real-time
#136Earlier quoted context omitted.
1) Rats nest of non-declarative JavaScript. 2) Rats nest of JavaScript callbacks. 3) Overlapping stylesheets with !important everywhere. 4) Elements used for style not their semantic purpose ( , ) 5) Subtle and not-so-subtle browser compatibility issues.
Also: using JS for things where HTML and CSS would have been sufficient, creating some of the issues above.
100 100 100 100 1.1s max paint (mobile) 0ms block 0.0xx max shift A+ headers 0 errors and 0 contrast errors webaim goes without saying of course
Re: Show HN: A VSCode Extension to edit HTML visually in real-time
#137Earlier quoted context omitted.
This is useful. I am occasionally day dreaming about moving my static site from Hugo to pure html which I write/edit myself. Do these features depend on complexity of the html or that doesn't matter? Does Javascript work in live preview?
Why do you fantasise about writing pure html manually for an entire website? Haven't you done it before?
If it was just html, I could modify it easily. But doing big structural changes in many html files is as painful. Visual tools, like this one should help with that.
Re: Show HN: A VSCode Extension to edit HTML visually in real-time
#138Earlier quoted context omitted.
I've never used E4X, but it at least looks like it'd make XML more tolerable. Most XML experience I had was ejabberd and XMPP. Was thoroughly pissed off by the end of it. We ended up sending JSON over IQ messages instead because we were super done with XML, only to find that iOS's XML parser takes O(N^2) time to parse each element. Had to split the elements to make it work. 0/10 would not recommend.
haha, reminds me of the GTA parser drama :)
Re: Show HN: A VSCode Extension to edit HTML visually in real-time
#139Re: Show HN: A VSCode Extension to edit HTML visually in real-time
#140Are we trying to reinvent web development? Last few years have been wild. We abandoned HTML CSS and JS websites that used to work just fine and ran after frontend component frameworks and now the circle is getting completed by building tools and extensions we had 20 yrs ago