LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


View Poll Results: Is scripting programming?
Yay! 48 65.75%
Nay! 16 21.92%
Undecided. 7 9.59%
Doesn't concern me. 2 2.74%
Voters: 73. You may not vote on this poll

Reply
  Search this Thread
Old 02-27-2004, 02:12 AM   #61
Chris Weimer
Member
 
Registered: Jan 2004
Location: NYC
Distribution: Fedora XFCE
Posts: 91

Rep: Reputation: Disabled

well technically, its the instructions that are the key. You don't write instructions in HTML, you simply describe data. Another example would be XML = Markup XSL = programming.
 
Old 02-27-2004, 07:57 AM   #62
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Quote:
Originally posted by Stack
Show me a python programmers who understand what a register/accumulator is...
You're looking at one.
 
Old 02-27-2004, 09:28 AM   #63
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
Quote:
You don't write instructions in HTML, you simply describe data
... which are instructions for the browser on how to render the data...
 
Old 02-27-2004, 09:32 AM   #64
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
Quote:
Originally posted by Strike
You're looking at one.
Of course i am
 
Old 02-27-2004, 09:46 AM   #65
chewysplace
Member
 
Registered: Sep 2003
Distribution: Slackware 10 w/ Kernel 2.6.8
Posts: 176

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by coolman0stress
... which are instructions for the browser on how to render the data...
good point. but is it programming?
 
Old 02-27-2004, 09:51 AM   #66
chewysplace
Member
 
Registered: Sep 2003
Distribution: Slackware 10 w/ Kernel 2.6.8
Posts: 176

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by ElementNine
Chewy i think you need to learn something about programming before arguing topics about it. I find it funny how you demand that i be specific about high level & low level languages yet you don't know the difference between java and javascript when someone asks help for it (other posts)
yes i do know the difference. i even argued my reasoning for what i said. reverting to such personal attacks is unecessary in this post, so please keep it to yourself. this post is about the languages not the credability of the person making the argument. if you cant make an argument then dont post.

Last edited by chewysplace; 02-27-2004 at 09:53 AM.
 
Old 02-27-2004, 11:43 AM   #67
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Quote:
Originally posted by Stack
Of course i am
Indeed you are. Not only do I understand registers and accumulators, I understand the underlying electrical circuitry of them. Most programmers couldn't tell you what a flip-flop is, but I know the difference between a D flip-flop and a JK flip-flop
 
Old 02-27-2004, 12:01 PM   #68
paragon17
LQ Newbie
 
Registered: Feb 2004
Distribution: Mandrake 7.2
Posts: 19

Rep: Reputation: 0
I do not consider Markup as programming, but normally I do not do
much programming using transistors - the nearest I get is using an
inter-faker. This is normally debugging the cable rather than programming
per-se.

It is a long time since you had to burn fuses to program a chip. However,
the question in hand still seems to be whether scripting languages
constitute programming lanuages. In the purist sense, awk scripts are
programs. However as has already been pointed out, there are more
than one level/class of programming. I would not consider sed, or
find -exec grep mypattern {} \; as programming proper - but I would
consider the perl regular expression logic as more or less programming.

In one way, scripting and programming are simply synonyms. They both
perform a sequence of tasks that would be tedious to perform manually.

Oh, hang on... That means that anything that tells a computer to do
something is programming. (Especially if you need to type in the first
few instructions using octal dip switches, in order to stream the tape
boot program.)

Paragon
 
Old 02-27-2004, 01:51 PM   #69
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Rep: Reputation: 38
So giving instructions to a PLC is that programing?

Or setting channels on your TV?

Or regulating a paper mill?

Or organizing molecules to calculate something?

Or putting together a logical switch with one NAND?
 
Old 02-27-2004, 03:08 PM   #70
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Okay, now for a meta-debate: why does it matter if <insert activity here> is considered programming by anyone in particular? If someone says they have programming background, simply ask for more detail.
 
Old 02-27-2004, 08:54 PM   #71
chewysplace
Member
 
Registered: Sep 2003
Distribution: Slackware 10 w/ Kernel 2.6.8
Posts: 176

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by kalleanka
So giving instructions to a PLC is that programing?

Or setting channels on your TV?

Or regulating a paper mill?

Or organizing molecules to calculate something?

Or putting together a logical switch with one NAND?
lets not get too far fetched shall we.
 
Old 02-27-2004, 11:07 PM   #72
andzerger
Member
 
Registered: Feb 2004
Location: denver
Distribution: slackware && freeBSD && rh9
Posts: 92

Rep: Reputation: 15
what about "programming" a VCR? if aware (if green-light == !dim) then proceed ..oh wait.. thats programming someone to program a vcr .. usually i would consider programming a vcr 'configuring' but, now im looking at C code like gcc is a vcr thats going to do some selective recording ..

yeah, i know, i should read the whole thread before i post anything .. im not claiming to be the first person to bring anything up though

Last edited by andzerger; 02-27-2004 at 11:08 PM.
 
Old 02-28-2004, 06:04 AM   #73
paragon17
LQ Newbie
 
Registered: Feb 2004
Distribution: Mandrake 7.2
Posts: 19

Rep: Reputation: 0
Eureka! Programming is being aware of what the instructions do, and
choosing them yourself as appropriate to the task you want performing.

Ergo, programming is not taking someone elses code and running it. If
you modify it and chop and change then this would be programming.

Still not sure whether typing in a program from a magazine (unmodified)
is programming. Now putting C code through a VCR (using the interfaces
provided) would definitely be a programming feat.

Paragon
 
Old 02-28-2004, 09:05 PM   #74
guardian653
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 79

Rep: Reputation: 15
Scripting and programming is the same thing. Scripting is mostly associated with something being interpreted while programming is normally associated with being compiled and standalone (doesn't have to be interpreted). Either way, they both do the same thing: you make something to have it do something.

That said, HTML, XML, and other similar formats are nothing like scripting or programming. Its just a way of formatting plain text.

(Speaking of putting C code through a VCR.. I wonder if you could exploit a flaw in a TV's close captioning (or teletext) system and make it change channels or something... but that would be insane!!! :P)

Just my
 
Old 02-28-2004, 10:58 PM   #75
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
Quote:
Either way, they both do the same thing: you make something to have it do something.

That said, HTML, XML, and other similar formats are nothing like scripting or programming. Its just a way of formatting plain text.
Yes, you format text, so some system can interpret it and render it in a browser (html). Bares a lot of similarity to a C program that writes "Hello, World" in a console window.

HTML might be simply formatting, it doesn't have decision structures, but like other programming fields, you end up writing code that is used by some computer system to achieve some result, be it just displaying your resume online, or outputing the results of a calculation in a console window, or building a GUI app.
 
  


Reply



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
Automating simple commands, scripting or programming? entob *BSD 3 09-01-2004 01:56 AM
CFLAGS -O2 -O3 does it realy matter? eken_i_leken Linux - Software 3 08-05-2004 06:46 AM
Realy Realy Need some basics Essay Slackware 7 04-26-2004 04:59 PM
How to REALY shut down the computer? caphclimber Linux - Software 8 09-08-2003 08:24 PM
scripting or programming question - running a program ewto Linux - Newbie 2 09-05-2003 11:46 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:25 AM.

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