3 ms·
You don't speak for all developers, at least not me. In particular, having a working dev environment that accurately represents prod just handed to you, instead
by fragmede 3y ago
You don't speak for all developers, at least not me. In particular, having a working dev environment that accurately represents prod just handed to you, instead of trying to rig up something locally is actually kinda nice. It matters greatly what you're working on. If you're building a local C++ application, a devbox is going to be wildly inappropriate, but for a SaaS company where prod is a untangleable mess; databases and queues and microservices, it's infinitely more efficient to gave me a box already spun up that's a good enough faxscimile of prod. Bonus points for seeing the DB with test info. In IT, if a user comes to you with a broken mouse, do you try and fix it, or do you just give them a new one and get them back to work asap, and take the mouse in the back and fix it later? Same principle. If the dev box isn't working, it's far easier to spin up a new one rather than debugging on someone's laptop.
Dev boxes don't have to mean standardizing on One True Editor (although everyone knows that's vim), as long as you can get to the source, typically via ssh, and edit it, whatever you want to use is just fine.
- stephenr 3y agoIf only there were tools to spin up repeatable environments based on a given config file locally, using either VMs or containers, reducing the setup process to a single command. What a world that would be. /s
- fragmede 3y agoIf your stack is trivially setup via a docker-compose script, great! there are more complex systems out there for which that's insufficient.
- xmcqdpt2 3y agoI think they meant Nix.
- stephenr 3y agoI didn't mean one specific thing. There are numerous tools in this space that approach the problem from different angles using different technologies. My point really, was if your local dev environment requires you to jump through a bunch of hoops doing manual setup to get it working you're doing it wrong.
- zdragnar 3y agoI think this hits the nail on the head. Plenty of companies have software stacks so large / complex to configure that there's no reasonable way to run the entire system on a single laptop. As much as I dislike the experience of remote dev environments in general, there are certainly times where it may be worth the pain.
- LispSporks22 3y ago> have software stacks so large / complex to configure I think that’s your problem right there
- zdragnar 3y agoI haven't worked at many places like this, but the last time I did they had services that managed and operated on petabytes worth of data. The full suite of front end applications, rest services, ingestion services, maintenance, queues, billing, communication, scheduling and other systems is large enough that I probably only saw the source code for maybe 1/3 at most, let alone modified. I do like local development better, every time it is feasible, but there's not much point in doing so if it can't reasonably reproduce a production system.
- fragmede 3y agoSometimes thing are just comped complex. I know we want to see epicycles and simplify and be able to reduce the system, and sometimes that's even possible. (Don't get me started on being all in on all of AWS.) But sometimes it isn't and, well, that's where we are as an industry.