Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Issue 23480035: Added examples to String docs. (Closed)

Created:
7 years, 3 months ago by shailentuli
Modified:
7 years, 2 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 109

Patch Set 2 : Updates based on Mem's comments. #

Total comments: 46

Patch Set 3 : Numerous post LGTM fixes. #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -108 lines) Patch
M sdk/lib/core/string.dart View 1 2 9 chunks +248 lines, -108 lines 5 comments Download

Messages

Total messages: 15 (0 generated)
shailentuli
PTAL
7 years, 3 months ago (2013-09-05 18:56:26 UTC) #1
shailentuli
ptal.
7 years, 3 months ago (2013-09-05 19:41:36 UTC) #2
mem
some editing things. mem https://chromiumcodereview.appspot.com/23480035/diff/1/sdk/lib/core/string.dart File sdk/lib/core/string.dart (right): https://chromiumcodereview.appspot.com/23480035/diff/1/sdk/lib/core/string.dart#newcode8 sdk/lib/core/string.dart:8: * A class for working ...
7 years, 3 months ago (2013-09-05 23:09:09 UTC) #3
shailentuli
Kathy, can you take a look?
7 years, 3 months ago (2013-09-20 17:48:04 UTC) #4
shailentuli
Kathy, can you take a look?
7 years, 3 months ago (2013-09-20 17:48:13 UTC) #5
shailentuli
https://chromiumcodereview.appspot.com/23480035/diff/1/sdk/lib/core/string.dart File sdk/lib/core/string.dart (right): https://chromiumcodereview.appspot.com/23480035/diff/1/sdk/lib/core/string.dart#newcode8 sdk/lib/core/string.dart:8: * A class for working with a sequence of ...
7 years, 3 months ago (2013-09-23 11:50:27 UTC) #6
shailentuli
Florian, Lasse, I've started adding examples to the API docs for some of the foundational ...
7 years, 3 months ago (2013-09-23 12:01:44 UTC) #7
floitsch
LGTM with some comments and nits. https://chromiumcodereview.appspot.com/23480035/diff/9001/sdk/lib/core/string.dart File sdk/lib/core/string.dart (right): https://chromiumcodereview.appspot.com/23480035/diff/9001/sdk/lib/core/string.dart#newcode11 sdk/lib/core/string.dart:11: * written using ...
7 years, 3 months ago (2013-09-23 15:12:26 UTC) #8
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/23480035/diff/9001/sdk/lib/core/string.dart File sdk/lib/core/string.dart (right): https://codereview.chromium.org/23480035/diff/9001/sdk/lib/core/string.dart#newcode10 sdk/lib/core/string.dart:10: * A string can be either single or ...
7 years, 3 months ago (2013-09-24 08:17:32 UTC) #9
floitsch
https://codereview.chromium.org/23480035/diff/9001/sdk/lib/core/string.dart File sdk/lib/core/string.dart (right): https://codereview.chromium.org/23480035/diff/9001/sdk/lib/core/string.dart#newcode130 sdk/lib/core/string.dart:130: * invalid UTF-16 string: On 2013/09/24 08:17:32, Lasse Reichstein ...
7 years, 3 months ago (2013-09-24 09:32:40 UTC) #10
Lasse Reichstein Nielsen
https://codereview.chromium.org/23480035/diff/9001/sdk/lib/core/string.dart File sdk/lib/core/string.dart (right): https://codereview.chromium.org/23480035/diff/9001/sdk/lib/core/string.dart#newcode26 sdk/lib/core/string.dart:26: * string"""; Wrt. a recent mailing list thread, we ...
7 years, 3 months ago (2013-09-24 10:31:47 UTC) #11
floitsch
https://codereview.chromium.org/23480035/diff/9001/sdk/lib/core/string.dart File sdk/lib/core/string.dart (right): https://codereview.chromium.org/23480035/diff/9001/sdk/lib/core/string.dart#newcode26 sdk/lib/core/string.dart:26: * string"""; On 2013/09/24 10:31:47, Lasse Reichstein Nielsen wrote: ...
7 years, 3 months ago (2013-09-24 10:39:00 UTC) #12
Kathy Walrath
https://chromiumcodereview.appspot.com/23480035/diff/1/sdk/lib/core/string.dart File sdk/lib/core/string.dart (right): https://chromiumcodereview.appspot.com/23480035/diff/1/sdk/lib/core/string.dart#newcode8 sdk/lib/core/string.dart:8: * A class for working with a sequence of ...
7 years, 2 months ago (2013-09-25 18:47:37 UTC) #13
shailentuli
Committed patchset #3 manually as r27984 (presubmit successful).
7 years, 2 months ago (2013-09-27 04:00:09 UTC) #14
sra1
7 years, 2 months ago (2013-09-27 04:22:22 UTC) #15
Message was sent while issue was closed.
DBC, if a bit late.

https://codereview.chromium.org/23480035/diff/20001/sdk/lib/core/string.dart
File sdk/lib/core/string.dart (right):

https://codereview.chromium.org/23480035/diff/20001/sdk/lib/core/string.dart#...
sdk/lib/core/string.dart:10: * A string can be either single or multiline.
Single line strings are
Wearing my pedant hat:

A string itself if neither.

A string literal is a way of writing a string value.  A string literal can be
either ....

https://codereview.chromium.org/23480035/diff/20001/sdk/lib/core/string.dart#...
sdk/lib/core/string.dart:29: * an operation on a string and assign the result to
a new string:

You can't perform an operation 'on' a string because it is immutable. Maybe
'with' is more accurate.

You can't assign the result to a new string.  The new string is a value that is
the result of an operation, not something that is assigned to.

"Although you cannot change a string, you can perform
an operation with a string to produce a new string an assign the result to a
variable:"

https://codereview.chromium.org/23480035/diff/20001/sdk/lib/core/string.dart#...
sdk/lib/core/string.dart:38: * You can also use adjacent string literals for
concatenation:
This is not really a concatenation operation, it is more a way of breaking up a
string literal or interpolated string into pieces.

https://codereview.chromium.org/23480035/diff/20001/sdk/lib/core/string.dart#...
sdk/lib/core/string.dart:399: * Splits the string, converts its parts, and
combines them into a new
Perhaps: Splits the string into parts, ...

https://codereview.chromium.org/23480035/diff/20001/sdk/lib/core/string.dart#...
sdk/lib/core/string.dart:435: * Converts all characters in this string to lower
case.
This sounds like the string is modified.

Powered by Google App Engine
This is Rietveld 408576698