Wasn’t HTMX just a meme? I can’t really tell if it’s serious because of Poe’s Law.
htmx sucks: https://htmx.org/essays/htmx-sucks/
The Grug Brained Developer (2022)
51–60 of 603 posts
Re: The Grug Brained Developer (2022)
#52this very cool I smell a formal grammar behind dumbiffied grug english. nonetheless, I think that when it says: > so grug say again and say often: complexity very, very bad at the end of that section, it shoulud say instead: > so grug say again and say often: complexity very, very, very bad this disambiguates 3 instances of same concept/idea AND, even better, showcases 3 values of increasing strength like for warning…
But it should be fairly quick, expect an updated version around end of summer or just after.
Re: The Grug Brained Developer (2022)
#53Wasn’t HTMX just a meme? I can’t really tell if it’s serious because of Poe’s Law.
Solopreneur making use of it in my bootstrapped B2B SaaS business. Clients don't need or want anything flashy. There are islands of interactivity, and some HTMX sprinkled there has been a great fit.
Re: The Grug Brained Developer (2022)
#54Grug user find program that does that and more.
Grug user confused by menu.
Grug user wish tool only did keyword research.
Re: The Grug Brained Developer (2022)
#55https://docs.google.com/document/d/1emldq9MovfYshOSkM9rhRUcl...
not as good as the original, i know!
Re: The Grug Brained Developer (2022)
#56So many gems in here but this one about microservices is my favorite: grug wonder why big brain take hardest problem, factoring system correctly, and introduce network call too
Now I understand that “architecture” and “patterns” is a jobs program for useless developers. It’s this, or they’d be on the streets holding a sign saying “will write JavaScript for a sandwich”.
Re: The Grug Brained Developer (2022)
#57Wasn’t HTMX just a meme? I can’t really tell if it’s serious because of Poe’s Law.
It's very effective, simple and expressive to work this way, as long as you keep in mind that some client side rendering is fine.
There are a few bits I don't like about it, like defaulting to swap innerHTML instead of outerHTML, not swapping HTML when the status code isn't 200-299 by default and it has some features that I avoid, like inline JSON on buttons instead of just using forms.
Other than that, it's great. I can also recommend reading the book https://hypermedia.systems/.
Re: The Grug Brained Developer (2022)
#58Earlier quoted context omitted.
It would be really embarrassing to use one of the most popular, time-tested languages. Even if we decided to use Zig for everything, hiring for less popular languages like Zig, lua, or Rust is significantly harder. There are no developers with 20 years experience in Zig
Being at a firm where the decision to use C++ was made, the thought process went something like this: "We're going to need to fit parts of this into very constrained architectures." "Right, so we need a language that compiles directly to machine code with no runtime interpretation." "Which one should we use?" "What about Rust?" "I know zero Rust developers." "What about C++?" "I know twenty C++ developers and am conf…
Re: The Grug Brained Developer (2022)
#59This has by far the best discussion of the visitor pattern I've yet to come across.
I don't work in typical OO codebases, so I wasn't aware of what the visitor pattern even is. But there's an _excellent_ book about building an interpreter (and vm) "crafting interpreters". It has a section where it uses the visitor pattern. https://craftinginterpreters.com/representing-code.html#the-... I remember reading through it and not understanding why it had to be this complicated and then just used a tagged u…
https://prog2.de/book/sec-java-expr-problem.html - Not the writeup I was looking for but seems to cover it well.
> Why burden ourselves with indirection and complexity when there's a more straight forward way?
Because each way has its own tradeoffs that make it more or less difficult to use in particular circumstances.
https://homepages.inf.ed.ac.uk/wadler/papers/expression/expr... - Wadler's description of the expression problem.
Re: The Grug Brained Developer (2022)
#60The Grug Brained Developer (2022) - https://news.ycombinator.com/item?id=38076886 - Oct 2023 (192 comments)
The Grug Brained Developer - https://news.ycombinator.com/item?id=31840331 - June 2022 (374 comments)