Lurker News

Comments (175) 40 threads

Earlier comments
pietrovismara5 replies#
Or don't please, I think it's a terrible idea to abuse spreadsheets like this.

I'm being forced by my manager to do this for a client due to a close deadline (the idea is to implement a spreadsheet as interface to make it quicker than a classic web app), lbut they keep asking me to implement advanced features that would be 10 times faster to implement with a regular interface or sometimes not even possible on a sheet. Spreadsheets have a precise use case and it's not to replace web apps.

lloeki1 reply#
I had a situation in a certain business field where the calculations the customer designed and implemented in a spreadsheet changed so regularly that implementing them in code was unworkable because by the time the code was out if was both late and outdated. I designed[0] a solution that recursively parsed and resolved the formulas from a list of input and output cells, built an AST out of it and transpiled it to actual code or bytecode. The prototype worked beautifully and made the result diffable, extendable with, and easily embeddable within real code. My then boss found the solution useless and NASA-class, outright rejected it, and had another team just spin up some Excel, calling it with OLE or whatever and called it a day, which had abysmal performance, reliability, and runtime cost (as in $$) which ended up killing the deal with the now irate customer.

[0] Actually since I had the idea waaaay before the business need and project, I had a personal MIT-licensed clean room toy implementation of it sleeping somewhere on my hard drive and used that for the business prototype.

jarym1 reply#
Nice work! Would you consider publishing that on GitHub?
lloeki1 reply#
Thank you! That's the plan since the onset as soon as I have some time to turn this into not a glorious hack that basically only runs on my machine. Just the Excel and OpenDocument formula parser (using PEG via treetop in Ruby, can't recall what I used for Go, got a Python thing too) could be very useful to some already.

Continue this thread — 1 reply

x38iq84n#
This, exactly. Spreadsheets have received enough abuse already.
_pmf_2 replies#
> I think it's a terrible idea to abuse spreadsheets like this.

It currently maintains millions of business software jobs.

chris_wot#
That explains a lot.
Nextgrid1 reply#
Telemarketing also maintains millions of jobs. Doesn’t mean it’s a good thing to keep around.
_pmf_#
> Doesn’t mean it’s a good thing to keep around.

Well, too bad the smart guys in Silicon Valley are busy perfecting their yak shaving, otherwise I'm sure they would have found the holy grail of business software that us foolish dark matter programmers have failed to deliver on for several decades in no time.

fit2rule1 reply#
I'm not sure I completely compel with your idea.

The reason is, I don't think there is a single website out there, which couldn't be described in a spreadsheet.
What I suggest though, is take a look at this, and throw your companies sheet at it in a 30 minute hack session. If this proves unfruitful, I'd be happy to hear all about it.
Spreadsheets are a terrible way to make web-sites, though.
One of the bits I agree about, is that we should be very wary that we, developers, don't get replaced by one.

TeMPOraL1 reply#
> One of the bits I agree about, is that we should be very wary that we, developers, don't get replaced by one.

Friendly reminder that this is literally the whole point of the job. Automation. Making people stop doing tasks that can be done by machines - which often means replacing people with code. Sometimes even ourselves.

fit2rule#
Yeah, I know:

    Spreadsheets > Web.
tomyeh#
Abuse or not. It is always great if we can re-exploit the value of thousands of existing/legacy Excel files.
collyw4 replies#
Stop encouraging people to use Excel for tasks where it is a poor fit. I have wasted so many hours of my life because of Excel and people using it for non-spreadsheet purposes.
throwayEngineer6 replies#
You may be a dying breed.

As much as everyone wants to build full stack for every application, Excel is fantastic for complex math out of the box.
Excel is the average persons database.
I have found being able to expand on this has been incredibly useful and modular.
And as a note, VBA is definitely a real programming language, it up to the developer on how to treat Excel.

TAForObvReasons#
A surprising number of people have difficulty understanding Java or JS or Haskell or any "traditional" programming language but immediately grok complex Excel workbooks with VBA macros
cannonedhamster#
Excel has some real limitations with large datasets and multiple users accessing it. It's far better to use something like Access or SQL for these purposes. It's also nicer in access when creating a form for people to use that pulls data from multiple input tables. For smaller data sets or sharing access quickly Excel is a champ and even when it fails it tends to try to do so gracefully. VBA does add a great amount of usefulness and is wonderful as an entry scripting language.
newaccoutnas3 replies#
I must be part of the dying breed too. Having been involved in migrating very broken Excel/Access/VBA into properly formed web applications for companies I've worked at, the problem is people using the wrong tool in the first place. It may meet their immediate need but with no viewpoint on it's future usage, then fragility sets in and it costs the company more in upkeep and resource. I can see how that happens, but perpetuating it seems a bad idea.
pacoWebConsult#
Worked on a project last winter to add a fully featured compliance management system to a state regulatory agency in Access. They have moved to a sql server backend but the support for database operations is incredibly limited by the Access JET DB engine. Ended up just using ADO in my VBA scripts for everything instead of the Access database tools because it was not capable enough for the complexity. This client doesn't have the budget to migrate from Access, but has the budget to continue slapping garbage to it every year. At least as the primary NGO involved works with other states to create a web-based solution, my client might be able to move away from Access by 2025? I would say the majority of orgs that encounter this really have no choice in perpetuating the use of bad systems.
fauigerzigerk#
Looking at it from the perspective of a developer tasked with making a proper app from a spreadsheet, you're bound to come to that conclusion. But that's with the benefit of hindsight and with a massive dose of survivorship bias.

Of all the spreadsheets that start out exactly like the ones that need to be converted to an app, how many were thrown away having served their temporary purpose just fine? How many of them never outgrow the immediate needs and skills of its creator?
Perhaps spreadsheets should be seen as tools for business process prototyping. Starting a proper software engineering project only after a task has outgrown its spreadsheet based implementation may be a pretty efficient approach.

bradknowles#
Maslow's Hammer in action.
stingraycharles#
I share your opinion. As a developer, I do not like Excel and the scripting environment around it, but I realize that I am not the target audience: it’s an incredible tool for analysts, managers and whatnot to explore and analyze data.

I work with a lot of data in my daily life, and see most BI tools struggling to recreate the same functionality that Excel offers, often failing in the process.
People try to recreate the Excel experience online too much, forgetting that Excel itself is a really solid solution and it’s worth taking serious.

KurtMueller#
VBA might be a real programming language, but imho, its syntax and tooling are awful.
goatlover#
Why would VBA be better than Python, Julia or R for handling complex math? Seems like the language would be really cumbersome and lacking in libraries relative to those languages.
jtbayly#
I once worked for a company where the owner had written a Point of Sales system in Excel. It handled mixed orders where some product was given to the customer immediately, some they could come back later and it would be packed for them to grab, and some would be shipped after the event. There were hundreds of SKUs, up to 8 computers taking orders, and most scary of all, they were networked together so that another computer running excel could collect sales data and help the production team figure out how many of each product they should make next. Also the order fulfillment team used the same collected data.

It was brilliant. Excel was also the wrong tool. We constantly had problems with file locks, network shares, etc. After one year I worked with another guy to rewrite it as a web app.

ken1 reply#
I've wasted years of my life because of the web and people using it for non-scientific-paper-publishing purposes.
collyw#
your point being?
SonOfLilit#
My coworkers have wasted years of their life because people decided to write software that could feasibly be a medium-complexity spreadsheet.
ivanhoe3 replies#
It's worth noting that the described flow could've been fully automated from within the Excel itself, with just a few macros and formulas. I've created a spreadsheet doing very similar thing (grabbing the exchange rate from net and generating invoice) like a decade ago, so it's not even something new. The main issue people have with Excel is the same as with vim, majority of users just don't use it properly and know only the most basic functionality - which results in them doing a lot of repetitive things manually. I don't mind using tools like keikai, they're one approach to solve the problem, but perhaps companies could also try to send their employees on a proper Excel course first.
Waterluvian4 replies#
How do you do version control with code embedded into spreadsheets? Am I not better off making code that generates a spreadsheet (or CSV or whatever formats I care about)?
projektfu#
It’s been a long time since I looked into it but I remember a version of Office like 20 years ago that integrated with version control. I wonder if that’s still a thing.
wolco1 reply#
Copy and paste the file to a new folder.
EForEndeavour#

    Copy of 2019Q1-finance-report-3__fixed)_Jon edits - bugfix (2).xls.xlsx
aargh_aargh#
Excel has this built in in the later versions (since 2013, I think)
gcmrtc4 replies#
I've been able to learn vim because the web is full of high quality content that will teach it from the basics in a way that's compatible with my mindset.

I never had the same experience learning Excel, maybe the problem is my mindset. The only learning experience I enjoyed about excel is 'You suck at Excel' by Joel Spolsky.
Can someone recommend a good Excel learning path for someone in this situation?

CamelCaseName#
The best way to learn Excel is to use it at work. I thought I was fantastic at Excel/VBA until I got my first finance role. Learned more in 3 months than I could have learned in 3 years on my own.

One secret I'll let you in on: most people use plugins like KuTools to do the heavy lifting. There are tons of industry-specific plugins. When you really can't find a plugin to do what you want, then, and only then, should you be writing macros and saving them to your xlsb.
But what if you're not able to use it at work? Then I recommend picking up pet projects and continually look for ways to improve. Just keep asking, "could this be easier?"
Whenever you get stuck on Excel issues, I recommend watching Excelisfun [0] who has thousands of hours of video content on every Excel feature you can think of. If you have difficulties with VBA, check out MSDN help docs.
P.S. Don't write a fuzzy text matching algo yourself. You will drive yourself crazy and Microsoft has one for free to download.
[0] https://m.youtube.com/user/ExcelIsFun

Continue this thread — 2 more replies

Continue this thread — 1 more reply

vianneychevalie2 replies#
There is a solution developed in France, WeMaik [0]that is very similar. We've used their solution in the consulting firm I'm a part of.

The clients are very satisfied, because the web app that's outputted by WeMaik is so easy to design and produce that they're produced by industry-knowledgeable consultants, and not web developers.
We go from idea to actionable mock-up in half a day, present it to the client, and then build the real solution assisted by WeMaik. The connections, queries, logic are not no-code, though, for this solution. We describe the specs in the spreadsheets we send to WeMaik, and they configure it.
[0] https://www.wemaik.com/

Continue this thread — 2 replies

Load more comments