Python and Ruby are sometimes so similar, that today I want to take the chance and say what I don't like in Python: - public instance variables and auto-creation of said variables (In Ruby, instance variables are private by default). - indentation with spaces and tabs used as block delimiter. (I actually indent all my Ruby codes properly. The Python way buys me nothing). - capitalization of classes, modules, variables. Only by looking at a word you can't make the difference whether it's a class or a variable (In Ruby, methods and variables start with lower case, and modules and classes start with upper case). - use of functions, or what appears to be functions, instead of appearing as a method. ex: str(10), instead of 10.str. (In Ruby you use the later: 10.str). - lambda is just too ugly. (In Ruby, you have nice blocks and closures). - self isn't hidden. Sometimes you don't even want to use it, then why declare it and create unnecessary noise? (In Ruby, self is hidden for your pleasure). No language is perfect. I could have made one or two wrong points, but the fact is that those points are just the tip of the iceberg. Ruby is much better than just that. And I am betting at that.
Hey, web stuff is easy with Ruby as well. But I don't have such examples for you. You have to get a taste of Ruby to find about its web capabilities. I Know IOWA has an example: http://enigo.com/projects/iowa/index.html
Re:Hardware Progression Causing Lazy Programming?
on
486 Turns 15 Years Old
·
· Score: 1
Firstly, you aren't taking in consideration that hardware has always improved. So you can't take a somewhat current hardware and want it to be enough for your computing needs.
Secondly, there are all different kinds of programs, and you can't expect that they will be all built the same way. Take games and business applications, for example. Both will differ alot in design and code. But you know that.
Thirdly, there is competition among software developers (with the exception of MS), and that means that implementations will differ, mainly in the search to gain some advantage by using the best technic at the moment.
Lastly, it isn't just programmers' laziness, since the programs and games keeping getting more complex every year. Do you really think that cross-platform development is as easy as platform-dependent development, for example?:-)
All governments make mistakes. I haven't voted for Lula yet, but that doesn't mean that I can't see some highlights in his administration. His government isn't as terrible as it could have been.
If they want to save some bucks on software to spend on social priorities, so be it.
It isn't news raising taxes on Brazil. Fernando Henrique created the "CPMF" which was supposed to be temporary, and after 10 years it has become permanent already.
Re:300,000 Computers Switched from Windows to Linu
on
Software Livre, Anyone?
·
· Score: 2, Informative
300,000 Computers Switched from Windows to Linux?
on
Software Livre, Anyone?
·
· Score: 4, Interesting
At least it seems the plan: http://www.reuters.com/newsArticle.jhtml?ty pe=topN ews&storyID=5340922
And if Lula, the President of Brazil, is reelected for more 4 years, you can expect some serious open source trend in Brazil!
Perhaps it will be the biggest country so far to really support open source. And Brazil was a pioneer on the adoption of Electronic Vote Machines, so you can realize that my country is kind of irresponsible in its attitudes!:-)
I heard in some news that Microsoft is applying something like 10 patents a day. You could say that all that effort in acquiring patents is just for psychological effect, but should they change their mind...
"...And we delude ourselves into thinking that Linux systems are evolving. Please. No, I don't mean the kernel or the applications, I mean the systems."
And you delude yourself wanting a perfect system. No one delivers THAT perfect system, and Linux won't be the first. But is it good enough ? Can it be improved ? Can it be improved to the point where home users will feel comfortable using it ? Etc.
So if you want utopia, that won't happen in 10 or 20 years...
Remember that if you strip down the power of the PCs, much of what you ask can be solved instantly because the system can be made a lot simpler. See what happend with iPod, even Apple having much less power compared to Microsoft.
Linux will hardly support 100% of what is avaiable on Windows. And Linux will hardly support 100% of what YOU want that's available on Windows/MacOSX.
The solution is to use Linux/Windows/MacOSX where they (seem to) fit and be done with it.
Knoppix style distro is great to learn Linux.
You can reinstall the system in minutes.
Once you learn enough you can author some scripts that download and configure the system as you like it, after a fresh install.
Once you learn a little bit more you can remaster it including the tools you use and removing those that you don't use.
So, Thanks to Knoppix and alike distros, Linux and Debian are getting widespread attention.
I can live with choice. More than that, I love choices, as I would hate to use something that others like and I don't.
---
A great pretender doesn't pretend at all.
Nah. gVim doesn't compare with KWrite and Kate.
But I understand that others use gVim like I use Kate, so I don't really have a problem with that after all:)
I mean, RH8 is old. To support the hardware you need the drivers. With Linux you don't need to search for your drivers if your distro has them right as does WinXP.
On laptops I would try the latest versions of the distros.
GL
Oh yeah, a good engineer will dump good development environments like VB, Delphi, etc to favor the fashioned languages. Perhaps because in the end the engineer does what the manager wants.
VB and Delphi are dying a slow death.
Actually with Ruby there are so many ways to lay out the code that {}s are too simple.
No, I don't expect you to understand without first trying out Ruby and seeing codes from others.
Yes, I am a big fanof Ruby.
Python indentation and syntax sucks to much for me.
Python and Ruby are sometimes so similar, that today I want to take the chance and say what I don't like in Python:
- public instance variables and auto-creation of said variables (In Ruby, instance variables are private by default).
- indentation with spaces and tabs used as block delimiter. (I actually indent all my Ruby codes properly. The Python way buys me nothing).
- capitalization of classes, modules, variables. Only by looking at a word you can't make the difference whether it's a class or a variable (In Ruby, methods and variables start with lower case, and modules and classes start with upper case).
- use of functions, or what appears to be functions, instead of appearing as a method. ex: str(10), instead of 10.str. (In Ruby you use the later: 10.str).
- lambda is just too ugly. (In Ruby, you have nice blocks and closures).
- self isn't hidden. Sometimes you don't even want to use it, then why declare it and create unnecessary noise? (In Ruby, self is hidden for your pleasure).
No language is perfect. I could have made one or two wrong points, but the fact is that those points are just the tip of the iceberg. Ruby is much better than just that. And I am betting at that.
Check out my site for some Ruby GUI stuff:
:-)
(the gotcha is it's mostly in Portuguese. So jump to the "Exemplos Meus" (My Examples) section. Or use babelfish: http://babelfish.altavista.com)
http://geocities.com/canalruby
Hey, web stuff is easy with Ruby as well. But I don't have such examples for you. You have to get a taste of Ruby to find about its web capabilities. I Know IOWA has an example:
http://enigo.com/projects/iowa/index.html
Further enlightening at:
http://www.ruby-doc.com
http://www.rubyforge.org
http://raa.ruby-lang.org
You know, once you get addicted, there is no going back!
I can't access it.
Firstly, you aren't taking in consideration that hardware has always improved. So you can't take a somewhat current hardware and want it to be enough for your computing needs.
:-)
Secondly, there are all different kinds of
programs, and you can't expect that they will be all built the same way. Take games and business applications, for example. Both will differ alot in design and code. But you know that.
Thirdly, there is competition among software developers (with the exception of MS), and that means that implementations will differ, mainly in the search to gain some advantage by using the best technic at the moment.
Lastly, it isn't just programmers' laziness, since the programs and games keeping getting more complex every year. Do you really think that cross-platform development is as easy as platform-dependent development, for example?
All governments make mistakes. I haven't voted for Lula yet, but that doesn't mean that I can't see some highlights in his administration. His government isn't as terrible as it could have been. If they want to save some bucks on software to spend on social priorities, so be it.
It isn't news raising taxes on Brazil. Fernando Henrique created the "CPMF" which was supposed to be temporary, and after 10 years it has become permanent already.
Fixed link:
http://tinyurl.com/2srd5
At least it seems the plan:y pe=topN ews&storyID=5340922
:-)
:-)
http://www.reuters.com/newsArticle.jhtml?t
And if Lula, the President of Brazil, is reelected for more 4 years, you can expect some serious open source trend in Brazil!
Perhaps it will be the biggest country so far to really support open source. And Brazil was a pioneer on the adoption of Electronic Vote Machines, so you can realize that my country is kind of irresponsible in its attitudes!
Be afraid Microsoft! Be very afraid!
RH Should OpenSource Fedora, just like Sun should OpenSource Java. Oh wait...
I heard in some news that Microsoft is applying something like 10 patents a day. You could say that all that effort in acquiring patents is just for psychological effect, but should they change their mind...
You don't need Gtk# to build GUIs.
Please, check out:
http://ruby-gnome2.sourceforge.jp/
"...And we delude ourselves into thinking that Linux systems are evolving. Please. No, I don't mean the kernel or the applications, I mean the systems." And you delude yourself wanting a perfect system. No one delivers THAT perfect system, and Linux won't be the first. But is it good enough ? Can it be improved ? Can it be improved to the point where home users will feel comfortable using it ? Etc. So if you want utopia, that won't happen in 10 or 20 years... Remember that if you strip down the power of the PCs, much of what you ask can be solved instantly because the system can be made a lot simpler. See what happend with iPod, even Apple having much less power compared to Microsoft. Linux will hardly support 100% of what is avaiable on Windows. And Linux will hardly support 100% of what YOU want that's available on Windows/MacOSX. The solution is to use Linux/Windows/MacOSX where they (seem to) fit and be done with it.
I want freedom to use my two monitors in a dual head setup. Do you know a Free driver that supports it for an ATI radeon 9600xt ?
Please tell ATI and everyone that releases proprietary drivers to target this server ! Tks
Knoppix style distro is great to learn Linux. You can reinstall the system in minutes. Once you learn enough you can author some scripts that download and configure the system as you like it, after a fresh install. Once you learn a little bit more you can remaster it including the tools you use and removing those that you don't use. So, Thanks to Knoppix and alike distros, Linux and Debian are getting widespread attention. I can live with choice. More than that, I love choices, as I would hate to use something that others like and I don't. --- A great pretender doesn't pretend at all.
Nah. gVim doesn't compare with KWrite and Kate. But I understand that others use gVim like I use Kate, so I don't really have a problem with that after all :)
Alright, time flies, so can you with Windows XP, according to some MS advertisement. Fly away, would you ?
I mean, RH8 is old. To support the hardware you need the drivers. With Linux you don't need to search for your drivers if your distro has them right as does WinXP. On laptops I would try the latest versions of the distros. GL
As the subject says...
C ?
I might switch ! Go google go ! :) Say that fast 5 times in a row :P
Oh yeah, a good engineer will dump good development environments like VB, Delphi, etc to favor the fashioned languages. Perhaps because in the end the engineer does what the manager wants. VB and Delphi are dying a slow death.
Actually with Ruby there are so many ways to lay out the code that {}s are too simple. No, I don't expect you to understand without first trying out Ruby and seeing codes from others. Yes, I am a big fanof Ruby. Python indentation and syntax sucks to much for me.