Live data from Hacker News

Announcing Azure Command-Line Interface 2.0 Preview

azure.microsoft.com

41–50 of 161 posts

Re: Announcing Azure Command-Line Interface 2.0 Preview

#41

Earlier quoted context omitted.

> i'm sure i'm going to burn karma for comparing node with vb but... I'll take the hit for you and flat-out say that node.js is the new VB. In fact, for those of you that have been around a while, I think we can all agree that node.js is the new PHP was the new Visual Basic, etc. Not in the sense that they do the same things, but that they were purposely built for non-programmers (baby-devs) to be able to program (wh…

Seems like javascript is picked up by giants (microsoft build its IDE) facebook (React?) Google (angular) so I guess you cant compare it with VB unlesss I missed something in the 90s

Meh. Microsoft built a text editor with it and only because it was the simplest choice to have finally a os-independent editor (maybe now they would have go for .net core if they had a good cross-ui library). Facebook and Google had to use it because you are talking about framework for the web, and sadly our browsers support directly only javascript as scripting language... they have not chosen it, they were forced to use it.

Re: Announcing Azure Command-Line Interface 2.0 Preview

#42

Earlier quoted context omitted.

> i'm sure i'm going to burn karma for comparing node with vb but... I'll take the hit for you and flat-out say that node.js is the new VB. In fact, for those of you that have been around a while, I think we can all agree that node.js is the new PHP was the new Visual Basic, etc. Not in the sense that they do the same things, but that they were purposely built for non-programmers (baby-devs) to be able to program (wh…

Seems like javascript is picked up by giants (microsoft build its IDE) facebook (React?) Google (angular) so I guess you cant compare it with VB unlesss I missed something in the 90s

in the 90s there was microsoft...

outside of internety places, big iron and academia, that was it. 'must be compatible with windows' started appearing in 'request for proposal' specs.

what microsoft pushed got massive mind share.

Re: Announcing Azure Command-Line Interface 2.0 Preview

#44

This reminds me of companies rewriting applications from VB to c++/c#. Half the people complained about VB being good enough and more popular. But the overall feeling was that once the rapid application dev version is out the door and ok then it's a good time to redo it with something more engineering-y, for long term support before the first version gets too ossified. (i'm sure i'm going to burn karma for comparing…

Well, the entire premise was "your script-kiddie GUI code, but on server!". Microsoft on the other hand is just chasing the ball (Node/Python) or where it will roll (TypeScript, C#).

Re: Announcing Azure Command-Line Interface 2.0 Preview

#45

Earlier quoted context omitted.

> i'm sure i'm going to burn karma for comparing node with vb but... I'll take the hit for you and flat-out say that node.js is the new VB. In fact, for those of you that have been around a while, I think we can all agree that node.js is the new PHP was the new Visual Basic, etc. Not in the sense that they do the same things, but that they were purposely built for non-programmers (baby-devs) to be able to program (wh…

You do realize that Python was not only built to appeal to "non-devs" as well ad devs but, does, in fact, enjoy some of its strongest support from them- scientists, engineers, statisticians, etc., who do not consider themselves to be good developers. And, man, they can develop some crappy code/systems in Python too. I like Python too (as well as node,) but your characterization of node is over-broad and, imo, inaccur…

> You do realize that Python was not only built to appeal to "non-devs"

... as an alternative to C++ and Perl. And in that respect, it is a snap to pick up. It is pretty easy, not as easy as, say, Javascript, but still easy to pick up, I agree.

Node.js is cancer. We all use it, because of the momentum it has with designers instantly being able to declare themselves "full-stack devs", but make no mistake -- Node.js and npm are an abomination that we will look back on in ten years and shudder.

Re: Announcing Azure Command-Line Interface 2.0 Preview

#46

Did they explain why they switched? Not that I'm complaining. Love Python, dislike JS being everywhere.

I think a part of it must be that writing synchronous code in NodeJS is nowhere near as elegant as in Python. We started writing some tooling in NodeJS (for dealing with REST API's in particular, posting and receiving JSON, which is native to JavaScript so should be perfect), but ended up reverting to Python mainly for this reason.

Re: Announcing Azure Command-Line Interface 2.0 Preview

#47
post #14

The directory structure is beautiful.

Can't tell if you're kidding or not... I ended up at azure-cli/src/azure-cli-core/azure/cli/core/ That's.... definitely not beautiful

the src directories, and command_modules directory inside of that all contain separate Python projects. This allows them for instance to make changes/updates to particular parts of the azure-cli but without releasing a new version for each small sub-part.

Instead they could have created 17+ github repo's and had each part have it's own repo... instead it's now all contained in a single place.

Re: Announcing Azure Command-Line Interface 2.0 Preview

#48

This reminds me of companies rewriting applications from VB to c++/c#. Half the people complained about VB being good enough and more popular. But the overall feeling was that once the rapid application dev version is out the door and ok then it's a good time to redo it with something more engineering-y, for long term support before the first version gets too ossified. (i'm sure i'm going to burn karma for comparing…

> i'm sure i'm going to burn karma for comparing node with vb but... I'll take the hit for you and flat-out say that node.js is the new VB. In fact, for those of you that have been around a while, I think we can all agree that node.js is the new PHP was the new Visual Basic, etc. Not in the sense that they do the same things, but that they were purposely built for non-programmers (baby-devs) to be able to program (wh…

As someone who does a ton of Node/JS coding as well as some Python, I am personally offended! Ok, not really, but I think you're wrong :)

I think VB is more similar to Python in the sense that both languages were designed with some sense of simplicity and straight-forwardness in mind.

Both PHP and Javascript are much more complex from a language design standpoint, which makes them more difficult to learn "well" for beginners. Yes, they are both hugely prolific because of the web, and lots of people copy/paste code around not having any clue how it works, so I won't deny your "generations of garbage" comment. But you're assessment is a little too simplistic.

A good engineer can write high quality code in "almost" any programming language. It's the coder, not the language, that determines engineering quality.

Re: Announcing Azure Command-Line Interface 2.0 Preview

#49

One feature I'm loving in the new Azure CLI is a new command (`az ad sp create-for-rbac`) that will create a new Service Principal and grant it a RBAC Role assignment in a single shot. It should make the first step of setting up CI/CD scenarios a bit easier.

Glad to see this. Setting up service principals with the Node-based CLI was a multi (4-5) step process.

Re: Announcing Azure Command-Line Interface 2.0 Preview

#50

This reminds me of companies rewriting applications from VB to c++/c#. Half the people complained about VB being good enough and more popular. But the overall feeling was that once the rapid application dev version is out the door and ok then it's a good time to redo it with something more engineering-y, for long term support before the first version gets too ossified. (i'm sure i'm going to burn karma for comparing…

> i'm sure i'm going to burn karma for comparing node with vb but... I'll take the hit for you and flat-out say that node.js is the new VB. In fact, for those of you that have been around a while, I think we can all agree that node.js is the new PHP was the new Visual Basic, etc. Not in the sense that they do the same things, but that they were purposely built for non-programmers (baby-devs) to be able to program (wh…

Node.js wasn't built for baby devs, it was built for professional devs who had to use JS anyway because browsers to be able to use the same technology on the back-end rather than using different languages front- vs. back-end.
Post reply on HN