A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/093360.html below:

Whither SmallScript? (was Re: Integer micro-benchmarks)

Whither SmallScript? (was Re: Integer micro-benchmarks) Whither SmallScript? (was Re: Integer micro-benchmarks)Steven D. Majewski sdm7g at Virginia.EDU
Fri Apr 27 14:02:27 EDT 2001
On Fri, 27 Apr 2001, Andrew Hunt wrote:

> I personally like the style and dynacism of Ruby.  For instance, to declare
> a class that inherits from another class you simply have:
> 
> class Foo < Bar
> 	def myMethod
> 		File.new ("test.dat", "w") { |f| 
> 			f.puts "Hello world!"
> 		}
> 	end
> end

What do the vertical bars around the f  ("|f|") above indicate ? 

( Maybe it's those extra non alphanumeric operator looking chars
that make folks think of Perl -- even if they are used differently, 
to someone that doesn't read Ruby, it looks like more "line noise".)

-- Steve Majewski



More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4