From: Marnen Laibow-Koser Date: 2009-11-19T03:37:23+09:00 Subject: Re: Ruby/tk Help Please Sean Ob wrote: > I am a complete beginner when it comes to programming and i need some > help. > I don't know very much computer language jargan so please layman terms > as much as possible. > I began trying to learn to program about a year ago when I took my first > programming class: > 1st language => Python => understood > 2nd language => Java => no understanding whatsoever Well, there's your first problem. :) Java isn't a very good language, but it works on a somewhat different (and more common?) paradigm than Python and Ruby. It's to your advantage as a programmer to understand as many paradigms as possible. > 3rd language => Ruby/tk => currently trying to learn, some basics > understood, but i don't understand how to use blocks and several other > huge concepts. Your second and third problems, then. You can't use Ruby profitably without understanding blocks (have you read Programming Ruby?), and from what I understand, Ruby/Tk is a really bad GUI library. Anyway, you shouldn't even be thinking about GUI development until you understand how to use the language. GUI libraries are, by nature, complex things, and so you need to understand how to work with the language to use them effectively. > > OBJECTIVE: create a GUI that stores browsing history in the form of Host > name, IP address, and whether nearby hosts exists (Boolean + count). > Also, the user should be able to search the storage place by either host > name or IP address to organize results. Is this a homework problem? Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.