Sephi's picture

I don't really agree with

On June 12th, 2008 Sephi (not verified) says:

I don't really agree with you Hans.
First of all, I think the way Python limits the "liberty" of programming is more a good thing than a bad one. The "There should be one-- and preferably only one --obvious way to do it" philosophy is great because you know you'll be able to understand any code you find on the internet, which, I think, is very important (especially when you use open source programs). With a philosophy of "There is more than one way to do it" (I believe it's the Ruby philosophy but maybe I'm wrong), it becomes harder to read code from the others and adapt it. Of course, with the Python philosophy you're forced to follow some rules and it could be a little disconcerting at first sight. Another thing that makes Python powerful compared to Ruby is the availability of lots of libraries.

About webprogramming, I don't agree that the whole webprogramming is a mess. If it wasn't so flexible (separating HTML from SQL from javascript and PHP), the web would be as monolithic as some OS are (I let you guess which OS I'm talking about). Combining all these technologies into a unique product would kill the freedom of choosing every brick of the wall you're building. But I agree with you that putting together these technologies is sometimes a big mess. When programming in javascript, I've always got the feeling that what I'm doing is not clean. Same thing with PHP, which is a pretty dirty language, compared to Python.

If you're interested in Python, you should try the Django framework which is by far the best web framework I've ever used.

Reply

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Featured Videos

Setting up an https server in Apache is easy. This tutorial covers how to create and sign your ssl certificate as well as how to configure the web server.

From the Magazine

January 2009, #177

It's a battle as old as time: good vs. evil. Fortunately, Linux and FOSS are on our side as we wage the battle against those who try to steal our secrets and invade our systems.

Checking your system's security is best done sooner rather than later. Test the locks with our article on security verification; find out how to use PAM to help secure your systems; use MinorFS and AppArmor to implement discretionary access control; learn more about Samba security in part III of our series; use Darknet to help detect bots and secure your systems; use the Yubikey to increase your site's security; and don't forget to lock the doors, because a cold boot attack could render your security useless if somebody has physical access to your computer.

But, we're not just about sowing the seeds of fear. We also show you how to use memcached in Rails, how to manage multiple servers efficiently, how to deploy applications easily with Capistrano, how to manage your videos with MythVideo, how to mix it up a bit (your audio that is), and even play a few games.

Read this issue