top | item 46581275

(no title)

h1fra | 1 month ago

Love the idea, but I don't think this "built for [...] non-technical users" works. All the examples were more confusing to me vs a regular programming language and definitely not accessible to non-technical users.

Also, why would I want to compile to multiple languages? If I'm building a no-code platform, I won't bother supporting 3 different languages since I'm the only one seeing the code.

discuss

order

swrobel|1 month ago

Yeah, P30D as presumably intuitive to non-technical users has me chuckling

Also, knowing that TODAY > signup + P30D transpiles to TODAY > signup + 30.days in Ruby. Which one is more readable?

blambeau|1 month ago

Point taken. Will see what I can do.

Probably TODAY + Duration({ days: 30 }) would be a better example then.

ElectricalUnion|1 month ago

Is this even valid ruby? Doesn't it need Rails-specific Active Support to work?