Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single occurrence in a string
Message
From
30/03/2015 09:28:23
 
 
To
30/03/2015 09:25:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01617326
Message ID:
01617394
Views:
62
>OTOH, more often than not shorter code is faster,
>
>I thought that we already agreed that this was not the case.
>
> but more importantly, better maintainable.
>
>ROFL and LOL!!! I could not disagree more. Very often, I have seen developers who have tried to be too cute and packed several function calls into a single IF statement. Not only is it hard to read, but when you step through the code trying to debug it, you have a hard time trying to find which function is the one that is failing.

Reluctantly i have to agree... ;)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform