Live data from Hacker News

Office 365 is being completely rewritten in JavaScript

twitter.com

341–350 of 459 posts

Re: Office 365 is being completely rewritten in JavaScript

#341
post #176

Earlier quoted context omitted.

> every dynamically-typed language has "weird" behaviour around type coercion Do they now? $ irb irb(main):001:0> "0" + 1 TypeError: no implicit conversion of Fixnum into String from (irb):1:in `+' from (irb):1 from /usr/bin/irb:11:in ` ' irb(main):002:0> ^D $ python >>> "0" + 1 Traceback (most recent call last): File " ", line 1, in TypeError: cannot concatenate 'str' and 'int' objects >>> ^D $ node > "0" + 1 '01' >…

I know you know this, but for the GP or anyone else: "Dynamically typed" doesn't mean "strongly typed". Python and Ruby are strongly typed, JS is weakly typed.

Yeah, went for the "picture is worth a thousand words" approach to explaining the distinction :)

Re: Office 365 is being completely rewritten in JavaScript

#343

As a side note, Microsoft login echo system sucks big time in the context of office. You have no idea which URL to use to login to office 365. Between login/logout/timeout/other office apps/personal accounts/business accounts/forgot password workflows browser redirects to various URLs at least a dozen times. And you keep seeing new URLs I am wondering how less tech savvy people are coping with their authentication wo…

All public facing URLs should go through Marketing. On macOS, when an Apple app contacts an Apple service and my firewall shows me the domain/host, it almost always looks very thoughtful and pretty. Compare that to MS Office on macOS. So many different requested domains with no thought and coherence behind them.

Re: Office 365 is being completely rewritten in JavaScript

#344
post #143

One Day Microsoft made VSCode and everyone loves them. The Second day Microsoft decide to buy GitHub and everyone were flocking off to Gitlab, everyone hates them. Now they are moving to the biblical end of computing era by making every Javascript. May be they will even Open Source the Windows Kernel some day.

Now they are moving to the biblical end of computing era by making every Javascript. Does that means the apocalypse is upon us?

It's already here.

https://www.npmjs.com/package/armageddon

Re: Office 365 is being completely rewritten in JavaScript

#345

As a side note, Microsoft login echo system sucks big time in the context of office. You have no idea which URL to use to login to office 365. Between login/logout/timeout/other office apps/personal accounts/business accounts/forgot password workflows browser redirects to various URLs at least a dozen times. And you keep seeing new URLs I am wondering how less tech savvy people are coping with their authentication wo…

My favorite thing I noticed recently; if you buy a book on the Microsoft Store and open it in a web browser, the url is hosted on zune.net. What year is this?!

Re: Office 365 is being completely rewritten in JavaScript

#346

As a side note, Microsoft login echo system sucks big time in the context of office. You have no idea which URL to use to login to office 365. Between login/logout/timeout/other office apps/personal accounts/business accounts/forgot password workflows browser redirects to various URLs at least a dozen times. And you keep seeing new URLs I am wondering how less tech savvy people are coping with their authentication wo…

They recently improved this to make it easier. I think they realize that it can get pretty complicated.

When will that be rolling out? Hopefully soon since as of this morning it is still a nightmare.

Re: Office 365 is being completely rewritten in JavaScript

#347
post #142

Why not C#? Seems a bit of a missed opportunity to feed some of the APIs undoubtedly created for this into the new .net core stuff. I guess i'll just keep dreaming of the day when i can reliably convert a docx into a pdf without using office interop.

Reading this thread, with all the Javascript talk, makes me feel like I should be scared of continuing to be a C# developer..

There is still work for COBOL developers. I don't think C/++/#/etc. work will be going away any time soon.

Re: Office 365 is being completely rewritten in JavaScript

#348
post #150
post #142

Why not C#? Seems a bit of a missed opportunity to feed some of the APIs undoubtedly created for this into the new .net core stuff. I guess i'll just keep dreaming of the day when i can reliably convert a docx into a pdf without using office interop.

This is the confusing part for me, yes. Javascript is fine and well, but C# seems the better choice in general here.

I wonder if it has anything to do with their being more JS developers than C# developers. Though, I imagine the average C# developer is a better programmer than the average JS programmer, but since quality is often a function of quantity, maybe there are going the later route. Or maybe it's something entirely different ;-)

Re: Office 365 is being completely rewritten in JavaScript

#349
post #301

Most of the comments seems to say "it's a bad idea" , keep in mind Microsoft is now using React very intensively for most of their projects as well as angular (VSCode , Windows Server etc... ) Meaning it's not the language the real issue , it's what you do with it. Also Junior at school are less and less trained with Java and C# but straight up with JS or PHP , so it will be much easier to integrate juniors on this r…

Mail is one of the key parts of the internet no offence you don't want someone straight out some boot camp of dubious provenance having any input into what language or the spec of a MUA or MTA. Any new developers on this need to have experience working with email standards and a good knowledge of C++ / C not some fracking scripting language! And as some one who used to do international interconnect I think I have som…

> no offence you don't want someone straight out some boot camp of dubious provenance

None taken .

My point is Microsoft is shifting to make it easier to separate their apps into clear layers . Coders from bootcamps can deal with the UI and some logic , C++ Engineers will deal with back-end and the mess that office is, and expose some API in JavaScript for them.

Re: Office 365 is being completely rewritten in JavaScript

#350
post #177
post #159

Earlier quoted context omitted.

>Most language features, really. Name a few. >terrible "prototype" system >malice that is "this" It sounds like you are talking about ES5, not ES6+

Can you guarantee all ES6- code to disappear immediately? Or are you forced to dive deep into warts when you have to work on some older JS project?

Why does that impact whether or not it's a reasonable choice to use the language today? Old libraries I could understand, but old independent projects? How do they affect the current state of the language?
Post reply on HN