Talk:Substring/Top and tail: Difference between revisions
Content added Content deleted
(added comment about possible errors. -- ~~~~) |
(→A little over the top in the Swift-section?: new section) |
||
Line 8: | Line 8: | ||
It seems that several examples will fail when the original string is null (length zero) or only a single character. I don't know that much about BIFs (built-in-functions) for the many languages, so I can only speak for a small number of them. -- [[User:Gerard Schildberger|Gerard Schildberger]] 05:23, 12 May 2012 (UTC) |
It seems that several examples will fail when the original string is null (length zero) or only a single character. I don't know that much about BIFs (built-in-functions) for the many languages, so I can only speak for a small number of them. -- [[User:Gerard Schildberger|Gerard Schildberger]] 05:23, 12 May 2012 (UTC) |
||
== A little over the top in the Swift-section? == |
|||
In the Swift-section I wrote an answer, and a few days later [[User:Hooman]], extended the answer and included loads of stuff related to how Swift can handle multiple types using the same methods. I, as a novice programmer in Swift, learned stuff, but isn't this somewhat off topic for this page? How do you suggest handling/correcting it to a shorter more precise answer? |