Thats what I'm thinking about doing, the problem is, though, that there are several methods that require other methods, which makes nesting them a bit touchy at times. I think I can handle it, though.desultory wrote:Generally, I prefer to separate things according to logical structure, unless it interferes with clarity or maintenance, or I have some other reason to keep everything in one script.

Learning Ruby.Mindwolf.com wrote:Off topic about your project, but if Ruby is so similar to C, why not just use C? Is there any point using Ruby exclusively?

It has caused me some headaches, but for most of what I've done with it, its done well. Its fairly simple to learn, and doesn't take long to start figuring out.papal_authority wrote:I tried to like Ruby, but it seemed to really want to force OO programming on you. Not as badly as Java does perhaps, but enough to irritate me. Coupled with that weird "capitalized names are constants" thing, it was too much for me. Again just personal opinion, I'm sure the language is great for some people
How does Java force OO on you more than ruby?papal_authority wrote:I tried to like Ruby, but it seemed to really want to force OO programming on you. Not as badly as Java does perhaps, but enough to irritate me. Coupled with that weird "capitalized names are constants" thing, it was too much for me. Again just personal opinion, I'm sure the language is great for some people

alistair wrote:How does Java force OO on you more than ruby?papal_authority wrote:I tried to like Ruby, but it seemed to really want to force OO programming on you. Not as badly as Java does perhaps, but enough to irritate me. Coupled with that weird "capitalized names are constants" thing, it was too much for me. Again just personal opinion, I'm sure the language is great for some people
Code: Select all
class JavaIsGhei {
public static void main(String args[]) {
System.out.println("Java is ghei!");
}
}Code: Select all
#!/usr/bin/ruby
puts 'Ruby is slightly less ghei'PWNED.papal_authority wrote:alistair wrote: How does Java force OO on you more than ruby?Code: Select all
class JavaIsGhei { public static void main(String args[]) { System.out.println("Java is ghei!"); } }Code: Select all
#!/usr/bin/ruby puts 'Ruby is slightly less ghei'
http://www.bluescarni.infoAlbert Einstein wrote:I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.
Code: Select all
puts "Extracing latest development version...\n\n"
# system("#{$utar_command} #{$repository_location}#{tarname}-#{}.tar.bz2")
puts Dir.entries("#{$rep_loc}")
puts "\n\nExtraction completed into working directory."