[ruby-core:64055] [ruby-trunk - Feature #9650] String#size versus String#length

From: boris@...
Date: 2014-07-26 15:54:23 UTC
List: ruby-core #64055
Issue #9650 has been updated by Boris Stitnicky.


-1, #size is good enough.

----------------------------------------
Feature #9650: String#size versus String#length
https://bugs.ruby-lang.org/issues/9650#change-48066

* Author: S=C3=A9bastien Durand
* Status: Open
* Priority: Low
* Assignee:=20
* Category:=20
* Target version: Next Major
----------------------------------------
Hi guys !

A quick idea for the next major version :

String#size =3D> bytes length
String#length =3D> chars length=20

Could this be a good move or too much BC break ?



--=20
https://bugs.ruby-lang.org/

In This Thread

Prev Next