Sponsored Content
Full Discussion: Stop Writing Scripts
The Lounge What is on Your Mind? Stop Writing Scripts Post 302867105 by bakunin on Wednesday 23rd of October 2013 11:55:34 AM
Old 10-23-2013
Quote:
Originally Posted by mikemazz
Please, I beg you, “Stop!” Yes, stop writing scripts and instead build workflows.
[...]
To put it briefly scripts:

1) Have little or no security
2) Lack of reuse
3) Not cross-platform
4) Hard to maintain
This argument seems to be flawed from the beginning.

"Scripts" is just a certain form of the more general "program". You either can explain the difference between these two (which is hard to conceive, because any commonly-used programming language today is Turing-complete or Turing-equivalent) or you have to admit that your assertion extends to "stop writing programs". While this may or may not convey a cultural benefit*) it certainly will not help the IT business within the parameters of its todays operation.

Workflows can never replace programs, for the same reasons why programs cannot replace workflows: programs are ways of automatically executing certain actions in a predefined way within computers. Workflows are quite the same but within organisations. They work on different (and ideally complementary) levels. While they regularly work hand in hand - given, with more or less success in attuning to each other - there are things a workflow cannot do (because it is happening inside a computer) and things a program cannot do (because it is happening in some organisational part). To try and replace one by the other is futile.

You might want to try and replace the OS on your computer (which is just another program) with a (any) workflow if you do not believe me. Chances are you end up with a non-functional computer and a non-functional workflow as well.

Just my two cents.

bakunin

__________
*) Programming, once considered to be and practised like an art is done like a craft today. This has an IMHO negative impact on programs and programmers alike. Compare the masterpieces of, say, Beethoven and the jingles used in commercials, compare a statue of Michelangelo to the design of a disposable bottle to understand the difference between something done as an art and something done as a craft.

Once we had programmers like Donald Knuth, who took a ten-year sabbatical just to create an adequate typesetting system for his book "The Art [sic!] of Computer Programming" - we all know TeX. Compare this way of dealing with emerging problems in completing ones task with the usual "we have to meet the milestone deadline next Tuesday"-approach. That does not only take different types of persons and different types of mindframes, that also results in different types of programs. Arts versus crafts....

Last edited by Corona688; 10-23-2013 at 01:16 PM..
This User Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help on writing scripts!!??

Hello, I don't know anything about scripting, and I want help on writing a script, which can help me doing my research. Actually I have some ASCII format files formatted in a way looks like this 6 lines of text that is not important for me File_header_name_number_1 <--... (1 Reply)
Discussion started by: geoquest
1 Replies

2. Shell Programming and Scripting

writing schell scripts

I am very new to Unix. I need to write a script that will grep some files, etc. When I write the script, do I need to know what shell I am using? If so, how do I do that? (1 Reply)
Discussion started by: ssmiths001
1 Replies

3. Shell Programming and Scripting

Start and stop of an application thru shell scripts.

Hi, I just learnt the shell scripting and got working on that right now. I have one problem. Here i am having a java application that needs to be start and stop using two shell scripts, i.e., starting the java application using one shell script and stopping the application using another... (1 Reply)
Discussion started by: sadha
1 Replies

4. Shell Programming and Scripting

writing scripts

What would happen if I didn't use "./" before writing a script? (4 Replies)
Discussion started by: ebethea27703
4 Replies

5. Shell Programming and Scripting

Stopping Start/Stop scripts in reverse order

#Define the Start/Stop/Status Scripts to include SSS_SCRIPTS=( prog1 prog2 prog3 etc...... ) #Start the scripts StartScripts() { for SSS in ${SSS_SCRIPTS} do ./$SSS start done } #Stop the Scripts StopScripts() { for SSS in ${SSS_SCRIPTS} do ./$SSS stop #<---I... (1 Reply)
Discussion started by: madasafish
1 Replies

6. Shell Programming and Scripting

Services Start & stop scripts--help required

Dear All, Pls find my scripts for Agent services strat & stop. EAMSROOT=/opt/panaces export EAMSROOT cd $EAMSROOT nohup ./OracleAgent.sh start & nohup ./PFRAgent.sh start & nohup ./PFR.sh start & nohup ./SolarisOSAgent.sh start & exit 0 EAMSROOT=/opt/panaces export EAMSROOT cd... (0 Replies)
Discussion started by: starnaresh
0 Replies

7. AIX

HACMP version 5.4 startup and stop scripts

Hi My hacmp version is 5.4 and it is a active passive cluster. Where can I find the startup and stop scripts? Please assist. Thanks. (2 Replies)
Discussion started by: samsungsamsung
2 Replies

8. Red Hat

[HA] Red Hat 7, pacemaker and start/stop scripts

Hi there, I am wondering if I could add start/stop ksh scripts provided by 3rd party to cluster... I read that script must be ocf/lsb compliant, however, in AIX I can just set up two separate scripts for starting and stopping application. Can similar be done under RH Linux cluster? Cheers, c (1 Reply)
Discussion started by: cyjan
1 Replies

9. Shell Programming and Scripting

Linux startup and stop scripts using SSH

I have a question. Actually I want to make two scripts, one is startup.sh and other is stopscript.sh so for example, I have 5 servers. Each server has two instances :- abc111 - Masters -cra4 abc222 -middle tear -cra abc333 -middle tear -cra1 abc444 -middle tear ... (1 Reply)
Discussion started by: siddharthjain
1 Replies

10. UNIX for Advanced & Expert Users

Stop root from writing to directory

Is there a way to stop root from writing to a directory? I already tried chattr but that did not seem to work. chattr +i directory (12 Replies)
Discussion started by: cokedude
12 Replies
All times are GMT -4. The time now is 10:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy