Show HN: Stop writing Excel like it's assembly
5 points| evandwight | 3 years ago |github.com
I would write the equivalent of:
/* Tax rate */
var b1 = 50%;
/* Salary */
var b2 = 120000;
var b3 = b1 * b2;
When excel lets you write: var tax_rate = 50%;
var salary = 120000;
var b3 = tax_rate * salary;
I just didn't know any better. This class of problem can be solved by a linter and auto-formatter to automatically detect and use excel best practices. Which also helps you learn best practices.Stop reading and writing excel like it's assembly. Upgrade your excel to the modern era.
If you have suggestions or recommendations I'd love to hear them. I just saw the above video linked on HN and thought I can solve this! The current version is extremely simple/naïve/ugly.
sargstuff|3 years ago
* a) VR "excel" version
* b) Turing machines / autonoma are assembly? * c) Way to make the files generated in bit more readable! * d) Convert lambda functions to "normal, named functions"?? * e) colors to text? * f) objectart to text? * g) Naming pixels? * h) Naming blocks? *i) midi code linter ??evandwight|3 years ago
I only have 1 recommendation right now and it's super simple: look at formula references to find interesting cells then check for a label to the left.
It's all heuristics and easily broken. It doesn't need to be perfect to help though.
Sidenote: I can't believe excel formulas are Turing complete now! Excel is truly a beast!
japborst|3 years ago
sargstuff|3 years ago
For excel:
Lean proof of concept https://matt-rickard.com/spreadsheets-and-lisp
Extended proof of concept for thinking outside the [cell box] : https://www.gnu.org/software/emacs/manual/html_node/emacs/En...