News for hackers. Stuff that matters.
Re:Rust vs. Go by ehsanu1 on Wednesday January 18, 2017 @08:34PM (#13432201)
Templating can't be the craziest thing in Rails. In fact, I can't remember the last time it gave me any trouble. Are you just talking about how ERB specifically works, or how templates are invoked/rendered? Or is there just some insane metaprogramming stuff in its implementation (there always is with Rails)?
Re:Rust vs. Go by eric_the_read on Thursday January 19, 2017 @05:22PM (#13440013)
Mostly it's about how the templating process itself works. I once had a strange bug involving how a variable was (not) bound in the view, and I believe I lost count between 20 or 30 steps from when the controller tried to render the view until someone or another called ERB.new.