Skip to content
View in the app

A better way to browse. Learn more.

Thailand News and Discussion Forum | ASEANNOW

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

This Is Insane!

Featured Replies

Ruby is nice, but about the same you get with python.

One of the apps most hyping Ruby is Ruby on Rails, which is indeed very very nice, but with less hype you get the same for python (example: turbogears http://www.turbogears.org/ ) and even PHP - yes, good ole PHP ( see http://cakephp.org/ )

So if you feel tempted by the Ruby on Rails hype, and you do not know Ruby, well, you do not need Ruby to get such a web framework, if you know PHP it is piece of cake = cakePHP http://cakephp.org/ !

  • Author

Ruby is nice, but about the same you get with python.

One of the apps most hyping Ruby is Ruby on Rails, which is indeed very very nice, but with less hype you get the same for python (example: turbogears http://www.turbogears.org/ ) and even PHP - yes, good ole PHP ( see http://cakephp.org/ )

So if you feel tempted by the Ruby on Rails hype, and you do not know Ruby, well, you do not need Ruby to get such a web framework, if you know PHP it is piece of cake = cakePHP http://cakephp.org/ !

I like Python, and I was teaching it to a friend, but I still think Ruby is better designed over all, at least the definition of the language itself. (I can't really say much about the internals of the language, but I have heard that Python has a more flexible C API.) The tradeoff is maturity vs. design (at this point). I don't use Ruby on Rails as of now, know very little about it, and generally don't buy into hype, period. I just evaluate the features of a language objectively.

One of the biggest advantages with Ruby is that it has real anonymous lexical closures. There are problems with Marshalling Proc objects (reified blocks), but I'd still rather use an anonymous block rather than the kludgy solution of passing a named function that is only used a few times, or making it a method.

http://www.c2.com/cgi/wiki?PythonVsRuby...this gives a better view of the issues than I offer.

And PHP is just a terrible language. I really have no incentive to use it.

[i like Python, and I was teaching it to a friend, but I still think Ruby is better designed over all, at least the definition of the language itself. (I can't really say much about the internals of the language, but I have heard that Python has a more flexible C API.) The tradeoff is maturity vs. design (at this point). I don't use Ruby on Rails as of now, know very little about it, and generally don't buy into hype, period. I just evaluate the features of a language objectively.

One of the biggest advantages with Ruby is that it has real anonymous lexical closures. There are problems with Marshalling Proc objects (reified blocks), but I'd still rather use an anonymous block rather than the kludgy solution of passing a named function that is only used a few times, or making it a method.

http://www.c2.com/cgi/wiki?PythonVsRuby...this gives a better view of the issues than I offer.

And PHP is just a terrible language. I really have no incentive to use it.

No need to argue, as I said, Ruby is nice. REAL nice. Just - Python is nice too. REAL nice.

They have more in common that differences, and it is either whatever you happen to learn first or whatever you need for a special application. (For me it was also the unicode support, or better the lack of it in Ruby. But that's coming soon, isn't it.)

For a beginner I would strongly recommend to start with one of them, and not C or C# or Java or anything else.

Another point is that if I speak PHP very well and want to make a nice web application - and there are probably many like that out there - do I need to learn Ruby to use the power of Ruby on Rails?

Here the answer is no, there are equivalent solutions for python, and even for php.

And the php webframework I mentioned - cakePHP, is even in some points better than Ruby on Rails.

PHP is as good as the programmer using it. it is easy to write good code in php, and even more easy to write bad one!

Again cakePHP is a good example for clean and good code in php, which does not have to hide, and which allows excellent applications, which, before I've checked it out, I thought would only be possible with Ruby or Python...

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.