Jump to content

Talk:Empty string: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 14:
 
::nil.to_s is not ''syntax''; it's a method of nil! I will wait. —[[User:Kevin Reid|Kevin Reid]] 18:42, 6 July 2011 (UTC)
:::Certainly. But <code>nil.to_s</code> has syntax which is not the standard syntax for representing an arbitrary string. But perhaps your objection is that the syntax involved is not dedicated to the purpose of representing empty strings? It's true that the method invocation syntax behind <code>nil.to_s</code> is very general and that <code>'arbitrary string'.to_s</code> can be used to represent an arbitrary string. --[[User:Rdm|Rdm]] 19:58, 6 July 2011 (UTC)
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.