faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
_whitelogger has joined #amber
<FromGitter> <jwaldrip> Hey amber team. As im making improvements to Orion, I would hope that you could shed some light on something. I am debating between the trade off of variable isolation and just inlining the views. As of v3, the views are inlined. But with v4 I am change the interface to something like this: ⏎ ⏎ ```class MyController < Controller::Base``` [https://gitter.im/amberframework/amber?at=5f0d122e3c217837fd9998e4]
<FromGitter> <jwaldrip> locals assigns to a merged named tuple which keeps type and compile time safety
<FromGitter> <jwaldrip> and also still maintains a security layer between the view and controller
<FromGitter> <jwaldrip> thoughts?
FromGitter has quit [Ping timeout: 272 seconds]
FromGitter has joined #amber
raz has quit [Ping timeout: 256 seconds]
raz has joined #amber
raz has quit [Changing host]
raz has joined #amber
<FromGitter> <eliasjpr> I like the approach a lot @jwaldrip now I do think it would be overkill to always specify the vars can you simply make it a **args parameter? This way simply have to pass a namedtuple
<FromGitter> <mixflame> hey Amber friends
<FromGitter> <mixflame> I'm glad this is still going
<FromGitter> <andrewc910> @jwaldrip how are you actually rendering the view? I took a look rendering in amber and couldn't find a suitable way to change the render macro.
<FromGitter> <jwaldrip> come magic with the run macro ;-)
<FromGitter> <jwaldrip> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5f0dbf78343f5d69494c9056]
<FromGitter> <jwaldrip> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5f0dbfb90d37916fda748a23]
<FromGitter> <jwaldrip> @eliasjpr its a macro that relies on named args already, without restricting certain keys I couldnt do a doublesplat
renich has joined #amber
renich has quit [Quit: renich]
renich has joined #amber
_whitelogger has joined #amber
renich has quit [Ping timeout: 256 seconds]
renich has joined #amber
renich has quit [Ping timeout: 264 seconds]
renich has joined #amber
renich has quit [Ping timeout: 240 seconds]
renich has joined #amber
renich has quit [Quit: renich]