News for hackers. Stuff that matters.
Re:Reflections on IDEA vs VS Code by dmitryminkovsky on Saturday March 06, 2021 @09:38AM (#26367612)
> But that does not carry over to all languages.

It does. All languages are basically the same. They parse to ASTs that you can manipulate programmatically. If those ASTs are strongly typed, you can safely perform refractors. What makes IntelliJ good is the base framework JetBrains uses, the same one they use in WebStorm, PyCharm, etc. VSCode is that same thing: an adaptable base and I’m sure making it on par for Java if it isn’t already will happened is only a matter of time if they invest.

Re:Reflections on IDEA vs VS Code by arcturus17 on Saturday March 06, 2021 @09:54AM (#26367724)
Absolutely not, there are many, many language-specific things that an IDE does beyond code hints.

Microsoft doesn't seem to be investing that much, if anything, on languages other than JS/TS; it is delegating all on the OSS community through plugins. And while some of the plugins are really good, in my experience they don't even come close to the native capabilities of Jetbrains products.

Re:Reflections on IDEA vs VS Code by dmitryminkovsky on Saturday March 06, 2021 @10:00AM (#26367793)
This is what Microsoft does. Their #1 thing is being in the market even if the product is bad. They’re delegating now, but wait until they’ve established their foothold, leveled up the core framework. Then they’re going to stop delegating one language after another.
Re:Reflections on IDEA vs VS Code by tharkun__ on Saturday March 06, 2021 @10:19AM (#26367944)
Embrace: put out an open source code editor.

Extend: have a plugin system that everyone can contribute to (sounds like eclipse or IntelliJ CE) and even make money off of. Plugins don't have to be free.

Extinguish: make your own plugins with full refactoring support etc. for the languages you see most actively used (everyone uses it for Go and Python now? Make a good enough plugin for that. Nobody uses it for Erlang anyway? Leave it to the community)

The good old MS in action.

Re:Reflections on IDEA vs VS Code by arcturus17 on Saturday March 06, 2021 @10:35AM (#26368082)
It remains to be seen whether they will find this economical when they are not making any direct revenue on the product.

I understand that VSCode is part of a grand strategic plan that goes beyond revenue, but I seriously doubt that they'd be willing to internally maintain the absolute truckload of code that would ensue from getting to feature parity with Jetbrains on languages like Java or Python. I'd wager at some point the quality would derail, or someone would pull the plug altogether on such a cost sink.

And that's one of the things I love about Jetbrains products. I'm actually delighted to pay for a product that I use every day for ~8 hours and which I think is extremely well-designed, knowing that the money is going to a company of craftsmen who do that, and only that.

Re:Reflections on IDEA vs VS Code by tharkun__ on Saturday March 06, 2021 @12:07PM (#26368790)
A short read and should give enough examples and descriptions of the strategy: https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis...

Once you've killed off the competition, a lot of other things don't really matter much any more. From the money perspective, it's a well known strategy to loose money to kill off the competition. It's just about who has the deeper pockets/better stomach for it. Microsoft has traditionally been able to do it and I have no doubts that they would still have the stomach for it. I don't know if their pockets are still as deep as they used to be. Windows (and Office etc.) used to be so dominant and such a cash cow that it enabled a lot of the other strategies, but then again they also had to get Windows to that point first. The landscape looks a bit different nowadays I'd wager, given Apple's and Google's footholds on mobile but then again, I wasn't really old enough back in the day, to really compare from my own experience, what the landscape looked like back then with Apple, Amiga, Atari, SGI, Sun etc. in the mix.

Re:Reflections on IDEA vs VS Code by arcturus17 on Saturday March 06, 2021 @01:01PM (#26369195)
> A short read and should give enough examples and descriptions of the strategy

I know about it and don't need a Wikipedia link to enlighten me, thank you.

In my comment I questioned your application of that theory to reality by raising concerns about the cost/benefit analysis from a Microsoft perspective.

I don't think you're accurately scoping the undertaking of getting VSCode to feature-parity with Jetbrains products in Java, Python, etc., nor the potential benefit for Microsoft. My contention is that the gap between Jetbrains and VSCode outside of JavaScript/TypeScript is massive, and that while VSCode is strategically important to Microsoft, they don't have the incentives to even try to extinguish Jetbrains.

But instead of addressing any of the concerns in my original comment, you've just pretty much gone on your own unrelated tirade.

Also, Microsoft ultimately lost the browser wars and many of the similar crusades that they undertook in the 90s and early 2000s, so maybe they've learned a few things along the ways.

Re:Reflections on IDEA vs VS Code by tharkun__ on Saturday March 06, 2021 @02:00PM (#26369611)
Wow, I seriously underestimated the way this written communication could be misunderstood. Especially how anyone could possibly read it as a 'tirade'. And not everyone knows about EEE, especially nowadays but fair enough as to how a link to explain some of it might upset someone that does. That said I really thought that you weren't aware of some of what they had done and how much it would have cost them.

We have a difference in opinion it seems on how much money we think Microsoft might be willing to pay for it and other items as well. That's fair enough. How any of that is a tirade is honestly quite nebulous to me but I probably won't be able to change your mind, even if I tell you that it wasn't written by the furiously typing mad dog you probably imagined.

Let's structure it, so you see how I thought I was addressing things:

> truckload of code

I.e. costs a lot of money: "it's a well known strategy to loose money to kill off the competition"

> pull the plug altogether on such a cost sink

Addressed in "Microsoft has traditionally been able to do it and I have no doubts that they would still have the stomach for it"

> feature parity with Jetbrains on languages like Java or Python

The rest that starts with "I don't know if their pockets are still as deep as they used to be." and which also includes "The landscape looks a bit different nowadays I'd wager" is basically me acknowledging that your opinion is different on this than mine and that I can see that potentially their cost/benefit analysis would lean towards your interpretation. They are trying to cover the Java side well enough with the Redhat maintained plugin. If Redhat does a good enough job to take customers away from Jetbrains that plays into Microsoft's strategy without spending a lot of cash on it. Brilliant.

It's an evolving thing too and as you point out in your reply here, MS did loose the browser wars eventually. The market changes all the time through technology breakthroughs for example and people are actively working against EEE tactics too. I for one am glad that MS lost the browser wars and to address one thing that I did not comment on (on purpose because I was concerned with the EEE discussion and not whether or not one or both of us like JetBrains):

> I'm actually delighted to pay for a product that I use every day for ~8 hours

I absolutely agree that IntelliJ is awesome and I don't want to miss it or use anything else. I don't even use vscode for FE code, unlike most of our FE developers. I'm traditionally a BE guy but have no qualms about doing FE work as long as you don't make me do pixel perfect reproductions of designs in CSS :)

Re:Reflections on IDEA vs VS Code by sidsidev on Saturday March 06, 2021 @02:18PM (#26369735)
You're missing that the product makes no money. Thinking in terms of killing off competition is pointless when you're not referring to the strategy.
Re:Reflections on IDEA vs VS Code by tharkun__ on Saturday March 06, 2021 @03:05PM (#26370105)
Good point. I don't think that necessarily matters too much though. You obviously can't just give everything away and not have a strategy to make money at all.

That said, giving something away can still make you money or ensure that your competition does not make money either. This comes down to being a large enough entity to support that strategy, which I personally think Microsoft still is.

If I'm Microsoft, I can give away a "base IDE", enlist volunteers and other companies that can even make a buck themselves for quite some time (and spend some money myself) to kill two birds with one stone.

1) I can bind developers to my platform. From the 2019 annual shareholders report: "Beyond GitHub, we are investing to build the most complete toolchain for developers — independent of language, framework, or cloud. Visual Studio and Visual Studio Code are now the most popular code-editing tools in the world. And TypeScript is one of the fastest-growing programming languages."

2) Where I deem necessary use it to kill off competition by driving them out of business. For quite a few companies, the price point of the IDE that their developers use is important i.e. the choice that companies give their employee is: Use vscode or IntelliJ Community Edition (or something else that's free but we're not paying) and it's very hard to explain developer productivity increases to the bean counters.

Re:Reflections on IDEA vs VS Code by sidsidev on Sunday March 07, 2021 @10:39AM (#26376671)
I agree. Particularly with the first point. One of VSCode's big strengths is it runs on the web as well - it's easy to see it becoming a fully integrated cloud IDE (whether you run it in Electron or your browser), and then MS can sell VSCode Premium for $2/mo to integrate it with your corporate login etc.
Re:Reflections on IDEA vs VS Code by dmitryminkovsky on Sunday March 07, 2021 @11:32AM (#26377218)
It’s incredible how it runs on the web. CodeSandbox is an awesome tool because it’s the same thing you use on your desktop (if you use VSCode). Just the other day I saw some post here wondering why you can’t “code in the browser” and uh, you can! Just go to CodeSandbox.

I suspect MS will be selling VSCode premium, as I mentioned elsewhere on this thread, they are already maintaining closed components.

Re:Reflections on IDEA vs VS Code by spullara on Saturday March 06, 2021 @02:32PM (#26369852)
If you ever get a chance to work on something with JetBrains developers (I got to when I was on the Java 8 JSR), you will find them to be some of the best out there. Their Java support was always ahead of javac for the new features we were specifying.
Re:Reflections on IDEA vs VS Code by thu2111 on Sunday March 07, 2021 @07:11AM (#26375277)
Another important point: JetBrains have long experience of competing against well funded free competitors. In fact they have grown in an environment where there have always been such products: first NetBeans, then Eclipse, now VS Code. Subsidising IDEs has been a common tactic for a long time, VS Code is nothing new. The story is always the same: such IDEs grow quickly for a while because their price is zero, but eventually after the project has become a "success" the parent corporation gets tired of sinking money into it and the executives lose interest. With weakening internal support, the projects get steadily destaffed. Eventually the project may go off the rails by e.g. deciding to rewrite from scratch.

Meanwhile JB survive the assault, continue to invest in their core product (which have been incrementally evolved for decades and were never rewritten from scratch), and come out the stronger party. They cannot lose interest or make self-destructive decisions because the IDEs are their core revenue stream.

Re:Reflections on IDEA vs VS Code by dmitryminkovsky on Sunday March 07, 2021 @10:07AM (#26376358)
This argument is a compelling case for JetBrains and I hope it proves out.

> They cannot lose interest or make self-destructive decisions because the IDEs are their core revenue stream.

But this can be said about Microsoft as well. IDEs are not the core of their revenue stream, but they're near the core, because "developers, developers, developers, developers" is still true. They're a software company, they make operating systems, a cloud platform, and hardware. They need to provide developer tooling. If IDEs aren't their core revenue, they're certainly near the core. If Microsoft hasn't been making money on IDEs lately, they have in the past, they see other people are, and they're certainly going to try and get back to that if they can.

Re:Reflections on IDEA vs VS Code by thu2111 on Monday March 08, 2021 @09:22AM (#26386032)
That argument is true for Visual Studio. Not VS Code, which is Microsoft's "rewrite moment". Visual Studio is targeted at Windows apps, which you have to pay Microsoft to use. VS Code is targeted at web apps, which people run on Linux. The revenue impact is highly indirect: it's not like people will write more web apps than before now VS Code exists, somehow benefiting Azure.

They could try to do a reverse JetBrains and introduce an enhanced for-pay version. Supposedly they're already starting to do that with Python support, it seems. But starting commercial and going free is a lot easier than starting free and going commercial, in terms of user loyalty.

Re:Reflections on IDEA vs VS Code by dmitryminkovsky on Sunday March 07, 2021 @09:49AM (#26376231)
> but I seriously doubt that they'd be willing to internally maintain the absolute truckload of code that would ensue from getting to feature parity with Jetbrains on languages like Java or Python

Why would you doubt this? Microsoft is huge compared to JetBrains and revenue opportunities of code editors have been clearly demonstrated since the 80s. Microsoft sold how many billions of dollars of Visual Studio in the 90s? Plus the red flags are already popping up: Microsoft is already not open sourcing Python language tooling [0].

[0] https://news.ycombinator.com/item?id=25719045

Re:Reflections on IDEA vs VS Code by sidsidev on Saturday March 06, 2021 @02:16PM (#26369721)
Sure, but Microsoft also has Visual Studio. If they start heavily investing in VSCode for C#, C++, then they're going to be cannibalising Visual Studio. And for what?
Re:Reflections on IDEA vs VS Code by dmitryminkovsky on Sunday March 07, 2021 @10:09AM (#26376380)
I think they're going to phase out Visual Studio. They like VSCode because it's an Electron app that runs on any platform and even in the browser. Microsoft isn't just a Windows company anymore, and VSCode is their future editor.
Re:Reflections on IDEA vs VS Code by matsemann on Saturday March 06, 2021 @09:48AM (#26367675)
The language server is a really small part of an IDE, though. IDEA has soo many Java specific features I use every day (like maven, spring and other tools, debugger, hot reloading, profiling etc), and other non-language specific stuff like db viewer.
Re:Reflections on IDEA vs VS Code by wokwokwok on Saturday March 06, 2021 @09:47AM (#26367672)
No. Microsoft has delegated Java support to redhat.

...no surprise, why would they waste their time on it? They give zero fruitcakes about Java.

Let’s just say, 3rd party plugins (like the redhat Java language support) are.... not of the same quality... as the Microsoft plugins.

Re:Reflections on IDEA vs VS Code by dmitryminkovsky on Saturday March 06, 2021 @09:52AM (#26367707)
It’s possible they lack vision and focus for this thing, such that they go out and do “Java support” without making it good or caring about it.

On the other hand, we’re talking about Microsoft. If you lived in the 90s, I find it hard to imagine how you can see Microsoft in any other light. I know: different times, different leadership. But still: it seems possible that they’ve got a huge vision for this and want to do the equivalent of Internet Explorer 1 and 2 just to be out in the market, so they can come back and do versions 3 and 4 as their position has become entrenched.

Re:Reflections on IDEA vs VS Code by Delmania on Saturday March 06, 2021 @10:01AM (#26367796)
I think it’s less that and more that Microsoft is leveraging Redhat’s focus on Java. They have built a good editor and plug-in environment, then engage organizations stronger in other tech and have them build support.
Re:Reflections on IDEA vs VS Code by pjmlp on Sunday March 07, 2021 @03:05AM (#26374150)
Reality check, Microsoft is a Java vendor nowadays, after having bought jClarity, has a seat at OpenJDK table, official Java blog in English and Chinese on MSDN, and Java is the only plaform that has biggest parity with .NET features on Azure.
Re:Reflections on IDEA vs VS Code by newlisper on Saturday March 06, 2021 @02:39PM (#26369900)
Actually, Microsoft cares a lot about Java and they invest resources on it. Why? azure

https://devblogs.microsoft.com/java/

Re:Reflections on IDEA vs VS Code by happymellon on Saturday March 06, 2021 @03:16PM (#26370195)
Could not be further from the truth. Even with rope installed, VSCode won't always allow me to rename a variable and just silently fails.
Re:Reflections on IDEA vs VS Code by dmitryminkovsky on Sunday March 07, 2021 @10:13AM (#26376413)
Python is not a strongly typed language and renaming variables in such a language is a minefield. I've used PyCharm and WebStorm and never felt comfortable using their variable rename facilities for Python and Javascript. If they do it better than rope then that's good, but you need to write those languages in a very specific if you want IDE renamings to succeed. IMO, that rope fails silently might be viewed as more of a feature than a bug :). Anyway, I'm sure it will be improved.
Re:Reflections on IDEA vs VS Code by happymellon on Sunday March 07, 2021 @01:58PM (#26378622)
Python might not be strongly typed, but VS Code appears to be able to rename variables in JS quite well, and PyCharm has never failed me.

VS Code fails me for anything that isn't JS/TS in the worst way.