Smallville7123
04/18/2019, 1:52 PMval A = StringBuilder(string = "")
val B = StringBuilder(content = "") what is the difference between string and content, like do both do the exact same thing?tddmonkey
04/18/2019, 1:56 PMShawn
04/18/2019, 1:57 PMShawn
04/18/2019, 1:57 PMcontent paramtddmonkey
04/18/2019, 1:58 PMcontent and stringShawn A
04/18/2019, 1:59 PMSmallville7123
04/18/2019, 2:00 PMval A = StringBuilder(string = "")
val B = StringBuilder(content = "")Shawn
04/18/2019, 2:00 PMShawn
04/18/2019, 2:00 PMcontent that’s on Common, thoughShawn
04/18/2019, 2:01 PMStringBuilder(content: String) is just a JS thing it looks likeShawn
04/18/2019, 2:01 PMStringBuilder(content: CharSequence)
StringBuilder(string: String)
for everyone elseShawn A
04/18/2019, 2:02 PMjs stuff in the docs.Shawn
04/18/2019, 2:03 PMSmallville7123
04/18/2019, 2:03 PMShawn
04/18/2019, 2:03 PMSmallville7123
04/18/2019, 2:03 PMSmallville7123
04/18/2019, 2:04 PMShawn
04/18/2019, 2:06 PMShawn
04/18/2019, 2:06 PMShawn
04/18/2019, 2:06 PMString, stringShawn
04/18/2019, 2:06 PMcontent is a fine, more generic nameSmallville7123
04/18/2019, 2:07 PMcontent lolShawn
04/18/2019, 2:08 PMShawn
04/18/2019, 2:08 PMstr, string is a natural extension of thatSmallville7123
04/18/2019, 2:08 PMShawn
04/18/2019, 2:09 PMcontent param makes it noticeable that that constructor takes in not String, but instead anything that implements CharSequenceSmallville7123
04/18/2019, 2:09 PMensureCapacity doShawn
04/18/2019, 2:09 PMShawn
04/18/2019, 2:10 PMShawn
04/18/2019, 2:10 PMSmallville7123
04/18/2019, 2:10 PMShawn
04/18/2019, 2:12 PMSmallville7123
04/18/2019, 2:13 PMkarelpeeters
04/18/2019, 3:22 PM