https://htmx.org logo
Join Discord
Channels
htmx-general
alpine-htmx
bash-htmx
cobol-htmx
cold-fusion-htmx
cplusplus-htmx
crystal-htmx
deno-htmx
🔥-django-htmx
dotnet-htmx
elixir-htmx
go-htmx
haskell-htmx
hiring-and-consulting
hotwire-htmx
htmx-dev
hyperscript
java-htmx
lisp-htmx
missing_dot_css
nim-htmx
node-htmx
ocaml-htmx
perl-htmx
php-htmx
python-htmx
r-htmx
ruby-htmx
rust-htmx
showcase
ye-olde-intercoolerjspth
Powered by
# htmx-general
  • m

    miniature-lizard-24702

    09/02/2022, 9:54 PM
    yes...
  • m

    mysterious-toddler-20573

    09/02/2022, 9:54 PM
    but also easier
  • m

    mysterious-toddler-20573

    09/02/2022, 9:54 PM
    but also annoying
  • m

    miniature-lizard-24702

    09/02/2022, 9:54 PM
    yes!
  • m

    miniature-lizard-24702

    09/02/2022, 9:54 PM
    😅
  • m

    mysterious-toddler-20573

    09/02/2022, 9:54 PM
    welcome to platform code, enjoy your stay
  • m

    miniature-lizard-24702

    09/02/2022, 9:54 PM
    😐
  • m

    mysterious-toddler-20573

    09/02/2022, 9:54 PM
    just so
  • m

    mysterious-toddler-20573

    09/02/2022, 9:55 PM
    You always wanted to learn about the internals of a parser anyway
  • m

    miniature-lizard-24702

    09/02/2022, 9:55 PM
    it parses that, it just doesn't work yet
  • m

    miniature-lizard-24702

    09/02/2022, 9:56 PM
    The question is do I want inline html functions that badly
  • m

    mysterious-toddler-20573

    09/02/2022, 9:56 PM
    just scan the children of the fragment element and look for symbol usage, gather then up and blam, you've got your signature
  • m

    miniature-lizard-24702

    09/02/2022, 9:56 PM
    Because I can pull that out into it's own function in the same file as the template
  • m

    mysterious-toddler-20573

    09/02/2022, 9:56 PM
    easy peasy! 😑
  • m

    miniature-lizard-24702

    09/02/2022, 9:57 PM
    it's not because theres no syntax tree, it's generating output as it's going
  • m

    mysterious-toddler-20573

    09/02/2022, 9:58 PM
    always liked manual parameters
  • m

    miniature-lizard-24702

    09/02/2022, 9:58 PM
    lol
  • m

    miniature-lizard-24702

    09/02/2022, 9:58 PM
    that's Valyala for you, maker of FastHTTP for go
  • m

    mysterious-toddler-20573

    09/02/2022, 9:59 PM
    here's your chance! you, too, can ruin your life: https://grugbrain.dev/#grug-on-parsing
  • m

    miniature-lizard-24702

    09/02/2022, 9:59 PM
    gah
  • m

    miniature-lizard-24702

    09/02/2022, 9:59 PM
    text wall
  • m

    miniature-lizard-24702

    09/02/2022, 10:00 PM
    questions whether implementing html fragments is worth the time and effort
  • m

    mysterious-toddler-20573

    09/02/2022, 10:00 PM
    100% the right question to be asking
  • m

    mysterious-toddler-20573

    09/02/2022, 10:00 PM
    doing it right in a statically typed language isn't trivial
  • m

    mysterious-toddler-20573

    09/02/2022, 10:01 PM
    pretty easy for dynamic languages
  • m

    mysterious-toddler-20573

    09/02/2022, 10:01 PM
    but the manual parameter approach isn't too bad and might be useful
  • m

    miniature-lizard-24702

    09/02/2022, 10:03 PM
    go does have a
    interface{}
    to put anything in but...
  • m

    miniature-lizard-24702

    09/02/2022, 10:03 PM
    casting
  • m

    miniature-lizard-24702

    09/02/2022, 10:04 PM
    I guess it's like object in c#
  • m

    mysterious-toddler-20573

    09/02/2022, 10:07 PM

    https://c.tenor.com/qlk5QQXX7zAAAAAC/lemon-grab-rip-off-clothes.gif▾

1...810811812...1146Latest