I started developing a wrapper around KotlinPoet w...
# feed
f
I started developing a wrapper around KotlinPoet with a goal of replacing builder style method chaining with expressive Kotlin awesomeness. https://github.com/iFanie/KotlinComposer The project is only a few hours old, so any feedback would be much appreciated.
👍 3
d
1) A bit infix heavy IMO. 2) I think if one is in a compose scope, you shouldn't have to call
compose a
function again. 3) Why not contribute the DSL directly to kotlinpoet?
2
👍 3
c
2.1) having
compose a
all over the place doesn't read very well in terms of aesthetics.
👍 4
f
@Dominaezzz @Czar I don't see a way around it once modifiers get included. Is there a reason to avoid lots of infix functions? I'll do contribute once I have something complete and useful.
o
I’d generate all the DSLs, using KotlinPoet of course.
🧌 4