LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-17-2017, 12:11 PM   #31
justmy2cents
Member
 
Registered: May 2017
Location: U.S.
Distribution: Un*x
Posts: 237

Original Poster
Blog Entries: 2

Rep: Reputation: Disabled

Quote:
Originally Posted by GazL View Post
To be frank, I think that's mostly just language snobbery at work. Much like the derision that BASIC tended to get from some quarters in the past. If you're having fun, then good on you, just ignore the nay-sayers.

Whether something gets called a script or program seems mostly down to common convention and little more than that:
  • sed, awk, expect, shell, perl, python: script
  • BASIC, Pascal, C, C++, Java, etc: program.

If you try and come up with some sort of hard criteria for a distinction you'll just find yourself with lots of exceptions to the rule, so best not to even try. Just have fun coding and don't worry about it.
I couldn't agree more, aslong as it does what you need it too (in the most elegant way possible) than that's all that matters.. Having fun is a side benefit.
 
Old 05-17-2017, 12:27 PM   #32
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
I must make note that for system administration tasks the shell works pretty well, because the programs needed already exist on the system. But if you're writing an application program, like the thousands of packages in any distro, you're going to use a compiled language, preferably oo.

No one can write serious programs that run efficiently using a script.
 
Old 05-17-2017, 12:31 PM   #33
justmy2cents
Member
 
Registered: May 2017
Location: U.S.
Distribution: Un*x
Posts: 237

Original Poster
Blog Entries: 2

Rep: Reputation: Disabled
@ Awesome
Quote:
But if you're writing an application program, like the thousands of packages in any distro, you're going to use a compiled language, preferably oo.

No one can write serious programs that run efficiently using a script.
Yeah for that I know Linus used to GTK but now uses QT.. So if im programming for Linux ill probably choose one of those two..

Last edited by justmy2cents; 05-17-2017 at 12:33 PM.
 
Old 05-17-2017, 03:56 PM   #34
Laserbeak
Member
 
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508

Rep: Reputation: 143Reputation: 143
Quote:
Originally Posted by sundialsvcs View Post
Some programming languages are non-procedural, such as Prolog. (If you're itching to solve Rubik's Cube, or a logic puzzle, or a Sudoku puzzle, and you don't know how to write a procedure to do that ... Prolog – especially gprolog – is your friend.)
Yeah... I had to take Scheme (a variation of Lisp) in college, I absolutely HATED it, the only computer class I really had trouble in. Assembly language was a piece of cake.
 
Old 05-17-2017, 04:04 PM   #35
Laserbeak
Member
 
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508

Rep: Reputation: 143Reputation: 143
Quote:
Originally Posted by GazL View Post
Whether something gets called a script or program seems mostly down to common convention and little more than that:
  • sed, awk, expect, shell, perl, python: script
  • BASIC, Pascal, C, C++, Java, etc: program.
I would put Perl and Python into the actual programming language category. To my mind, scripting languages rely mainly on launching other programs to do their work, while programming languages do most of their work with built-in functions or importable libraries.

I tend to use bash scripts only for starting up or shutting down either the system or other, large programs such as a database like ORACLE that takes many steps. Not to do real work.

Programming languages do the hard work themselves.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: New to Programming? Check out these Outstanding Open Source Programming Books LXer Syndicated Linux News 0 01-25-2017 09:33 AM
future of programming, programming jobs, programming languages? detr Programming 17 08-01-2016 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration