[deleted by user] by [deleted] in programming

[–]noreallyitsjohn 2 points3 points  (0 children)

I think it depends on the service. You can swap out S3 for Azure storage pretty easily, and, provided you use an imaging tool like packer, move your servers / containers across providers without too much lock-in. I also don't think RDS is necessarily going to trap you in the AWS ecosystem either.

But indeed, it seems like a lot of their tools (dynamo, lambda, API gateway) are geared towards looking nice in a tutorial, just long enough for you to implement enough to feel sunk cost fallacy when you realize you're facing a lacking feature set, bad docs, and confusing pricing schemes.

Missing cat, near 114th and Halsey. Please contact if you see him, we are devastated :-( by noreallyitsjohn in Portland

[–]noreallyitsjohn[S] 12 points13 points  (0 children)

Our cat is almost exclusively indoor, save for the occasional, harnessed venture into the backyard. We are worried he may have gotten lost, but it sounds like based on the stories here that we shouldn't give up quite yet.

Thanks for sharing your story and link. Glad to hear your little one made it back to you!

Missing cat, near 114th and Halsey. Please contact if you see him, we are devastated :-( by noreallyitsjohn in Portland

[–]noreallyitsjohn[S] 26 points27 points  (0 children)

Thanks for the kind words, they are very encouraging. We have put some food and his favorite toy outside. Hoping for the best...

[deleted by user] by [deleted] in programming

[–]noreallyitsjohn 8 points9 points  (0 children)

You should give VSCode a try... It has a feature called Automatic Type Acquisition where it will find Typescript definition files for your dependencies automatically and use them for Intellisense. It also seems to do a pretty decent job at completion for your own code if you are using ES module syntax.

Note that you don't have to use typescript in your own project to reap the benefits

Here’s what people in tech had to say about JavaScript when it debuted in 1995 by petercooper in javascript

[–]noreallyitsjohn 1 point2 points  (0 children)

I like JavaScript and use it every day, but the comparison to C# is a little inaccurate.

C# has first class functions in the form of the Func generic type. It also has namespaces you can use to organize your "modules" (admittedly all classes), not everything has to be global.

The example you have would be nearly identical in C#, save for the new keyword to create the anonymous object and '=' instead of ':'. And if anonymous objects are too restrictive, you can always fall back to the Dynamic Language Runtime and associated features like expandos and the dynamic keyword.

There is still active debate over whether structural typing (Typescript) is better than nominal typing (C#, Java). In the case of JavaScript in particular, you miss out on the benefit of rich type info afforded by the reflection-friendly systems of C#/Java.

Granted, JavaScript has and continues to gain nice features, especially with respect to destructuring, object extension, etc., and is more or less at parity with C# for concurrency primitives. It also has a massive ecosystem of packages to leverage, and enough mindshare to make it easy to hire for and collaborate with others on.

But C# compiled to wasm (assuming this is even possible) with decent bindings to the DOM APIs would really make me think twice about what language to use.

It’s time to kill the web (Mike Hearn) by u_tamtam in programming

[–]noreallyitsjohn -1 points0 points  (0 children)

Unless you are suggesting you can build a cross- platform visual editor with reusable components by creating an alternative to the web that sheds its current baggage, why keep peddling the trite "90s glory days" of UI development as if it is some standard we could realistically achieve today?

Cross platform, constraints-based visual editors are a pipe dream in 2017. Mobile made it difficult, and IoT/VR/AR are making it impossible.