We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@andreoav, @hyanmandian, @guilhermecomum, @lucassveloso do you guys have idea of how Kotlin guys would use it? In Android probably?
What do you think, something like field validation?
data Person( @CPF val cpf: Long )
Or something more explicity like composition or ihneritance (like a trait)?
class PersonController: Validatable ( private validation: CPFValidation )
Or even static?
fun validateFields() { Validations.validateCPF(someCPF) }
And I didn't even thought about how someone would use with the DSL features kotlin have. 😆
The text was updated successfully, but these errors were encountered:
So.. I think you know Kotlin better than us. I just did the Kotlin version of Hello World.
But, from my experience, static is "bad"... hard to test, hard to mock, DI... and many other buzz words.
Which one more idiomatic to Kotlin? I know that those data classes are specific to Kotlin, but annotations feels too much Java for me.
As a JS/GoLang dev, I always prefer composition.
Sorry, something went wrong.
alexrochas
No branches or pull requests
@andreoav, @hyanmandian, @guilhermecomum, @lucassveloso do you guys have idea of how Kotlin guys would use it? In Android probably?
What do you think, something like field validation?
Or something more explicity like composition or ihneritance (like a trait)?
Or even static?
And I didn't even thought about how someone would use with the DSL features kotlin have. 😆
The text was updated successfully, but these errors were encountered: