"I am able to keep the freedom and expressiveness of JavaScript to which I have become so accustomed while getting enterprise-level type checking and refactoring capabilities. Declaration of objects and interfaces is a dream."
"I am able to keep the freedom and expressiveness of JavaScript to which I have become so accustomed while getting enterprise-level type checking and refactoring capabilities. Declaration of objects and interfaces is a dream."
I got there from thier other article "Does Electron live up to the hype?"
https://www.cycligent.com/blog/does-electron-live-up-to-the-...
tl;dr - It does
I am not associated with the company. I download and tried Cycligent to see how their Elecron app turned out (I'm a big fan of Electron.) It looks like a decent git client, although it feels like a web app with the dialogs that slide in. I could get used to it. Screen shot:
It creates applications that require at the very least three times as many resources as Qt, which is also a cross-platform tool-kit that allows you a lot of freedom (specially with QML) as well as native OS widgets using a single codebase (although probably compromising on the HIGs' patterns for each OS).
I fail to see how Electron lives up to its hype as a holy grail for cross-platform application development, unless my impression of the hype behind it is wrong.
And please, if you believe you are above those ad-hominem attacks, don't use them yourself.
And exactly where was my ad-hominem attack?
Electron is much better than XUL along many dimensions.
At least it doesn't force you to use XML external entities in DTD files for text localization. [1]
You just call the Electron localization function! ;) [2]
[1] https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tu...
[2] https://en.wikipedia.org/wiki/Electron_localization_function
Meanwhile, Electron and their ilk use all the standard web languages, and JS is nowadays used much more (including on servers), so the code reuse is now actually useful.
Back then I could usually guess when some "desktop" apps were written in XUL, given their performance or lacking OS integration.
Same thing now with Electron apps.
They solved most of the expressiveness problems; at least for me. And Java only got them a year or two ago didn't it?
I use typescript a lot at the moment, I really miss it now when I have to write vanilla js, but it's still not a great language. You still have to think about 'this' a lot, 'this' still causes bugs, in many ways it's over verbose because every property and method call has to be prepended with 'this.'.
Google is bigger than most enterprises, and they don't use any "enterprisey" stuff, not even in their Java.
I doubt Google doesn't use any of the type checking and refactoring tools that come with all Java IDEs out there. You think they rename Java methods with command-line search&replace just to stay in touch with their inner startup? Come on. They're an enterprise like any other and they use what the OP calls "enterprise-level type checking and refactoring capabilities".
I agree that it's a stupid name but I think you're misunderstanding on purpose.
I rarely find such large teams in enterprises.
What I usually find is ad-hoc projects, some in VB6, some targeting IE6 in 2016 still, others in J2EE with "enterprise" application servers, etc. Most done by 1 to half a dozen people. And I don't see them "quickly changing composition" -- the same persons work in the same IT deps for decades...
>I doubt Google doesn't use any of the type checking and refactoring tools that come with all Java IDEs out there. You think they rename Java methods with command-line search&replace just to stay in touch with their inner startup?
No, I mean there's nothing enterprisey about refactoring.
Guess I've found my solution to my persistent angst over the repeated 'old geeks are screwed' stories around here!
The enterprise IT (and the financial sector, major organizations, etc) are the places where old geeks are quite ok -- if not to hire, surely to keep past 40 and 50 when they have already been working for you. The median age in an IT department in a large enterprise is much higher than in any SV startup.
It doesn't get more enterprisey than that.
It doesn't mean anything. I guess the author just meant static typing.
I know that is not the case with TypeScript. I believe the recent version added support for union types which is going to blow the mind of the naive JavaScript masses, for sure.
Describing any language as "enterprise grade" is rarely a good thing. Wording and phrasing is important.
"Modern" type checking is mostly about not writing types and strong inference
Aka
"Of the two languages I know, Typescript is my favorite."