Macros in Elixir should be used with extreme caution. Model your problem in data structures and make regular modules, with regular functions, that work with and transform those data strucutres. Rarely it is a good idea to auto generate functions to solve a data modeling problem.
-
-
I think application builders *should* be building frameworks as part of application building to keep things organized. Those frameworks might be absolutely useless to anyone else.
-
As soon as I sent that tweet I recalled your recent tweet about building frameworks as an alternative to microservices to tame complexity. I'll add an exception to my recommendation: "If you have Martijn Faassen's experience and good taste as author of frameworks, go ahead!"
- Još 3 druga odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.