News for hackers. Stuff that matters.
Re:Tailwind UI by larrywright on Wednesday February 26, 2020 @09:47AM (#22423334)
If you truly know assembler, C/Python/Ruby/Go is a waste of time.

See how dumb that sounds?

Re:Tailwind UI by Nullabillity on Wednesday February 26, 2020 @11:09AM (#22424229)
Following that analogy, Tailwind is C files that only contain inline assembler blocks.

Yes, you can check off on your list that you no longer have any .S files. But did you actually gain anything?

Re:Tailwind UI by csande17 on Wednesday February 26, 2020 @11:35AM (#22424515)
I can see it now:

> Most C libraries do too much.

> They come with all sorts of predesigned components like functions and structs that might help you move quickly at first, but cause more pain than they cure when it comes time to make your program stand out with custom behavior.

> Tailwind C is different.

> Instead of opinionated predesigned components, Tailwind provides low-level utility macros that let you build completely custom functionality:

    void main() {
        BEGIN_TAILWINDC
        MOV(RAX, 4);
        MOV(RDI, 1);
        MOV(RSI, "Hello world!\n");
        MOV(RDX, 13);
        INTERRUPT(128);
        END_TAILWINDC
    }
And then every Hacker News discussion of Tailwind C would inevitably include a link to their "Why using Tailwind C is definitely not just as bad as writing inline assembler" documentation page.

Ooh, and then the creator of Tailwind C would start selling the Tailwind C Library, with like an implementation of memcpy that you just cut-and-paste into your program every time you need to copy memory.

Re:Tailwind UI by WilliamEdward on Wednesday February 26, 2020 @01:20PM (#22425656)
I get the sentiment but Python is to assembly as Tailwind is to assembly. It's too far removed.

The leap between vanilla css and tailwind is not large at all.

Re:Tailwind UI by larrywright on Wednesday February 26, 2020 @03:02PM (#22426720)
It’s not a perfect analogy, I will concede. C to assembly is closer. That said...

Assembly: raw html and css C: A framework like Tailwind Python: Components, like TaildwindUI or any of the React components I’ve seen

I think that’s not a bad analogy.

Re:Tailwind UI by chrshawkes on Wednesday February 26, 2020 @10:02AM (#22423497)
Disagree. Dumb is doing the same thing over and over again and creating new tooling to do the same thing over and over but with added dependencies and frameworks. The fundamentals of web development have barely changed but the flavor of the month way of doing the same thing is constant.
Re:Tailwind UI by larrywright on Wednesday February 26, 2020 @10:11AM (#22423587)
HTML and css are way too low level to be productive in, in my opinion. Especially when dealing with wide ranges of screen sizes, browsers, and platforms. The only way I’m interested in touching the stuff is if there are tools to alleviate the pain.

Caveat: not a UI developer, I’ve mostly done backend work And DevOps for quite some time.

Re:Tailwind UI by wolco on Wednesday February 26, 2020 @11:47AM (#22424669)
HTML and CSS are too low level? Does such a tool like dreamweaver with response rendering exist?

It's an interesting concept.

Re:Tailwind UI by larrywright on Wednesday February 26, 2020 @02:59PM (#22426698)
I base my comment on the effort required to make a simple web page that a) looks the same across different browsers and devices, b) is responsive, c) supports relatively basic concepts like dropdown menus, columnar layouts, etc...

It’s way too much effort for me to want to mess with, and then you have to repeat the same things for every site you make.