Hacker News new | ask | show | jobs
by lylejantzi3rd 544 days ago
It's not all that much different than html or even React. You can assign each part to named functions and turn it into something more like this:

    LandingPageDesktop(landingPageDesktopId, landingPageDesktopProperties) {
      LandingPage(landingPageId, landingPageProperties) {
        LeftText() {
          etc...
        }
      }
    }
The real issue is trying to represent graphical objects, and the relationship between those objects, with text. Graphical builders/RAD tools seem like such an obvious solution, but that approach has largely been abandoned.