r/programming • • Apr 26 '16

Node.js v6.0 released

https://nodejs.org/en/blog/announcements/v6-release/
132 Upvotes

79 comments sorted by

View all comments

Show parent comments

23

u/RiWo Apr 27 '16

Meanwhile I'll just enjoying mature Java libs, framework, and tools.

0

u/[deleted] Apr 27 '16

[deleted]

0

u/salgat Apr 27 '16

.NET is awesome and I love using it at work, but nothing beats setting up a nodejs app prototype in 10 minutes and hosting it for free on something like Heroku.

0

u/[deleted] Apr 27 '16

[deleted]

1

u/ThrowinAwayTheDay Apr 27 '16

But then you're using Windows and Visual Studio... :(

0

u/[deleted] Apr 27 '16

[deleted]

16

u/RiWo Apr 27 '16

Better than to have guess which type is this variable again?

9

u/[deleted] Apr 27 '16

Type? What is type?

3

u/[deleted] Apr 27 '16

Obj

0

u/[deleted] Apr 27 '16

[deleted]

9

u/balegdah Apr 27 '16

I don't understand why people say this. You can just check the type with typeof or use ===

Yeah, you don't really understand.

2

u/[deleted] Apr 27 '16

To explain a bit in a ELI5-fashion (dont want to patronize though)

We are talking about letting the computer tell you type errors before you even run the programm. This can save you some time.

typeof or === happen after you started your programm. So you can't save time by spotting it early.