DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

View Poll Results: favorite programming language?
Asm 19 10.73%
C 67 37.85%
C++ 36 20.34%
C# 8 4.52%
Java 15 8.47%
Javascript 6 3.39%
Perl 30 16.95%
PHP 33 18.64%
Ruby 13 7.34%
Python 39 22.03%
Shell 36 20.34%
Awk 15 8.47%
Others: Tcl, Erlang, Haskell, Ocaml, D, Forth ... 25 14.12%
Multiple Choice Poll. Voters: 177. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old 26th May 2008
heavensrevenge's Avatar
heavensrevenge heavensrevenge is offline
Real Name: Eric
New User
 
Join Date: May 2008
Location: Canada
Posts: 3
Exclamation HTML is null

Hey there guys, I happened to try and explain HTML the best I could on a different forum, i hope you enjoy and feel free to correct me

Quote:
HTML is not programming and any who think so should be de-moted, HTML is a document standard like .doc, .docx, .xml and .pdf which in turn makes text and it's layout pretty, there are no functions, procedures, nor loops to make it a programming language for work by the CPU; and HTML is only really used by the rendering engine in your web browser, the CPU drives the browser, programmed applications whether compiled or interpreted use the CPU either directly or indirectly by a virtual-machine anyway so you may THINK it overlaps there to enable the possibility of "Hello World!".

Shell scripting is useful to create intricate ways for other applications to be strung together to do useful work. Python is nice too for some cases, even though I hated python previously ( like all interpreted languages as I'm a compilation kinda guy [ Ada, C/C++] ) but Haskell and Erlang are also pretty awesome considering functional programming .
(but please do remember your experience in HTML is ~useless considering programming), Have fun!
__________________
Reply With Quote
Old 26th May 2008
tuck's Avatar
tuck tuck is offline
Shell Scout
 
Join Date: May 2008
Posts: 99
Default

Is it ok to say "php + html is programming" ?
php got all the programming structures.
Reply With Quote
Old 26th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

PHP is a programming language ... HTML is still a markup language...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 26th May 2008
heavensrevenge's Avatar
heavensrevenge heavensrevenge is offline
Real Name: Eric
New User
 
Join Date: May 2008
Location: Canada
Posts: 3
Default

It's just trying to wave the fact PHP IS a programming language, but HTML isn't. It is much more fact that PHP+HTML=server side/browser programming to some extent, but you see the flaws in The argument and it's reliance upon PHP for its backup plan. No matter how anyone sees it, HTML is NOT a programming language from my view and understanding, just a code beautifier.
Reply With Quote
Old 26th May 2008
matt matt is offline
Port Guard
 
Join Date: May 2008
Posts: 13
Default

It depends on the context whether or not I would call HTML a programming language. If I was talking to my mom about it or something, who is not a programmer at all, then for all practical purposes it's a programming language.
Reply With Quote
Old 26th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

ugh.

No, it does not depend on context, it is simply not a programming language, it is a markup language, which is something entirely different.
Period.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 26th May 2008
heavensrevenge's Avatar
heavensrevenge heavensrevenge is offline
Real Name: Eric
New User
 
Join Date: May 2008
Location: Canada
Posts: 3
Default

GEEZ persistent buggers aren't they Carpetsmoker?? :P May I ask how you would rate my explanation on your behalf ?? Seems like not even a nail gun can get through some thick-headed people... to be quite contextually ridiculous.
Reply With Quote
Old 26th May 2008
matt matt is offline
Port Guard
 
Join Date: May 2008
Posts: 13
Default

Words are just tools used to communicate. They don't determine what's real or unreal. You guys look at the words "programming language" and think that it has some kind of inherent reality, but it only means what the person using it intends for it to mean, no more, no less.
Reply With Quote
Old 26th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

ugh



Every word has a fixed definition, otherwise it would be impossible to communicate.

@heavensrevenge, yes, your explanation is good.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 26th May 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Thanks for the good write up heavensrevenge :-)

@tuck

One could probably say PHP+HTML but the simple fact is, HTML is _NOT_ apart of PHP.


The <?php ?><? ?> thing has a logic behind it.


If you wanted you could output assembly code instead of HTML using PHP :-P


I recently created a PHP5 interface and class for abstracting HTML out of a websites PHP scripts, that way the coders can concentrate on program logic instead of presentation. It's also a good excuse to encourage people to use an style sheet (like the bloody sight theme!!!) instead of html attributes and (theme specific) file paths embedded in the PHP files generating the HTML output sent to the clients browsers.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 26th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

Quote:
Originally Posted by matt View Post
You guys look at the words "programming language" and think that it has some kind of inherent reality, but it only means what the person using it intends for it to mean, no more, no less.
See if you can write a very simple program, say to generate a sequence of fibonnaci numbers using just HTML. can you do it?
then add php or javascript and see if it can be done now.

Last edited by ephemera; 26th May 2008 at 05:34 PM.
Reply With Quote
Old 26th May 2008
tuck's Avatar
tuck tuck is offline
Shell Scout
 
Join Date: May 2008
Posts: 99
Default

OKOK I'll never mention HTML in here again
I just started C today! Yeah
Reply With Quote
Old 27th May 2008
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 437
Default

my current favorite language is Python.

Unfortunately I spend most of my days writting code in C#, Delphi or T-SQL(MS SQL).

Doesn't anyone program in binary anymore?

__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
Old 27th May 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Default

Quote:
Doesn't anyone program in binary anymore?
80 columns punch cards are the way (if they are not from Florida, pregnant).
Going to upgrade my memory as soon as I get my hands on some ferrite tores: full 16 K or 12K with shares addresses.
__________________
da more I know I know I know nuttin'
Reply With Quote
Old 27th May 2008
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 437
Default

Quote:
Originally Posted by lvlamb View Post
80 columns punch cards are the way
My first year in High School we actually wrote our programs using a HP punch card system.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
Old 27th May 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 507
Default

Quote:
Originally Posted by roddierod View Post
My first year in High School we actually wrote our programs using a HP punch card system.
Rookie. I used punched cards in graduate school.
Reply With Quote
Old 27th May 2008
udragon udragon is offline
Real Name: Christophe Cap
Port Guard
 
Join Date: May 2008
Location: Bellgium
Posts: 15
Default

Actually, the favourite depends on the job.

- ASM for bootup & device init
- C for drivers and lower network layers
- C++ for server apps
- TCL for creating some tools & programming utilities.

Binary ? Only tho showoff, prove that it's doable, or prove that someone is getting old
Reply With Quote
Old 27th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Quote:
Originally Posted by DrJ View Post
Rookie. I used punched cards in graduate school.
Was this before or after you were taught the art of bloodletting?
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 27th May 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 507
Default

Quote:
Originally Posted by Carpetsmoker View Post
Was this before or after you were taught the art of bloodletting?
I studied *engineering*, not medicine.
Reply With Quote
Old 28th May 2008
matt matt is offline
Port Guard
 
Join Date: May 2008
Posts: 13
Default

Quote:
Originally Posted by Carpetsmoker View Post
Every word has a fixed definition, otherwise it would be impossible to communicate.
Definitions are only fixed by convention, and we don't have to behave according to convention if we don't want to. Not to mention it's never certain whether one person's definition is exactly the same as another's. Misunderstandings happen all the time due to this.
Reply With Quote
Reply

Tags
programming, programming language

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Favorite Programming Tools JMJ_coder Programming 20 19th January 2015 07:56 AM
your 3 favorite games welkin FreeBSD Ports and Packages 17 5th June 2010 08:26 PM
Best Web Application Language JMJ_coder Programming 24 25th November 2008 12:25 PM
The language here scottro Feedback and Suggestions 11 19th May 2008 11:54 PM


All times are GMT. The time now is 02:24 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick