purr changed the topic of #elliottcable to: a
_better_ cult || topics << 'gamedev'
prophile has quit [Quit: The Game]
alextextual5 is now known as alexgordon
devyn has quit [Remote host closed the connection]
alexgordon has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
devyn has joined #elliottcable
sharkbot has quit [Remote host closed the connection]
sharkbot has joined #elliottcable
eligrey has quit [Quit: Leaving]
Sgeo is now known as WickedWitch
WickedWitch is now known as Sgeo
prophile has joined #elliottcable
gozala has quit [Quit: Connection closed for inactivity]
alextextual5 has joined #elliottcable
manveru_ is now known as manveru
prophile has quit [Quit: The Game]
perrier has joined #elliottcable
alextextual5 has quit [Ping timeout: 255 seconds]
gozala has joined #elliottcable
eligrey has joined #elliottcable
alextextual5 has joined #elliottcable
<
nuck>
oh. my. god.
<
nuck>
Ember is so fucking braindead
<
nuck>
Controllers are singletons, so when you navigate between pages, if you forget to reset the properties they just stick around
<
nuck>
So you might be on /users/butts and set a property on the UsersController
<
nuck>
Specific to the butts user
<
nuck>
But if you go to /users/dicks, it'll still have that property
<
nuck>
Like, singleton controllers COULD be useful in some cases, but are definitely not a reasonable default
<
nuck>
I should not have to MANUALLY reset my controller
<
nuck>
And they also claim that the object model they created is "just like ES6"
<
nuck>
(spoiler: it's not even remotely like ES6)
<
Aria>
I wish anyone had a clue what a controller was except the "not the other bits" of a framework.
<
nuck>
In ember, the controller is a viewmodel
<
nuck>
Which makes it even more absurd for it to be a singleton
<
nuck>
Yeah, they swap the model in the controller singleton
<
nuck>
the controller also acts like a proxy to the model
<
Aria>
Huh. That seems sane, after using backbone.
<
nuck>
Yeah the proxying thing is fine, honestly a great setup
<
nuck>
But it shouldn't be a singleton
<
nuck>
They make some grumbled response like "Well, in long lived applications it makes sense"
<
nuck>
Which is totally false. It makes just as little sense in long-lived applications
<
Aria>
Too much state.
<
alextextual5>
sup nuck