Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 2
    \$\begingroup\$ @edc65 ucwords capitalizes the first letter of each word \$\endgroup\$ Commented Oct 17, 2014 at 7:45
  • 1
    \$\begingroup\$ a good IDE will add the correct closing quotes for you (you'll only ever end up with '' or "", as well as the closing parentheses, so though you still have a 50% chance for (, the ) should be automatic. \$\endgroup\$ Commented Oct 17, 2014 at 20:47
  • \$\begingroup\$ shoot, you can't use any sort of navigation keys (arrows), so even if your IDE did autocomplete correctly, you'd need to type that same character again or else it will insert the new (wrong) one, like this: strtolower("Dear Computer, '"0)... \$\endgroup\$ Commented Oct 17, 2014 at 21:11
  • 1
    \$\begingroup\$ @WOUNDEDStevenJones I believe relying on IDE features would be counted as cheating. \$\endgroup\$ Commented Oct 18, 2014 at 9:53
  • 1
    \$\begingroup\$ What about <? at the start of the program? \$\endgroup\$ Commented Oct 20, 2014 at 13:32