I'm in this camp. I see both sides. To me, there is a big benefit to JS everywhere. By turning JS into a declarative plan can't we get the best of both worlds?
-
-
I don't think so. The JS is what gets checked in to source control, and thus you lose the easy inspectability and language independence
4 replies 0 retweets 2 likes -
Replying to @ben11kehoe @southpolesteve and
There’s a few attempts for imperative JS abstractions you write in app with magical layers generating infrastructure and it really bothers me. For instance, rollback plan? Sorry, you lose that new bucket with info because of a bug in unrelated critical feature.
1 reply 0 retweets 1 like -
Replying to @ShortJared @ben11kehoe and
Also, why is the canonical example for why these systems are useful just simple loops for generating auto scaling groups?
1 reply 0 retweets 3 likes -
Replying to @ShortJared @ben11kehoe and
Agree 100% the existing examples are garbage. I wish they would take a serverless first approach. Show me a complex system of >10 fns reacting to events from >3 services.
2 replies 0 retweets 0 likes -
Replying to @southpolesteve @ben11kehoe and
Off by one error, 10% of your system just broke.
1 reply 0 retweets 0 likes -
Replying to @ShortJared @ben11kehoe and
I think its possible to make a tool that makes these kinds of mistakes hard and also lets you write JS
1 reply 0 retweets 0 likes -
Replying to @southpolesteve @ShortJared and
I think that generally requires solving the halting problem
1 reply 0 retweets 1 like -
Replying to @ben11kehoe @ShortJared and
hmm? Not sure I understand 100%. It doesn't need to be perfect. "I'm sorry Dave, I can't do that because it would destroy data" will get you pretty far.
1 reply 0 retweets 1 like -
Replying to @southpolesteve @ShortJared and
When we have to *run* an infra spec to find out what it does, I think we've overcomplicated things
1 reply 0 retweets 0 likes
Eh, I just disagree. Ideally we can staticly analyze (so maybe vanilla JS is not right. I'm open to that point)
-
-
Replying to @southpolesteve @ben11kehoe and
My first crack JS idea would be to make any infra variable declarations outside of the top level scope lint errors. I think you could make a runnable JS program that would build an entire infra graph without actually running any code.
1 reply 0 retweets 0 likes -
Replying to @southpolesteve @ben11kehoe and
Eh I should prob not twitter speculate on this and just try and build a POC. I'm almost surely missing something.
0 replies 0 retweets 0 likes
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.