Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / November 2005



Tip: Looking for answers? Try searching our database.

New Year, New Language?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 24 Nov 2005 09:45 GMT
H all. Time to branch out and learn something new. Supposedly youre
supposed to learn a new lang every year, but since I only dabble now, I
think it's more like 5 years for me. I'm on a limited O'Reilly-budget
too.

Anyway, I'd interested in doing 'mainstream' web programming, with
MySQL, CGIs, and so on. Up til now, I've only done rudimentary stuff
(select & display results) and nothng really contemporary. I've been
using Perl, and using it for a lot of text-munching. I like all the
cpan modules and so on.

From what I've observed, and read, PHP seems to be the standard-bearer
right now for this kind of stuff, so that's a possibility. But Python &
Ruby - especially Rails - both look nice. Note that startup time is an
issue for me. ( my startup time, that is).

Opinions?
vze35xda@verizon.net - 24 Nov 2005 13:22 GMT
There was this
(http://macslash.org/article.pl?sid=05/11/22/1551212&mode=thread&threshold=-1)
discussion over on Macslash about this.  Boy did it get heated fast.
Anyway they brought up a lot of points on just this subject.  It looks
like Ruby-on-Rails is a good way to go but takes a bit (some argument
there) of startup effort. Also if you want an interesting language look
at Lua (www.lua.org) really  simple and easy to embed.  If you ever
write a program where you want to embed a scripting language, don't do
it yourself use Lua. Anyway that's my two cents. Happy Thanksgiving....

--jim
Mike - 24 Nov 2005 19:47 GMT
> There was this
> (http://macslash.org/article.pl?sid=05/11/22/1551212&mode=thread&threshold=-1)
[quoted text clipped - 7 lines]
>
> --jim

Ruby looks good so far. I tried installing Ruby-on-Rails last nite
(well, the middle of
the nite) and all is good except for Apache. From my additional
research it seems
to be the up-and-comer.

Now Lua is new to me. That looks interesting. Thanks
toby - 25 Nov 2005 01:25 GMT
> > There was this
> > (http://macslash.org/article.pl?sid=05/11/22/1551212&mode=thread&threshold=-1)
[quoted text clipped - 15 lines]
>
> Now Lua is new to me. That looks interesting. Thanks

If you like Lua (I've used it a bit and embedded it into a reasonably
complex C++ application), you may also like IO:
http://www.iolanguage.com/
l0ne (on mac) - 25 Nov 2005 07:29 GMT
> http://www.iolanguage.com/

(Io also has a bridge over to Objective-C with decent Cocoa support.)

- ∞
Oliver Bandel - 25 Nov 2005 22:19 GMT
>> There was this
>> (http://macslash.org/article.pl?sid=05/11/22/1551212&mode=thread&threshold=-1)
[quoted text clipped - 10 lines]
>
> Ruby looks good so far.

Is not used as often as Python.
If you want an often used language, Python would be
better choice.

Ciao,
   Oliver
toby - 27 Nov 2005 07:17 GMT
> >> There was this
> >> (http://macslash.org/article.pl?sid=05/11/22/1551212&mode=thread&threshold=-1)
[quoted text clipped - 14 lines]
> If you want an often used language, Python would be
> better choice.

Nothing personal Oliver, but what a world of mediocrity we would suffer
if we chose everything based on what was "most widely used" :-) May I
propose at least occasional lip service to fitness for purpose?

In the case in question, at least Ruby and Python are sufficiently
different that an empirical or aesthetic choice can be reasonably made.
For instance, some people cannot tolerate significant whitespace. Best
to try both (many) and then decide? (Another novel idea in a world that
frequently tries but one thing and then goes on to declaim its
superiority...)

> Ciao,
>     Oliver
Oliver Bandel - 24 Nov 2005 19:19 GMT
> H all. Time to branch out and learn something new. Supposedly youre
> supposed to learn a new lang every year, but since I only dabble now, I
[quoted text clipped - 12 lines]
>
> Opinions?

PHP is ugly.
Mostly PHP-code looks like HTML plus a littlebid PHP-code.
Maybe you are doing better?

When only those languages you mentioned above should be
used, then Python seems to be best choics.
It's a clear language, good modularized, so learning
should be easy and code should be easy to maintain.

Ciao,
   Oliver
Mike - 24 Nov 2005 19:52 GMT
>> H all. Time to branch out and learn something new. Supposedly youre
>> supposed to learn a new lang every year, but since I only dabble now, I
[quoted text clipped - 17 lines]
> Mostly PHP-code looks like HTML plus a littlebid PHP-code.
> Maybe you are doing better?

No, it looks ugly and is somewhat foreign to me. I appreciate the ease
of development of
this stuff, coming from a C++-heavy (fat, heavy) legacy, but PHP seems
especially messy, at
least my novice efforts. Perl was always a little awkward to me but not
so much as PHP.  Now
as I learn more Perl it seems to becoming increasingly weird.

> When only those languages you mentioned above should be
> used, then Python seems to be best choics.
> It's a clear language, good modularized, so learning
> should be easy and code should be easy to maintain.

I think I might just do both!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.