News for hackers. Stuff that matters.
Re:Nazca – New GUI for the Web by airstrike on Wednesday November 03, 2021 @12:02PM (#29096500)
I'll make the easiest criticism and just say that if you're building something with a stated goal of being "syntactic sugar", their hello world example is god awful...

From the README:

    .html {
        .head {
            .title {
                text: A simple Hello World example;
            };
        };
        .body {
            .div {
                text: Hello world;
            };
        };
    };
Just off the top of my head, compare that with Haml and let me know which one you'd rather type:

    %html
      %head
        %title
          A simple Hello World example
      %body
        #somedivid
          Hello world
...and that's assuming you couldn't replace Haml's %s with .s to match Nazca
Re:Nazca – New GUI for the Web by tedmiston on Wednesday November 03, 2021 @01:26PM (#29097713)
I literally looked at the hello world examples, asked myself "what is this conflated mess?" and scratched my head. Maybe I'm just old or missing something here. ¯\_(ツ)_/¯
Re:Nazca – New GUI for the Web by HelloNurse on Wednesday November 03, 2021 @12:31PM (#29096917)
It seems a case of JSON addiction, or even (since there are semicolons) JavaScript addiction.
Re:Nazca – New GUI for the Web by WorldMaker on Wednesday November 03, 2021 @02:17PM (#29098406)
Given the later examples it almost seems like trying to merge everything into CSS syntax, but then the selectors don't make any sense (.html rather than html?) and yeah the way too many semicolons also doesn't make any sense (why do you need semicolons at the end of {} blocks? I can't think of any language that does that).
Re:Nazca – New GUI for the Web by zamadatix on Wednesday November 03, 2021 @04:47PM (#29100055)
Seems very much like invoking the age old YAML vs JSON debate. You may be surprised what some others prefer.
Re:Nazca – New GUI for the Web by nielsbot on Wednesday November 03, 2021 @02:47PM (#29098752)
One of the great aspects of HAML is that there are no closing tags/delimiters.

Requiring enclosing braces and semicolons after every line are unfortunate choices IMO.

Re:Nazca – New GUI for the Web by Apofis on Wednesday November 03, 2021 @01:46PM (#29098017)
If anybody ever wanted HTML and JS in their CSS files instead, then nazca is definitely for you.