2 ms·
You're right, maybe the tool or script would be more maintainable if it was written in the company's main programming language. But also, a developer may not e
by veeralpatel979 7y ago
You're right, maybe the tool or script would be more maintainable if it was written in the company's main programming language.
But also, a developer may not even write it if he or she feels pressured to do this.
Here's a thought experiment: say you're seeding data into your local database server using the `mysql` CLI.
- Would you write and check in shell script to do this, so coworkers can use it? Probably yes.
- Would you write a Python script to do this? Probably no.
- Would you write a Java or C program to do this? No way.
- rho4 7y agoNo thought experiment necessary. On my first job, someone created Python scripts (hot & new then) to initalize our warehouse databases. Checked in, too (good!). Became a huge maintenance hassle and forced everyone to learn Python on the side. I fail to see why you would not check in a script, no matter what language... And yes, I would, have and do write database initialization "scripts" in my main language all the time.
- veeralpatel979 7y agoThe point I was trying to make is that there's many scripts which are easy to write as shell scripts, so developers will write them as shell scripts. But they are time-consuming to write in mainstream languages, so developers often won't do it if that's their only choice.