Markus Wüstenberg

Results 50 comments of Markus Wüstenberg

@averageflow thank you for the idea. I've actually tried something similar, but ended up deleting most of it again (for example, `InputHidden` for an `input` element with type `hidden` and...

@averageflow nice, sounds good. 😊 I'll keep this issue open for updates.

> Began working on this https://github.com/averageflow/htmlgonstants. I expect it will take some time to get a more finished and useful project. Cool! Love the name. :D I'll follow it and...

@averageflow how's your experience with the constants? Does it make creating views easier for you? I've thought about it a bit since. I really like the idea that it guards...

@averageflow thanks for the quick reply! No worries, of course you have other stuff to do as well. 😊 That sounds cool. I'm looking forward to learning more about your...

> The Map function could be generic, something like this. > > ```go > func Map[T any](elements []T, predicate func(elem T) Node) []Node > ``` Yeah, that's probably the best...

@oderwat @averageflow if you're still interested in this project and have some spare time, I would love to hear your thoughts on this little change. 😊

@oderwat thank you for your detailed reply! You're very kind. 😊 Your `N` function gave me a different idea: to create a function type that is also a `Node`. I'm...

Yeah, I think I like this solution too. Useful anywhere where lazy node evaluation could be nice. Maybe I should just call it `Lazy`.

Hmm. Sadly this doesn't work for attributes. I'll have to rethink a bit.