Click here to Skip to main content
15,901,284 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Even after 40 years in the biz... Pin
MikeTheFid30-Nov-17 4:01
MikeTheFid30-Nov-17 4:01 
GeneralRe: Even after 40 years in the biz... Pin
KarstenK29-Nov-17 6:44
mveKarstenK29-Nov-17 6:44 
GeneralRe: Even after 40 years in the biz... Pin
j snooze29-Nov-17 11:24
j snooze29-Nov-17 11:24 
GeneralRe: Even after 40 years in the biz... PinPopular
jschell29-Nov-17 12:48
jschell29-Nov-17 12:48 
GeneralRe: Even after 40 years in the biz... Pin
Mike Hankey29-Nov-17 5:58
mveMike Hankey29-Nov-17 5:58 
GeneralRe: Even after 40 years in the biz... Pin
Gary Wheeler29-Nov-17 6:56
Gary Wheeler29-Nov-17 6:56 
GeneralRe: Even after 40 years in the biz... Pin
englebart30-Nov-17 2:36
professionalenglebart30-Nov-17 2:36 
GeneralRe: Even after 40 years in the biz... Pin
Marc Clifton29-Nov-17 7:28
mvaMarc Clifton29-Nov-17 7:28 
John Simmons / outlaw programmer wrote:
This is a perfect example of "just because you can, doesn't mean you should".


But the corollary is "even though you shouldn't, it's just too much darn fun to do." For example, found in some of my unit tests:
20.ForEach(i => ...);

It's just fun!
public static void ForEach(this int n, Action action)
{
    for (int i = 0; i < n; i++)
    {
        action();
    }
}

public static void ForEach(this int n, Action<int> action)
{
    for (int i = 0; i < n; i++)
    {
        action(i);
    }
}

But the responses I keep getting are, well, not favorable. Laugh | :laugh:
Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

GeneralRe: Even after 40 years in the biz... Pin
kalberts29-Nov-17 22:27
kalberts29-Nov-17 22:27 
GeneralRe: Even after 40 years in the biz... Pin
englebart30-Nov-17 2:42
professionalenglebart30-Nov-17 2:42 
GeneralRe: Even after 40 years in the biz... Pin
Gerry Schmitz30-Nov-17 5:48
mveGerry Schmitz30-Nov-17 5:48 
GeneralRe: Even after 40 years in the biz... Pin
charlieg29-Nov-17 7:31
charlieg29-Nov-17 7:31 
GeneralRe: Even after 40 years in the biz... Pin
#realJSOP29-Nov-17 7:57
professional#realJSOP29-Nov-17 7:57 
GeneralRe: Even after 40 years in the biz... Pin
Rick York29-Nov-17 10:45
mveRick York29-Nov-17 10:45 
GeneralRe: Even after 40 years in the biz... Pin
charlieg29-Nov-17 11:14
charlieg29-Nov-17 11:14 
GeneralRe: Even after 40 years in the biz... Pin
Super Lloyd29-Nov-17 12:47
Super Lloyd29-Nov-17 12:47 
GeneralRe: Even after 40 years in the biz... Pin
GuyThiebaut29-Nov-17 21:15
professionalGuyThiebaut29-Nov-17 21:15 
GeneralRe: Even after 40 years in the biz... Pin
agolddog30-Nov-17 3:30
agolddog30-Nov-17 3:30 
GeneralRe: Yeah... Pin
Jeremy Falcon30-Nov-17 4:39
professionalJeremy Falcon30-Nov-17 4:39 
GeneralRe: Even after 40 years in the biz... Pin
Gerry Schmitz30-Nov-17 5:35
mveGerry Schmitz30-Nov-17 5:35 
GeneralThought of the Day Pin
OriginalGriff29-Nov-17 4:56
mveOriginalGriff29-Nov-17 4:56 
GeneralRe: Thought of the Day Pin
lopatir29-Nov-17 5:02
lopatir29-Nov-17 5:02 
GeneralRe: Thought of the Day Pin
kalberts29-Nov-17 22:28
kalberts29-Nov-17 22:28 
GeneralRe: Thought of the Day Pin
ZurdoDev29-Nov-17 5:15
professionalZurdoDev29-Nov-17 5:15 
GeneralRe: Thought of the Day Pin
Ron Anders29-Nov-17 5:25
Ron Anders29-Nov-17 5:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   504 votes