by JCM9 · 2y ago · 0 comments
The business world is full of the later. For example, some bonkers monstrosity of a spreadsheet that Bob from finance built 5 years ago. Bob is no longer with the company and said spreadsheet is the only way the TPS reports get done each month so the whole company is held together by this thing nobody really understands.
All that to say, it’s an absolute cluster-fsck to automate anything with the proper tooling. If there is any way I can just do it in Excel these days, I do it. I’ve created some pretty ridiculous stuff in it. The upside is that once I am able to navigate cutting all of this red tape and use proper tools, I’ll have plenty of projects in mind and likely be asked to return as a contractor for double+ the money to maintain them in retirement.
We use Google Sheets, as we changed from Office at the beginning of this year, and 10-15 times a day my tab crashes on Chrome from just existing, let alone when trying to do any operations.
It's a mess, and I'd rather build a simple web app to replace it, but don't have the time, approval, or financial resources to make the switch. So instead of letting me improve 100+ peoples daily workflows, we just suffer.
Go spreadsheets!
I personally would rather build an Excel sheet (in actual Excel) than a simple web app. In fact, I believe a double digit percentage of SaaS startups would be strictly more useful to their users if they came in the form of a downloadable Excel sheet instead of the bullshit web SPA thing. But of course, selling something useful for the customer is not how you make money today.
=IF(A1 > A2, (B2 + B3), (C2 - C3))
and (if (> aye-one aye-two) (+ bee-two bee-three) (- cee-two cee-three))
Infix vs prefix, coordinates vs variable names.It is syntax on top of the essence of a functional programming language.
And it has the same things. One liner of perl, python, or powershell - anyone can write it and it doesn't take too much to manage its complexity.
However, once you get into more complex relationships between data and structures, it takes discipline to manage it. Spreadsheets often are poor at giving you the tools to manage it and so it takes more effort to make sure that you're not making a mess.
A complex spreadsheet is a complex program that needs to have someone who has the discipline and abstractions necessary to manage it.
The point was more one of "Excel is an IDE for a functional language." Doing large projects in Excel should take as much care / design / thought as large projects in Lisp (or any other language).
That Excel is everywhere and people often do simple things that grow large without having the discipline of managing the complexity that excel can become - that's where there's problems.
Rather if you say to someone with enough skill to get started "here's python, good luck" you'll get similar results as "here's Excel, good luck." Just that you'll have an easier time persuading cooperate IT to install Excel on your machine compared to Python.
Further, even a big messy Excel model (including VBA code) is usually self-contained in a single file, while a code-based model can be dozens or hundreds of files, many of which are support libraries for stuff that's built-in to Excel (front-end, vector math, charting). And lets not get started on breaking up a model into distributed microservices!
Calculations for slot machine mechanics and payouts have been in Excel for a long time. There can be a LOT of complexity in these workbooks. Sometimes it’s tricky to debug - but what’s the alternative? Code is often hard to debug too.
Simulating results (Monte Carlo) is nice but having two sets of data for validation/checking against each other is nice.
I am not aware of any alternatives.
No version control, no approval process, no source code repository, no unit or regression testing, no logging, no test vs production environment, no central place where all code/macros are saved, no documentation.
You end up with these giant spaghetti formulas with no easy way to decompose them into smaller functions.
Spreadsheets could have been a gateway drug to learning programming.
I've been writing code since I was a kid, but there are jobs a spreadsheet is just the right tool for. Almost anything that involves creating an overview of lots of interdependent numbers really.
Excel in particular is a lot more powerful than you might be aware of if you're a casual user, and I would honestly recommend you learn it properly, as you would learn a programming language, since it's a really useful skill to have (1).
That said, I've often thought about what a programmer's spreadsheet tool would look like. Scientific grade plotting, N-dimensional spreadsheets, a real programming language in the cell formulas...
Someone must have attempted it?
(1) By the way, ChatGPT is great at teaching Excel.
Someone must have attempted it?
That sounds suspiciously similar to any SQL database if you ask me...
I like postgres myself, but people talk fondly of mySQL too.. as for viewing the "spreadsheet", there are probably hundreds of solutions. I'm partial to DBeaver myself, if it's the spreadsheet feeling you're looking for at least.
This argument usually comes from some IT group that takes like 2 years to do something for the users that get so frustrated that they do it themselves. Since the users are maintaining it, they're constantly reviewing it and are the ones with the most functional knowledge. An alternative IT group has to go to this same group anyway.