RCR 238: Remove set methods from Array
submitted by kgergely on Thu Apr 01 2004 04:26:42 AM -0800
Status: pending
Abstract
In the current implementation arrays and sets are mixed, there are some methods, which should exist in Sets, not in Arrays
Problem
Don't mix these two things.
Proposal
Remove the following (two) methods: & |
Analysis
This should force the use of Sets if neccecary, code breaks, but helps new programmers not to mix arrays with sets. (Look at php and arrays and hashes...)
Back to RCRchive.
RCR Submission page and RCRchive powered by Ruby, Apache, RuWiki (modified), and RubLog