Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   General Business Knowledge (http://www.greenguysboard.com/board/forumdisplay.php?f=10)
-   -   Programming langauge (http://www.greenguysboard.com/board/showthread.php?t=53249)

kenny 2009-06-18 06:25 PM

Programming langauge
 
What do you guys use?

I am just wondering because I've been hearing a lot of hype about this Ruby on Rails thing and all the big companies seem to use ASP.NET for whatever reason.

Personally, I don't like to code anything but learned some Perl back in 2002 because I needed to and that is what I've always used. I think I'll do the next one with PHP though it seems almost the same but better in ways.

neticule 2009-06-18 06:33 PM

Definitaly php. It was super easy for me to pick up, and the documentation on php.net is amazing.

Toby 2009-06-18 06:42 PM

I thought those bastards killed kenny?

nate 2009-06-18 06:53 PM

Ummmm, where the fuck is Perl? LULZ.

Aquarius 2009-06-18 06:57 PM

what? no cobol?

kenny 2009-06-18 07:44 PM

Perl and Python have magicly appeared. :)

kenny 2009-06-18 07:46 PM

At the same time my sig has magicly disappeared. :D

pc 2009-06-18 08:31 PM

+1 for php
I'm not that bright in php code but I found my ways to change it to fit my needs.
php was my first coding encounter and if everything goes well also my last.

Beaver Bob 2009-06-18 08:52 PM

mostly PHP here, anything but ASP! Fuck ASP.

rooty 2009-06-18 09:25 PM

php is the easiest thing to learn ever...

as a starter ones you get a hang of loops & database connectivity it becomes very very handy

oh and if you choose to use it please don't be another idiot that do things the stupid way ;)

PHP Code:

<?
$title 
"my sexy title";
$name "rooty";

echo 
"<html>
<head>
<title>"
$title ."</title>
</head>
<body>
blah blah some text and " 
$name " loves php
</body>
<html>"
;

?>

this is so much quicker

PHP Code:

<?

$title 
"my sexy title";
$name "rooty";

?>
<html>
<head>
<title><?=$title?></title>
</head>
<body>
blah blah some text and <?=$name?> loves php
<body>
<html>


kenny 2009-06-18 10:09 PM

Quote:

Originally Posted by rooty (Post 454795)
php is the easiest thing to learn ever...


I don't know if all of its easy I've been struggling to grasp this stuff about classes and objects:

http://us.php.net/oop

I admit I'm new to PHP and I am no real programmer in any language.. but damn it makes no sense. (Looking at it on and off for a couple days when I have time. Perhaps it will click soon enough I'm usually slow to catch on :) )

Toby 2009-06-18 10:24 PM

Quote:

Originally Posted by Beaver Bob (Post 454789)
mostly PHP here, anything but ASP! Fuck ASP.

I earned a living for a few years, during my hiatus from adult, doing custom ASP backends. This was before there were many canned user customizable solutions available.

I do mostly PHP now, since I'm using non-Windows servers for my sites, but I still maintain a few mainstream sites for clients that have ASP based sites.

As for other programming languages... I took my first programming course in 1977, so the list is pretty long and includes the usual suspects BASIC, Fortan, COBOL, Pascal, an assortment of assembly languages (each machine specifc). I'm sure there's quite a few I've forgotten.

I tried to teach myself PERL a few years ago, but didn't have sufficient motivation to stick with it until it started making sense. I can hack up a simple javascript function when needed, but I detest coding that mess.

Then there's all the various template languages. It seems each script has it's own.

nate 2009-06-19 12:59 AM

Quote:

Originally Posted by Beaver Bob (Post 454789)
mostly PHP here, anything but ASP! Fuck ASP.

Not that I'm one to stick up for the evil empire, but at least you don't have to put a semicolon on the end of every line of asp. I'm constantly forgetting to put semicolons on the end of my php lines.

Stazz 2009-06-19 03:14 AM

PHP

Evocan 2009-06-19 11:16 AM

php baby - just look at all them sexy functions - lol

tickler 2009-06-19 12:38 PM

Like Toby, I've been programming since the mid 70's and have used maybe +15-20 different languages.

PHP is a handy little script language that I tend to use for server side stuff, and JS for browser side. But, I would prefer a more stable compiled language if only for the performance.

kickass 2009-06-19 12:48 PM

I've always stuck to PHP, have no real need to use any other programming language for my webs so far...

raymor 2009-06-27 07:41 PM

Quote:

Originally Posted by kenny (Post 454761)
What do you guys use?

I am just wondering because I've been hearing a lot of hype about this Ruby on Rails thing and all the big companies seem to use ASP.NET for whatever reason.

Personally, I don't like to code anything but learned some Perl back in 2002 because I needed to and that is what I've always used. I think I'll do the next one with PHP though it seems almost the same but better in ways.

You mentioned a lot of big companies using ASP. ASP is of course not a
language itself, but a module that let's you use other MS languages such
as VBScript within Microsoft's web server. It seems that ASP was used
by a lot of big companies who already had Windows admins and Windows
programmers on staff because that was the only thing the existing
employees could do. To use a server operating system like Unix, Linux,
BSD, Solaris, etc. would mean hiring all new people to maintain and
program those systems. Lately I've seen some big companies abandoning
this all Microsoft model and using some PHP or Python. I haven't seen a
lot of ASP used for new projects. Tis may have something to do with the
sting of Microsoft routinely ceasing to support older version of their
programming systems, making maintenance of the first round of ASP systems enormously difficult and expensive.


PHP, as mentioned by others, was EASY. The latest release version and
the upcoming version are less easy. Prior versions have been easy like
Legos are easy - any ten year old can build something with Legos or PHP.
That's what everyone will say about PHP - how EASY it is. Professionals
don't build business equipment out of legos. It's just as silly to build
professional tools from PHP 3 or PHP 4. PHP is as easy to hack as it is
to use. In fact, it is IMPOSSIBLE under PHP 3 or PHP 4 to write a script
that doesn't have a HUGE security hole. Every PHP script let's the attacker
upload any files they want to the server, and every PHP script I've ever seen
has more similar big security holes. As an example, this board software,
VBulletin, is one of the best known PHP scripts. As I demonstrated on
Netpond, I can get full admin access to VBulletin simply by getting the
admin to read a message I posted. BY posting the right message, I get
access to the account of anyone who reads it, including the admin.
That's not because VBulletin sucks - it's one of the better PHP based
systems around, but the language itself is a hackers dream. They made
some improvements in PHP 5 and PHP 6 is supposed to be even better,
so PHP 6 may actually be worth using IF you can be assured that it's
configured properly at the server level (php.ini). Still the "easy" philosophy
of PHP isn't likely to change any time soon, so expect them to keep
choosing "easy" over "powerful", "fast", or "secure". Still in PHP 6,
someone who is pretty much clueless can write a script which seems to
work just fine - until it takes down the server two months later. Overall,
PHP, like Legos, is perfect for someone who doesn't know who to actually
build real things to build a model of something, or for extremely simple
tasks. I once built an automatic stirrer using Legos. It took five minutes
to snap toghether and I didn't have to stand there stirring the pot for 30
minutes. It wasn't solidly built and didn't need to be. It just needed to
be built quickly and easily. A perfect job for Legos or PHP.


Perl really does need to release Perl 6 someday, but there's a reason it
reigned supreme as THE language for web development until so may scripts
started being written by non-programmers using "super easy" PHP. Actually,
there are several reasons why it was king for so long, and is still used so
much. Perl's stated standard is to "make things as easy as possible, but
no easier!" This makes Perl simple, but powerful. You may have seen
those cell phones for seniors with just four buttons, so you can call four
people. Each button dials one of your four contacts. They are super easy -
kind of like PHP. Perl is like a phone with twelve buttons - ten numbers, a
contact list, and a select button. Yeah, twelve buttons are SLIGHTLY harder
than four, but the Perl phone let's you dial a phone number if you know the
number you want to call. Perl may just barely harder to learn, maybe not
any harder at all to learn the actual language. When it comes to specific
tasks, such as database access, Perl allows you to take five minutes to
learn what MySQL actually IS before using it, so you can use it more
effectively than you can from PHP and have a more powerful, faster running
piece of software.

Some Perl programmers who actually know something seem pretty
interested in Ruby on Rails, so it certainly may be worth looking at since
you have some Perl background. I've looked at it only briefly and didn't
see any reason to spend any more time with it, yet. It's not available on
all web servers, of course, so any software that you want other people to
be able to use pretty much needs to be done in Perl or PHP.

VIPPay.com 2009-06-27 08:13 PM

Voted for PHP :)

HarryM 2009-06-27 08:43 PM

Other - Java, kinda strange it's not on your list...

bDok 2009-06-28 01:23 PM

perl, php, and some python. Been working in objective-c to code mac and iPhone stuff.

Daniel_webcams 2009-07-16 10:44 AM

I love PHP, is the best :)

Tommy 2009-07-16 05:01 PM

since everyone is so php ... I need someone that could do a mod on a directory program like LinkX

AcidMaX 2009-07-17 09:46 AM

Python all the way. I used to use PHP heavily but after picking up python and building quite a few web based applications with it, I use it for everything now. You can build desktop applications, web applications, command line scripts etc., all with the same programming language. (yes you can do command line ith php etc too, but its just not the same :))

I still support and manage a lot of PHP apps that I have written over the years, but Python is definitely the only way I will go in the future.

flip.green 2009-07-17 12:26 PM

My efforts to learn programming have had the following results
Perl - fail - ugly language, not fun to read so not fun to learn
PHP - fail - ugly to read and lots of fluffy syntax
C - fail - compiling nonstop for simplist programs not a good starter language
Python - success - easy to read easy to learn good starter language

Mind you the path to programming all the languages is similar the overall theory involved, loops etc and blah blah. But it's the little things that will determine whats the best language to actually learn how to program with, for me it's python. Its a robust language with an extensive set of tools, which can do everything from scripting servers to creating servers. Its got alot more potential than people give it credit for. And its actively developed. So toot toot for python!


All times are GMT -4. The time now is 02:46 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc