https://kotlinlang.org logo
#amper
Title
# amper
s

sdeleuze

11/13/2023, 2:17 PM
Hi, congrats for Amper announcement. I would like to provide my feedback, as I have a strong hope that something else than Yaml could be used in the future for a wide range of reasons (version numbers and collections would be very error prone, weak support for schemas, etc.). That said, I am perfectly aware it is hard to find the right format. For now, TOML and a subset of Kotlin are my 2 preferred options, see this Reddit discussion and this conversation with Cédric Champeau. If you provide non-JVM tooling (via Kotlin Native or GraalVM), first class schema support and choose a catchy name and file extension, the subset of Kotlin could be pretty successful IMO even outside of the JVM world, because we see there is no straightforward answer to this need yet and the syntax of Kotlin DSL + data classes is pretty appealing. So it could potentially be a gateway to Kotlin for various developers. And the fact it could be a subset of "Kotlin with DSL style of code" could be pretty appealing, with a lot of use cases, including in Spring. Also be able to "share the knowledge" between "Kotlin Properties" and "Kotlin Code" would be nice. Without proper specs, I would love to see a Rust implementation usable with Wasm projects for example. BTW if you choose a subset of Kotlin, IMO the name should not be "Kotlin Something" (too Kotlin specific), but could start by a K. The ambition should be IMO to make this format appealing outside JetBrains/Gradle/JVM/Kotlin world. Any thoughts?
👀 2
👍🏼 1
👍 1
c

christophsturm

11/13/2023, 5:02 PM
IMO it would be better to use something existing as a first step. its not only that amper needs to be able to read the format we also need IDE support. And it should be something that supports validation. I think cue-lang could be great.
a

asm0dey

11/13/2023, 5:04 PM
Subset of Kotlin sounds to me almost as "Starlark"
j

Jacob Ras

11/13/2023, 5:07 PM
> IMO the name should not be "Kotlin Something" (too Kotlin specific), but could start by a K So.. KAML? Kotlin's Amper Markup Language 😬
😂 1
🔥 3
s

sdeleuze

11/13/2023, 5:10 PM
Maybe
*.kd
but let’s keep the meaning of the K secret to not afraid non JVM people 😉
D like Data
👀 1
m

mbonnin

11/13/2023, 5:33 PM
I like this idea! Bonus points if its name hints at a small island somewhere in the world 🏝️
😁 2
5 Views