This page is no longer maintained — Please continue to the home page at www.scala-lang.org

tag it and bag it!

2 replies
extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.

Current trunk:

-rw-r--r-- 1 paulp admin 6484617 Feb 19 12:31 scala-compiler.jar
-rw-r--r-- 1 paulp admin 4658723 Feb 19 12:31 scala-library.jar

Current trunk without the $tag methods - which, as far as I can tell, are doing absolutely nothing except
contributing to object obesity:

-rw-r--r-- 1 paulp admin 6251772 Feb 19 11:48 scala-compiler.jar
-rw-r--r-- 1 paulp admin 4485078 Feb 19 11:48 scala-library.jar

Total savings: 3.7%. Wow, sign me up for reduction surgery, stat! Counterarguments?

DRMacIver
Joined: 2008-09-02,
User offline. Last seen 42 years 45 weeks ago.
Re: tag it and bag it!
On Thu, Feb 19, 2009 at 8:40 PM, Paul Phillips <paulp [at] improving [dot] org> wrote:
Current trunk:

-rw-r--r--  1 paulp  admin  6484617 Feb 19 12:31 scala-compiler.jar
-rw-r--r--  1 paulp  admin  4658723 Feb 19 12:31 scala-library.jar

Current trunk without the $tag methods - which, as far as I can tell, are doing absolutely nothing except
contributing to object obesity:

-rw-r--r--  1 paulp  admin  6251772 Feb 19 11:48 scala-compiler.jar
-rw-r--r--  1 paulp  admin  4485078 Feb 19 11:48 scala-library.jar

Total savings: 3.7%.  Wow, sign me up for reduction surgery, stat! Counterarguments?

For what it's worth, I have no intention of ever using a global $tag method in the pattern matcher again. If it's not used anywhere else, I vote for smiting with extreme prejudice.
odersky
Joined: 2008-07-29,
User offline. Last seen 45 weeks 6 days ago.
Re: tag it and bag it!

On Thu, Feb 19, 2009 at 10:12 PM, David MacIver wrote:
> On Thu, Feb 19, 2009 at 8:40 PM, Paul Phillips wrote:
>>
>> Current trunk:
>>
>> -rw-r--r--  1 paulp  admin  6484617 Feb 19 12:31 scala-compiler.jar
>> -rw-r--r--  1 paulp  admin  4658723 Feb 19 12:31 scala-library.jar
>>
>> Current trunk without the $tag methods - which, as far as I can tell, are
>> doing absolutely nothing except
>> contributing to object obesity:
>>
>> -rw-r--r--  1 paulp  admin  6251772 Feb 19 11:48 scala-compiler.jar
>> -rw-r--r--  1 paulp  admin  4485078 Feb 19 11:48 scala-library.jar
>>
>> Total savings: 3.7%.  Wow, sign me up for reduction surgery, stat!
>> Counterarguments?
>
> For what it's worth, I have no intention of ever using a global $tag method
> in the pattern matcher again. If it's not used anywhere else, I vote for
> smiting with extreme prejudice.
>

AFAIK it's not used anywhere else. So if David does not need them they can go.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland