Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

sisnaz

@sisnaz
About
Posts
6
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • The new GOTO Statement?
    S sisnaz

    Good point.

    The Lounge question linq hardware algorithms collaboration

  • The new GOTO Statement?
    S sisnaz

    Perhaps embedded method is a loose term. This is what I'm referring to. In my opinion it reflects the same goto example you posted.

    public string ReturnSomething()
    {
    // ... some logic
    // ...
    var compare = new Func<string, string, string, string, bool>((compare1, compare2, compare3, compare4) =>
    {
    return (compare1.Equals(compare2, StringComparison.InvariantCultureIgnoreCase) &&
    compare3.Equals(compare4, StringComparison.InvariantCultureIgnoreCase));
    });

            // some more logic flow
            // ....
    
            if (compare("a", "b", "c", "d")) {
                // some logic
            }
    
            return "Something";
        }
    
    The Lounge question linq hardware algorithms collaboration

  • The new GOTO Statement?
    S sisnaz

    YES! I completely agree. I have a team member that declares EVERYTHING as var. He says it's because it makes it loosely coupled and also C Sharpner tells him too.

    The Lounge question linq hardware algorithms collaboration

  • The new GOTO Statement?
    S sisnaz

    After coming down off of the "That's pretty cool" factor and as members on my team have increasingly been using anonymous methods, lambda expressions and new Func<> routines embedded in methods. The complexity (IMO) as increased significantly. I've begun to question this seemingly popular approach as; What's the difference between using embedded functions and a goto statement? It seems to me it's no different and just as difficult to follow and maintain. I'd be curious on other opinions of this practice.

    The Lounge question linq hardware algorithms collaboration

  • Is there really such thing as an unknown error?
    S sisnaz

    :laugh: Well in that case I have 5 unknown errors LOL!

    The Lounge help question

  • Is there really such thing as an unknown error?
    S sisnaz

    One of my biggest pet peeves in the software industry is the infamous "An unknown error as occurred". How can this be?? Surely somebody knows something about it, otherwise why is it there? So I ask, is there REALLY such thing as an unknown error? I don't get why this has become the catch all of "I give up, something happened and I'm too lazy to figure out why"

    The Lounge help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups