News for hackers. Stuff that matters.
Re:Ask HN: Why did Visual Basic die? by mamonster on Monday September 11, 2023 @01:31PM (#37470603)
Does VBA for Excel count? Because if it does then VBA for Excel has reached the"nuclear resistant cockroach" level in finance.

You wouldn't believe what sort of processes in very big banks/financial institutions are built using 10 year old VBA macros. In fact, VBA consulting for finance is a very juicy cottage industry at least in Europe to this very day.

Re:Ask HN: Why did Visual Basic die? by datavirtue on Monday September 11, 2023 @01:42PM (#37470767)
There is a book called: Professional Excel Development. If you want to get into it. You could probably use that book to build an OS in Excel. I'm not joking.
Re:Ask HN: Why did Visual Basic die? by jandrese on Monday September 11, 2023 @02:15PM (#37471265)
It's no more crazy than trying to build an OS out of a web browser.
Re:Ask HN: Why did Visual Basic die? by Flowzone on Monday September 11, 2023 @04:05PM (#37472891)
This sounds like it would be right up my alley. I'm not a professional developer of any kind but have done hobby coding on/off for years, and I'm better at excel than the average user.

Currently working for a consulting company with a whole region's health system as the client. They use excel for lots, but it's all very basic stuff. I had one of my team members spend an hour whipping up an excel form for them that auto generates letters to different departments with all the necessary information. Even some basic standard work forms, let alone any sort of automation, would help them a lot as they rely on people to send certain information that gets missed every time. They described our excel sheet as a game changer for them.

Almost no-one has access to their ERP system which is safeguarded by a certain department which is ridiculous. I'm working on a spreadsheet for their HR team to calculate bonuses for certain employees based on a bunch of variables, then auto-generating letters to review and distribute. The data from their ERP software is such a mess, but I'm making up for it by cleaning up their reports in excel. I plan to get access to their ERP system to look at what kind of reporting I can do as HR only gets a report from the system once a month. I want to help them track real time stats for hiring, etc. And curious if I'm able to connect some spreadsheets to their ERP with an API or something (haven't done anything like that before).

Anyways, that professional development for excel book looks interesting. I see the second version is from 2009 and may not even be up to date with 2007 excel. I'm sure most of the concepts would stay the same though, so I'll definitely have to check it out.

I realize excel wouldn't be considered the most professional or robust way to build applications, but since microsoft 365 seems so standard and everyone uses excel, it makes sense to me why so many organizations use it. There seems to be a lot of potential to apply some excel automation in a lot of industries, especially ones that already rely on it as others have mentioned in this thread. I use it as a means to an end when helping clients, but I also see dollar signs as I find ways to build things that can be applied to so many industries.

Re:Ask HN: Why did Visual Basic die? by datavirtue on Monday September 11, 2023 @07:00PM (#37474852)
Make sure you build subs (functions/methods) for everything....I mean everything. Break all of your code into the smallest subs possible with clear names. Otherwise you will not be able to make heads or tails of your own code in a few months. I built a fairly sophisticated VBA project and left it for a few months, came back and was pulling my hair out. I had to refactor before I could move on, and it was very painful. After the refactor I could make changes and modify it without issue. You have to be, what seems like, over-granular. Its just "clean code" principles: the name of the sub should describe exactly what it does. If the name is too big...break stuff out into different subs.

Excel is perfect for building proof-of-concept apps and Microsoft has a cloud offering called PowerApps that use a somewhat similar "Excel concept." I have built a significant app in PowerApps...not recommended. If you don't have a development team Excel is good. Same for PowerApps. Very painful if they get big. Keep things simple.

Re:Ask HN: Why did Visual Basic die? by nottheengineer on Monday September 11, 2023 @01:49PM (#37470877)
Excel is literally 2D programming. Us mortal developers who can only put lines below one another are incapable of comprehending it, so we only get to ask the wise finance people how their enigma works.

On a serious note, I dread excel. If your PC is set to german, excel will translate the VBA keywords to german. But if you want to type them, you have to do that in english and then have excel translate them.

I don't want to accept that crap like this is the standard.

Re:Ask HN: Why did Visual Basic die? by wiz21c on Monday September 11, 2023 @02:32PM (#37471538)
> Us mortal developers who can only put lines below one another

At least my spaghetti code goes into one direction only...

Re:Ask HN: Why did Visual Basic die? by eastern on Monday September 11, 2023 @09:42PM (#37476078)
Yes, but I bet your code cannot reveal its own spaghetti:-)

Excel has long had an option to display 'precedent' and 'dependent' cells.

You can actually see the spaghetti right there.

https://support.microsoft.com/en-au/office/display-the-relat...

Re:Ask HN: Why did Visual Basic die? by quickthrower2 on Tuesday September 12, 2023 @12:37AM (#37476983)
Now do that for the VBA!
Re:Ask HN: Why did Visual Basic die? by rzzzt on Monday September 11, 2023 @03:06PM (#37472138)
With side-effect free functions: https://youtu.be/0yKf8TrLUOw
Re:Ask HN: Why did Visual Basic die? by netsharc on Monday September 11, 2023 @03:10PM (#37472216)
> But if you want to type them, you have to do that in english and then have excel translate them.

Huh? At least in the versions I've used I've always needed to type the commands in German.

There's even an online German - English Excel dictionary...

Re:Ask HN: Why did Visual Basic die? by nottheengineer on Monday September 11, 2023 @04:14PM (#37473001)
I wittnessed this very fuckery with my own eyes just two weeks ago:

It was an excel file created in pandas that threw an error on english commands but worked if the code included german ones.

I don't know how or why that happens, I just know I need to get away from it.

Re:Ask HN: Why did Visual Basic die? by vector_spaces on Monday September 11, 2023 @03:18PM (#37472328)
"2D programming" is normally called array programming, and it's common in scientific computing, ML, and finance. It does require a different mindset, kind of similar to SQL but not exactly. See APL, K, q, NumPy, matlab, Julia, and friends for languages that embrace this paradigm
Re:Ask HN: Why did Visual Basic die? by Philpax on Monday September 11, 2023 @04:04PM (#37472874)
I don't think you're talking about the same thing? The parent poster is talking about Excel's ability to spread computational steps across rows and columns (i.e. the structure of the code itself), while array programming traditionally refers to writing computations over arrays (i.e. the structure of the data)
Re:Ask HN: Why did Visual Basic die? by eternityforest on Monday September 11, 2023 @03:31PM (#37472516)
The 2D aspect is the part of Excel I don't understand. Why does it have to be a grid?

It's great for laying out things meant to print, and making invoices and stuff... But why didn't we have code files and proper fixed layout DB-style tables as "pages" that can go in a workbook?

Maybe keeping everything as 2D as possible is a necessary compromise for the spatial thinkers out there, and they just wouldn't want it if it was full of boring linear stuff.

I love the reactivity and the concept that anywhere you put a value, you can put an =expression. But the 2D stuff seems like it's for the people who always have a sense of where things are in space.

They've done a good job of convincing people that it's not programming and they can do it, I can't really complain, because if Excel didn't exist we might all still have to use paper on a regular basis, or completely unstructured text files.

Re:Ask HN: Why did Visual Basic die? by nottheengineer on Monday September 11, 2023 @04:05PM (#37472892)
When doing calculations on paper, you can write your interim results anywhere. That's what excel copies. It's also why text in excel files will gladly overflow into adjacent cells.
Re:Ask HN: Why did Visual Basic die? by mikewarot on Monday September 11, 2023 @04:28PM (#37473204)
The overflowing text isn't actually stored in the adjacent cells, it's just displayed on top of them. The difference is important.
Re:Ask HN: Why did Visual Basic die? by eternityforest on Monday September 11, 2023 @06:34PM (#37474610)
That kind of thing seems very natural if you've done any calculations on paper recently(Which most business people have) but seems strange to programmers who haven't.

You would think the ideal would be to allow everything Excel currently does, but also have some other model with more separation of code, data, and visuals, like node-based programming and separate cloud-synced pure tables.

Excel can almost cover a lot of "real programming" use cases, but not quite. The upgrade path seems to be Excel to Access to Custom app, rather than Excel to Excel but with more of the advanced features.

Re:Ask HN: Why did Visual Basic die? by function_seven on Monday September 11, 2023 @04:12PM (#37472978)
This is why I'm fanatical about using proper Tables in Excel wherever possible. Any db-like kind of data is first turned into a table, then I work with it using whatever formulas, code, or tools I need to. Half the time this means dropping into PowerQuery to do more transformations on the entire set, then finally using Excel formulas or pivots as needed.

But I really like Excel for allowing me to just plop stuff down wherever when I'm brainstorming something, or just want to do a one-off calculation before I quit-without-saving.

Re:Ask HN: Why did Visual Basic die? by layer8 on Monday September 11, 2023 @05:03PM (#37473672)
It’s because Excel sheets are often used like forms to fill some fields in, with labels, and dedicated formulas in the background. And sometimes part of that form is a table, but also graphical charts etc. on the side. Excel sheets can be designed almost like in a layout program, also to be suitable for printout. People like that freeform spatial-thinking flexibility about Excel.
Re:Ask HN: Why did Visual Basic die? by eternityforest on Monday September 11, 2023 @06:20PM (#37474492)
It's amazing as a layout program for sure, as long as you're not going to interact with it much on mobile.

Then it's pretty bad but still better than writing some custom software like people would probably do without it.

Re:Ask HN: Why did Visual Basic die? by jpadkins on Monday September 11, 2023 @05:42PM (#37474130)
> Why does it have to be a grid?

Because we have been doing it that way for almost 4,000 years!

https://en.wikipedia.org/wiki/Spreadsheet#History

Humans have organized data into tables, that is, grids of columns and rows, since ancient times. The Babylonians used clay tablets to store data as far back as 1800 BCE.[16] Other examples can be found in book-keeping ledgers and astronomical records.[17]

Since at least 1906 the term "spread sheet" has been used in accounting to mean a grid of columns and rows

Re:Ask HN: Why did Visual Basic die? by philistine on Tuesday September 12, 2023 @12:42AM (#37477004)
Everybody who replies to you, I think, has gotten it wrong. What you're asking is not why any grid, but why an infinite un-malleable grid.

What you want is the paradigm of Numbers from Apple. Their office suite is good, and it has the benefit of being opinionated. They're not trying to ape Microsoft, like all the open-source projects.

Re:Ask HN: Why did Visual Basic die? by mikewarot on Monday September 11, 2023 @04:26PM (#37473186)
Excel is a quite powerful mix of declarative programming (formulas in cells), and imperative programming (VBA procedures, event triggers, etc). If you're not ready for it, it'll break your brain.

The main danger in Excel is that any area of a sheet can be treated as a pseudo table.... except it really isn't, and you can inadvertently sort some fields, while leaving the others alone, effectively scrambling your data.

Re:Ask HN: Why did Visual Basic die? by tombert on Monday September 11, 2023 @04:48PM (#37473490)
I have grown a respect for Excel in the last decade or so. It's slow, it's clunky, and it's far from perfect, but I think it's among the most approachable language out there.

A lot of people using Excel, even some of the more advanced stuff like if statements and logic, don't even realize that they're writing programs, and I think that's genuinely awesome: people are able to utilize the power of programming by accident.

I still use spreadsheets all the time for small number crunchy things, just due to how it's "reactive by default". I find it's actually really useful to immediately see everything update after changing a value. Admittedly, I mostly use Google Sheets nowadays simply because it's "good enough" and much easier to share with friends. Could I write a program to do all that number crunching that performs better? Obviously yes, I could start a new Julia project and mop the floor with Excel or Google Sheets in regards to saving cycles, but that would take me 20x longer and I'd lose all the nice features of a spreadsheet.

Granted, this is coming from a strictly Anglo-American perspective; I cannot speak to Excel's ability to use other languages.

Re:Ask HN: Why did Visual Basic die? by harry8 on Monday September 11, 2023 @08:58PM (#37475724)
Gnumeric is actually a good excel. The stats routines are shared with R so if ever someone demonstrates a bug, it is fixed!

Free, fast, accurate. Pick any three!

http://gnumeric.org

Re:Ask HN: Why did Visual Basic die? by quickthrower2 on Tuesday September 12, 2023 @12:36AM (#37476978)
I find a spreadsheet (Google Sheets will do) is a great thinking tool. Any thinking will involve probably some maths and some tables. Excel is built for both.
Re:Ask HN: Why did Visual Basic die? by benhurmarcel on Tuesday September 12, 2023 @04:43AM (#37478303)
> I cannot speak to Excel's ability to use other languages.

I find it's an overblown issue. Those of us that prefer functions in English can just set Excel to use it. When someone sends you a file it displays in your chosen language. And having the default being localized makes it usable for the majority of people who don't speak English.

Re:Ask HN: Why did Visual Basic die? by trimethylpurine on Monday September 11, 2023 @08:12PM (#37475379)
I can't understand why so many finance people won't just learn SQL.
Re:Ask HN: Why did Visual Basic die? by quickthrower2 on Tuesday September 12, 2023 @12:39AM (#37476992)
SQL is not a replacement for Excel.
Re:Ask HN: Why did Visual Basic die? by trimethylpurine on Wednesday September 13, 2023 @06:00AM (#37494623)
Not a replacement, but it should be used for sharing data and reviewing your logic. Table joining is just plain easier in SQL.
Re:Ask HN: Why did Visual Basic die? by davidmurdoch on Monday September 11, 2023 @01:50PM (#37470889)
I know of a restaurant franchisee with 170+ locations that uses a home grown ERP system built in VBA on top of Access by an accountant about 20 years ago.

I once had to update it to optimize (minimize) front-line staff working hours so the company didn't have to pay health insurance for those employees. A real nightmare of a task in more ways than one!

Re:Ask HN: Why did Visual Basic die? by matwood on Monday September 11, 2023 @02:14PM (#37471254)
My first programming job in the 90s while I was still in college was building systems exactly like you describe (and they were as poorly built as you think hah). I worked for a small IT programming/consulting shop. We did small jobs like this in town in addition to installing networks, IVRs, etc... while working on larger software to sell (which is an entirely different/crazy story that involved burning CD demos and using a hand 'stomper' to label and then mail them out).
Re:Ask HN: Why did Visual Basic die? by aj7 on Monday September 11, 2023 @03:24PM (#37472418)
This post has more information than you realize.
Re:Ask HN: Why did Visual Basic die? by davidmurdoch on Monday September 11, 2023 @03:58PM (#37472797)
What do you mean? Are you suggesting you can figure out who the company is?
Re:Ask HN: Why did Visual Basic die? by mattgreenrocks on Monday September 11, 2023 @05:42PM (#37474127)
I have a guess, but don’t want to offend the big cheese there so I’ll just see how this plays out.
Re:Ask HN: Why did Visual Basic die? by protocolture on Monday September 11, 2023 @07:51PM (#37475235)
In high school I got a gig rebuilding a pre 2000 Access DB + VBA front end in office 2003ish due to some kind of incompatibility that was preventing them from upgrading their PC's.

It was a chemical safety database. It was used to identify chemical risks and track the storage of the chemicals.

I pray near daily that someone else came along years later and rebuilt it in a modern language.

Re:Ask HN: Why did Visual Basic die? by davidmurdoch on Monday September 11, 2023 @07:56PM (#37475266)
Ah yes, where testing just means "I hit save on the live database file and didn't received an angry call from accounting 2 minutes later"
Re:Ask HN: Why did Visual Basic die? by anonzzzies on Tuesday September 12, 2023 @07:15AM (#37479354)
One of our clients runs everything on access; from the office security, factory automation, ERP, crm, hrm, cms and more. We are moving them to a cloud platform that will allow them to not change one thing but save them a fortune not having to deal with the many issues access has.
Re:Ask HN: Why did Visual Basic die? by dauertewigkeit on Monday September 11, 2023 @01:51PM (#37470909)
My brother is a mechanical engineer and apparently, there's lots of Excel VBA in traditional industries as well.
Re:Ask HN: Why did Visual Basic die? by bmj on Monday September 11, 2023 @02:21PM (#37471364)
I can confirm this: I know several mechanical engineers that do mission critical-type systems (think "power plants"), and they routinely use Excel VBA for calculations.
Re:Ask HN: Why did Visual Basic die? by pillefitz on Monday September 11, 2023 @02:30PM (#37471506)
And it's often the best tool for the job
Re:Ask HN: Why did Visual Basic die? by harry8 on Monday September 11, 2023 @09:04PM (#37475756)
Other than the known calculation bugs in excel that MS refused to fix for at least a decade and probably still 20 years later.

http://www.pages.drexel.edu/~bdm25/gnumeric.pdf

http://www.phusewiki.org/docs/2009%20PAPERS/SP06.pdf

http://www.tandfonline.com/doi/abs/10.1198/tas.2011.09076

Re:Ask HN: Why did Visual Basic die? by pillefitz on Tuesday September 12, 2023 @12:42AM (#37477008)
Only last link works
Re:Ask HN: Why did Visual Basic die? by rvba on Tuesday September 12, 2023 @04:52AM (#37478360)
It is funny how you talk tjat Excel is bad and the examples just dont work.

Also lack of accuracy in calculating some complicated statistics that "nobody" uses is not really a calculation bug.

Also most of those come from the fact that Excel has a precision of 15 digits.

Re:Ask HN: Why did Visual Basic die? by harry8 on Tuesday September 12, 2023 @07:59AM (#37479731)
My fav was when ms announced they'd paid an academic to fix =rand(), ignoring all the others.

Let's see it. Fill the visible part of a sheet with it, conditional format the cells, red for negative etc.

hit f9 to recalc and see a big bunches of cells turn red. Fixed random function to return a random number between 0 and 1.

I haven't worked on gnumeric for a long time - examples came from gnumeric.org

Excel was really bad for everything beyond basic arithmetic, way beyond the important issues with floating poiny listed here https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.h...

Anyone seen anything about ms actually fixing the bugs? I haven't.

Re:Ask HN: Why did Visual Basic die? by pillefitz on Tuesday September 12, 2023 @03:05PM (#37486196)
First rule of Excel development: Don't use sheet formulas, stick to VBA and apply normal dev practices
Re:Ask HN: Why did Visual Basic die? by harry8 on Wednesday September 13, 2023 @01:00AM (#37492386)
what proportion of excel use does this? 0.000000001% or not as much as that in your view?
Re:Ask HN: Why did Visual Basic die? by pillefitz on Saturday September 16, 2023 @12:02PM (#37535965)
Don't know, but the majority of sheets I've been in contact with (trading desks)
Re:Ask HN: Why did Visual Basic die? by rvba on Tuesday September 12, 2023 @07:17PM (#37489985)
> My fav was when ms announced they'd paid an academic to fix =rand(), ignoring all the others.

I am not sure what that means.

Excel keeps all the bugs for backwards compatibility. So the sheets made years ago still provide same results. In few cases the depreciated some functions -> the old ones still work, but are relatively hidden and the users are encouraged to use the new ones.

They probably should do the same with the statistical functions that supposedly have problems due to rounding. But that cannot be fixed - precision is up to 15 digits.

Also if you wanted an article that talks on Excel precision, you can start with the wikipedia page:

https://en.wikipedia.org/wiki/Numeric_precision_in_Microsoft...

Excel has many problems, but you linking to few website that supposedly prove that "Excel bad" - but at the same time - those exiles simply dont work, is somehow very funny.

Re:Ask HN: Why did Visual Basic die? by harry8 on Wednesday September 13, 2023 @12:59AM (#37492379)
it's the web. links die. There's enough there to find the papers if you care. Which you clearly don't.

>Excel keeps all the bugs for backwards compatibility

They /fixed/ rand(). Announcements. Fanfare. The fixed version returned numbers less than zero.

yet again excel's calculating issues go way beyond double precision floating point truncation.

Re:Ask HN: Why did Visual Basic die? by tombert on Monday September 11, 2023 @04:52PM (#37473537)
My dad works in Aerospace (though admittedly more on the managerial side, but he still tries to stay technical), and he does all of his initial programming in Excel first, and then will port it over to Matlab if he needs something more code-like.

I've been trying to get him to use Julia for that second step since I absolutely hate Matlab, but I honestly don't fault him for using Excel in the initial phase.

Re:Ask HN: Why did Visual Basic die? by vb-8448 on Monday September 11, 2023 @01:53PM (#37470953)
So true!!! :D :D :D

If Excel stops working, financial institutions around the world would collapse.

Re:Ask HN: Why did Visual Basic die? by daydreamtrip on Monday September 11, 2023 @05:29PM (#37473978)
Python was just added to Excel so there's not much chance of that
Re:Ask HN: Why did Visual Basic die? by JohnBooty on Monday September 11, 2023 @06:03PM (#37474312)
Really?? Oh, wow: https://techcommunity.microsoft.com/t5/excel-blog/announcing...

Actually that's really awesome, I think.

My goal is basically to never touch Excel again. But, I have to admit - that 2D mixture of data and code called "a spreadsheet" is honestly a pretty cool programming paradigm for a lot of tasks. It can be horribly abused... but so can everything.

Re:Ask HN: Why did Visual Basic die? by schmookeeg on Monday September 11, 2023 @02:05PM (#37471107)
Healthcare and insurance too! I transform into some glorious magical elf when I volunteer to do the VBA tasks nobody else understands or can lower themselves to do.

You can make Excel do some real wacky stuff. I have a spreadsheet that actually calls out to exec() to run a curl POST on commandline and consume REST API endpoints, parse the results, and update the spreadsheet -- why on earth?? because the API was ready but the web app was delayed. I was the fix. :D

Re:Ask HN: Why did Visual Basic die? by eli on Monday September 11, 2023 @02:08PM (#37471164)
Pretty sure you can access a REST API from VBA without resorting to exec()
Re:Ask HN: Why did Visual Basic die? by Shorel on Monday September 11, 2023 @02:11PM (#37471214)
It only works with toy examples and then stops working. For reasons unknown, as it should work.
Re:Ask HN: Why did Visual Basic die? by pillefitz on Monday September 11, 2023 @02:28PM (#37471459)
Never had issues with the standard VBA HTTP Interfaces
Re:Ask HN: Why did Visual Basic die? by schmookeeg on Monday September 11, 2023 @07:38PM (#37475140)
We support both mac and pc excel -- the mac VBA is seriously gimped.
Re:Ask HN: Why did Visual Basic die? by aj7 on Monday September 11, 2023 @03:22PM (#37472385)
Before VBA for Excel, I wrote numerous macros, including ATAN2(x,y) before there was an ATAN2.

Afterwards, forget it. Maybe one.

Re:Ask HN: Why did Visual Basic die? by TrackerFF on Monday September 11, 2023 @03:26PM (#37472447)
Pre-face: I write a lot of VBA

VBA is kind of the result of people only - ONLY - wanting to use Excel for everything. I work with those people. They have mastered excel, but have little to zero interest in learning anything else, and would rather see the world be built around excel.

So you (like me) get tasked with building applications and forms in VBA.

I was STOKED when MS announced Python for excel, but alas, turned out to not be what I (and many other) wanted.

What's the medicine? Dunno, hire analysts that are more open to using other tools . Don't get me wrong, I love using excel for many tasks - but damnit, it's not the only tool.

Re:Ask HN: Why did Visual Basic die? by wavemode on Monday September 11, 2023 @04:20PM (#37473092)
The company I worked for in college was in the "VBA for everything" world. It was like the Renaissance when they started experimenting with Power Query for some use cases. (Which, honestly, was still a terrible language. But slightly more maintainable than VBA.)
Re:Ask HN: Why did Visual Basic die? by j45 on Monday September 11, 2023 @04:42PM (#37473427)
VB is not VBA, VBA was a relatively small subset.

I might be mistaken but wasn't VBA brought into Excel as a familiar element from the VB world?

It is true though that some of the more purer or more initial concepts of VB likely live on in the VBA subsets of Excel.

And Access.

Re:Ask HN: Why did Visual Basic die? by TrackerFF on Monday September 11, 2023 @05:26PM (#37473952)
VBA works fine if you want to create macros and automate various things for your spreadsheets, but the problem is that the end user want / demand full-blown applications layered over their spreadsheets. The last thing I worked on was a CRUD -interface where the user could read and write data from their spreadsheet, to a azure DB.

It wasn't difficult, but at its core, I had to do it because the end users didn't feel like using some other interface - they really didn't want to leave their excel spreadsheet.

Re:Ask HN: Why did Visual Basic die? by underlipton on Monday September 11, 2023 @03:31PM (#37472520)
I used it as a coding layman in 15-buck-an-hour "admin" (clerk/secretary) roles to automate some processes that my predecessors had done by hand. Mostly just copying entries from a spreadsheet to company Excel/Powerpoint templates and printing them without killing myself copy/pasting or going into the save/print dialog 50 times. It did its work as something any old schmuck could harness to save themselves from carpal tunnel.

To that point, I imagine that there are a LOT of admin jobs (or, at least, a lot of tasks) that could be almost completely automated away. It's probably not even a capability issue, but one of job security on the employee side and a lack of *waves hands vaguely* on the employer side.

Re:Ask HN: Why did Visual Basic die? by Spinnaker_ on Monday September 11, 2023 @03:59PM (#37472805)
And not just old school financial institutions. Jane Street used to run out of an excel sheet. Many hedge funds still do.
Re:Ask HN: Why did Visual Basic die? by harry8 on Monday September 11, 2023 @08:55PM (#37475707)
10 year old you say.... office 97.
Re:Ask HN: Why did Visual Basic die? by system2 on Tuesday September 12, 2023 @02:17AM (#37477442)
I can't imagine Excel without VBA. I tried Google Spreadsheets with js and it sucked big time.
Re:Ask HN: Why did Visual Basic die? by anonzzzies on Tuesday September 12, 2023 @07:10AM (#37479304)
I keep saying this to all the depressed new and old programmers who believe you cannot make money anymore and it’s all over; there are billions of lines of legacy shite running the biggest companies in the world. Not only Cobol and Fortran, but excel/vba, access, fox pro, and, indeed, old php. Companies have to choose, every year, to rewrite or maintain. I do many projects focusing on maintain; example; my last client had a quite to rewrite his systems in some modern crap (next/react) for a little over 8 million usd (that’s the estimate; not a fixed price and of course no guarantees by the consultancy corp quoting it) or, we will keep their ancient php and Java running for 25-50k/mo (few hours work per year to do that with Docker). I have a very low tolerance for rewrites so we go in hard against companies offering them: we make far far more profit than any of them; we run well over 50% with far less risk. Once I discovered containers (chroots in the late 90s and now docker etc), I knew rewriting things is never needed.
Re:Ask HN: Why did Visual Basic die? by TMWNN on Tuesday September 12, 2023 @08:43AM (#37480282)
>I have a very low tolerance for rewrites so we go in hard against companies offering them: we make far far more profit than any of them; we run well over 50% with far less risk. Once I discovered containers (chroots in the late 90s and now docker etc), I knew rewriting things is never needed.

Vernor Vinge figured this out 25 years ago. A Deepness in the Sky depicts a human society thousands of years in the future, in which pretty much all software has already been written; it's just a matter of finding it. So programmer-archaeologists search archives and run code on emulators in emulators in emulators as far back as needed. <https://garethrees.org/2013/06/12/archaeology/>

(Heck, just today I migrated a VM to its third hypervisor. It has been a VM for 15 years, and began as a physical machine more than two decades ago.)