6 ms·
Years ago I was working a miserable job writing boilerplate template code where I had to sub in variables based on certain conditions, it was using a very bland
by sleibrock 7y ago
Years ago I was working a miserable job writing boilerplate template code where I had to sub in variables based on certain conditions, it was using a very bland language to look up data from our database and format the output. I wasn't allowed to download any software onto my work computer despite having a technical background.
So what I did instead to make my life easier was write F# to create a kind of DSL and create the template lookup scripts for me. I did it all from the browser with repl.it, and I generated dozens of scripts and saved myself a lot of time in the process.
Now I mostly use Racket, but F# is where I kind of started out. It's a fun dialect.
- nhlx2 7y agoReads like an opening of a dystopian novel!
- mfatica 7y agoYour idea of dystopia is a company having strict IT policies? Wait til you hear what China is doing.
- oblio 7y agoHeh. I was doing manual deployments because of dumb bank policies so after a lot of maneuvering I used Powershell and plink.exe to write a small, dumb version of Python's Fabric to be able to automate deployments. I was writing Powershell in Vim while trying to keep my skunkworks project out of sight because of crappy management policies. Sometimes you gotta make lemonade...
- escherize 7y agoWhat do you do where you are using Racket most of the time?
- sleibrock 7y agoFor now it's a lot of database ETL and network services at my new job. If I'm not using Python, there's a good chance I'm prototyping something in Racket.
- seisvelas 7y agoRacket is a fantastic language. It has a solid community of great engineers, can doesn't try to hard to build hype or become a fad. I'd like to see it acquire an industry niche somehow so it can flourish.