These are chat archives for TypeStrong/atom-typescript

28th
Jun 2015
Basarat Ali Syed
@basarat
Jun 28 2015 00:24
@Zoltu There are still problems to solve in the desktop version. Then perhaps ;)
Micah Zoltu
@MicahZoltu
Jun 28 2015 00:24
Desktop apps are soo 2010. :P
Mike Graham
@cmichaelgraham
Jun 28 2015 00:26
not with spark, right? that makes them 2016 ;)
Micah Zoltu
@MicahZoltu
Jun 28 2015 00:27
Spark?
Mike Graham
@cmichaelgraham
Jun 28 2015 00:27
oh you're gonna like spark :)
doh - wrong electrical term... its electron :)
Micah Zoltu
@MicahZoltu
Jun 28 2015 00:28
Oh. Electron annoys me. And atom.
If you are going to write something in JavaScript/HTML/CSS, it should be a web application.
Writing desktop applications in JavaScript baffles me.
Mike Graham
@cmichaelgraham
Jun 28 2015 00:29
gotcha... the architect in me wants one code base to deploy everywhere
Micah Zoltu
@MicahZoltu
Jun 28 2015 00:29
"Deploy" should mean, "point your browser at" not "run an installer".
Mike Graham
@cmichaelgraham
Jun 28 2015 00:30
and the same language on the backend too. but i'll admit that might very well be a failed approach :)
Micah Zoltu
@MicahZoltu
Jun 28 2015 00:30
What do I gain from having atom running on my desktop instead of my browser? Access to the filesystem? What is the advantage (these days) to a local filesystem over networked filesystem, performance for large files? Atom chokes on large files.
Mike Graham
@cmichaelgraham
Jun 28 2015 00:30
but it is really just a package with the browser and the website all smushed together, right?
Micah Zoltu
@MicahZoltu
Jun 28 2015 00:31
Yeah, a package that doesn't auto-update, doesn't transfer my settings across devices, doesn't survive a system wipe, etc.
Mike Graham
@cmichaelgraham
Jun 28 2015 00:31
you make good points
Micah Zoltu
@MicahZoltu
Jun 28 2015 00:31
^ all reasons apps should be run in the cloud (browser) and not on the desktop.
If you want a "desktop" experience then something like cloud9.io or nitrous.io are better answers IMO.
Mike Graham
@cmichaelgraham
Jun 28 2015 00:32
i guess the only thing off-putting for me about that is the lack of a friendly icon to launch the thing
Micah Zoltu
@MicahZoltu
Jun 28 2015 00:33
Desktop shortcut. :)
Mike Graham
@cmichaelgraham
Jun 28 2015 00:33
can i save a link to my mobile device that is like the app icons?
Micah Zoltu
@MicahZoltu
Jun 28 2015 00:34
A lot of mobile apps are just browsers that can only navigate to one page. Phones actually have a compelling reason for native apps (performance).
Mike Graham
@cmichaelgraham
Jun 28 2015 00:34
my 15 year old says there is an add to home screen option with the links for ios on iphone :)
Micah Zoltu
@MicahZoltu
Jun 28 2015 00:34
Though, I would still rather companies just make a good mobile web experience.
Haha, your 15 year old would know best. :)
Mike Graham
@cmichaelgraham
Jun 28 2015 00:35
yeah - i'm 50. very old school :)
Micah Zoltu
@MicahZoltu
Jun 28 2015 00:57
How do you capture this in ES5?
In ES6 I would do let lambda = () => this.method(), in ES5 the best I have found so far is self = this; let lambda = function() { self.method() }.
Is there an easier way?
Mike Graham
@cmichaelgraham
Jun 28 2015 00:59
i'm pretty sure that's what the typescript compiler generates for you
when it transpiles to es5
Jonathan Park
@park9140
Jun 28 2015 00:59
basically. It generates an _this variable.
Mike Graham
@cmichaelgraham
Jun 28 2015 00:59
yeah
something for you to capture
Jonathan Park
@park9140
Jun 28 2015 01:00
It's a pain when you debug and have source maps on
Micah Zoltu
@MicahZoltu
Jun 28 2015 01:01
Okay. :/ I normally work in TypeScript, but in this case I have to patch a bug in a third party library which is in ES5.
Speaking of TypeScript, I can't wait until Aurelia can use JSPM vNext so I can use the SystemJS runtime transpiler!
So exciting.
Micah Zoltu
@MicahZoltu
Jun 28 2015 01:04
Yeah, I am familiar with the work you have done to get type definitions for Aurelia. I haven't used any of it because I am waiting on Microsoft/TypeScript#2338
In particular, the workflow for external type definitions blows at the moment and I don't feel like putting in the time to deal with it until there is some sanity (standardization) around what the long term goals for TS are.
Mike Graham
@cmichaelgraham
Jun 28 2015 01:05
makes perfect sense.