*looks at Phoenix and Absinthe
-
-
-
They‘re actually kind of good sometimes in libraries because then you don’t see their function calls in your stacktraces. It’s the major reason I use them in assertions.
- Još 3 druga odgovora
Novi razgovor -
-
-
Read exactly the same about Rust macros the other day, and always heard it about Ruby meta programming I think the general advice would be to avoid magical code But not always either, sometimes code that is easy to write (although magical) can pay off, eg if it’s a small app
-
Macros, operator overloading, interfaces, and even inheritance (yes), are tools for framework builders, not application builders. If you are writing application code you should not be coding macros, overloading operators, inventing interfaces, or extending your own classes.
- Još 4 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.