Click here to Skip to main content
15,891,785 members

Comments by Kevin Yochum (Top 4 by date)

Kevin Yochum 6-Nov-18 11:27am View    
I agree. Sometimes you do have to build it on your own. My only point is that your solution isn't a solution. If your solution was a solution, Google solves a lot of problems by producing search results that probably point in the direction of a solution, but ultimately don't work.

The English language is very specific. Words have specific meanings. By it's very definition, a solution is not a "solution" if it doesn't work.
Kevin Yochum 6-Nov-18 11:27am View    
Deleted
I agree. Sometimes you do have to build it on your own. My only point is that your solution isn't a solution. If your solution was a solution, Google solves a lot of problems by producing search results that probably point in the direction of a solution, but ultimately don't work.

The English language is very specific. Words have specific meanings. By it's very definition, a solution is not a "solution" if it doesn't work.
Kevin Yochum 6-Nov-18 10:57am View    
The OP's question asked about an Angular 6 solution. Your solution (and old Angular 2+ Git repo) does not work in Angular 6 (or, for that matter, Angular 4 or Angular 5).
Kevin Yochum 30-Aug-12 14:30pm View    
Reason for my vote of 1
There are numerous problems with this code. It's not culture aware/globalized. It iterates over an entire array that could be quite large. It causes the input text to exist three times in memory, again, a problem if the string that is converted to title case is large.