← Back to context

Comment by librasteve

7 days ago

I admire the goal of concise and expressive code.

Here is the basic table example presented in the post recast in https://harcstack.org functional HTML (well this is the entire website)...

  sub SITE is export {
    site
      index
        main
          table :thead[<Name Email Age>,],
            do {[.name, .email, .age]} for @users
  }

Note to self - never, ever do "like-for-like" comparisons with code.

To be fair HARC Stack doesn't have a table component with sortable, filterable cols yet - but it is HTMX centric so should be pretty fun to spin one up.

And never mention that this is raku code.