Will VBA Die? (2019)
91–100 of 170 posts
Re: Will VBA Die? (2019)
#92The situation is much better (though still far from ideal) when it comes to data. Everything knows how to use CSVs. Relational databases, from a schematic perspective, really haven't changed terribly much in decades. NoSQL came around but that was really just an alternative option; you don't see everyone scrambling to migrate their SQL data to Mongo. SQL isn't quite a standard, but it would be dramatically easier to migrate an ancient MS SQL database to Postgres than an ancient COBOL codebase to Java.
Re: Will VBA Die? (2019)
#93Nah... why should it? It works and it does what it needs to do and more if you decide to hook into the Windows API or Mac’s API. Want to parse 500mb structured XML file? Okay. Takes 3 seconds or so. I had a lot of fun creating a full featured & modern look & feel application using Excel’s VBA runtime as my platform. Sure... I had to create everything from scratch, but learned so much while doing it. Kind of miss it a…
However, they those are of course light years behind in terms of API support. Never even mind that on the desktop Excel the javascript runs in the Internet Explorer engine (of all things, not even the EdgeHTML engine).
[0] https://docs.microsoft.com/en-us/office/dev/add-ins/excel/ex...
Re: Will VBA Die? (2019)
#94Earlier quoted context omitted.
The Excel object model is really a COM/IDispatch object model... it's been accessible from non-VBA applications essentially since the beginning. Not Excel, but one of my first consulting projects was at a company that developed some custom libraries in Java and for a company that used ASP for the front end. The architecture we used ran the Java code in the Microsoft JVM, which then made Java accessible via IDispatch…
At the moment the implementation is to basically inject code, but I imagine eventually Microsoft would like to move away from that. Issues like DCOM and legacy systems would need some interface from Microsoft of course to handle IDispatch, GC etc, but thats what Microsoft do.. And to behonest, as much as I like to rip on them, they do it well. Edit: I think the Java example is a little bit different, but i don't know…
https://blogs.msdn.microsoft.com/dsyme/2012/07/05/more-c-net...
"Project 7 and .NET Generics"
https://fsharp.org/history/hopl-draft-1.pdf
WinRT, as it was originally designed, traces its ideas back to that Ext-VOS project, but going back to COM as they were thinking about it back then.
https://docs.microsoft.com/en-us/uwp/winrt-cref/winrt-type-s...
Re: Will VBA Die? (2019)
#95I don't own a Windows computer, but I've seen some incredibly interesting stuff come out of the VBA for Excel, which I sadly never have had a chance to learn. Does anyone here have a side-by-side comparison of the LibreOffice BASIC vs the VBA?
Re: Will VBA Die? (2019)
#96It's weird to me that we haven't settled on a common, stable, purpose-built high-level language specifically for business logic. Stuff that doesn't change much, that doesn't need to concern itself with the platform, only the business. That code should be portable to whatever shiny new underlying system gets invented; why does it keep having to be re-expressed every few years? The situation is much better (though stil…
What is the difference between what you are imagining and Java or python?
Re: Will VBA Die? (2019)
#97It's weird to me that we haven't settled on a common, stable, purpose-built high-level language specifically for business logic. Stuff that doesn't change much, that doesn't need to concern itself with the platform, only the business. That code should be portable to whatever shiny new underlying system gets invented; why does it keep having to be re-expressed every few years? The situation is much better (though stil…
The great thing about standards is that there are so many to pick from. What is the difference between what you are imagining and Java or python?
Re: Will VBA Die? (2019)
#98Nah... why should it? It works and it does what it needs to do and more if you decide to hook into the Windows API or Mac’s API. Want to parse 500mb structured XML file? Okay. Takes 3 seconds or so. I had a lot of fun creating a full featured & modern look & feel application using Excel’s VBA runtime as my platform. Sure... I had to create everything from scratch, but learned so much while doing it. Kind of miss it a…
Re: Will VBA Die? (2019)
#99Earlier quoted context omitted.
At some point, I hope we can get past this argument. Learning a new language for rudimentary tasks is not particularly hard. I'm not sure why people decided that JavaScript of all things was what we had to all latch onto.
Because it’s the new Franca lingua of programming. Everyone knows it whether they like it or not. There’s value in not have to switch context while programming. Also there’s typescript which makes JavaScript usable. I don’t like JavaScript either but typescript isn’t terrible and the ecosystem is much bigger than any Microsoft programming ecosystem which results in less reinventions of the wheel. MS has also been tre…