Page 1526 of 1782 FirstFirst ... 52610261426147615161523152415251526152715281529153615761626 ... LastLast
Results 61,001 to 61,040 of 71256

Thread: Post Race!

  1. #61001
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Post Race!

    By the way, the dangling Else is a false problem in that example. Both C# and VB have a construct to bound the block. In C# it's the }, whereas in VB it's the End If. Had either one of those been used in the example, it would have been clear to which If the Else belonged.
    My usual boring signature: Nothing

  2. #61002
    Frenzied Member Gruff's Avatar
    Join Date
    Jan 2014
    Location
    Scappoose Oregon USA
    Posts
    1,293

    Re: Post Race!

    A bound dangling. Hmmm.
    Burn the land and boil the sea
    You can't take the sky from me


    ~T

  3. #61003
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,371

    Re: Post Race!

    I dislike web development.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  4. #61004
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Post Race!

    You're welcome.
    My usual boring signature: Something

  5. #61005
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Post Race!

    I dislike Elvis Braces
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  6. #61006
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Post Race!

    I'm in a bracing meeting.
    My usual boring signature: Nothing

  7. #61007
    Frenzied Member Gruff's Avatar
    Join Date
    Jan 2014
    Location
    Scappoose Oregon USA
    Posts
    1,293

    Re: Post Race!

    Quote Originally Posted by FunkyDexter View Post
    I dislike Elvis Braces
    ??? Whats that?
    Burn the land and boil the sea
    You can't take the sky from me


    ~T

  8. #61008
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Post Race!

    Code:
    It's this {
       Format of {
          Braces
       }
    }
    Named because the braces look a bit like Elvis throwing one arm up in the air.

    I hate them because I find them really confusing and unreadable.
    Code:
    I Find
    {
       this
       {
          a lot more readable
       }
    }
    Of course, it's just a personal preference thing but I'm noticing that the Elvis Braces seem to be starting to take over.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  9. #61009
    Frenzied Member Gruff's Avatar
    Join Date
    Jan 2014
    Location
    Scappoose Oregon USA
    Posts
    1,293

    Re: Post Race!

    So what would you call this?
    Code:
    I'm not so
    { sure 
      { about this
      } 
    }
    Burn the land and boil the sea
    You can't take the sky from me


    ~T

  10. #61010
    PowerPoster SJWhiteley's Avatar
    Join Date
    Feb 2009
    Location
    South of the Mason-Dixon Line
    Posts
    2,256

    Re: Post Race!

    Quote Originally Posted by gruff View Post
    so what would you call this?
    Code:
    i'm not so
    { sure 
      { about this
      } 
    }
    i c wut u did thar.
    "Ok, my response to that is pending a Google search" - Bucky Katt.
    "There are two types of people in the world: Those who can extrapolate from incomplete data sets." - Unk.
    "Before you can 'think outside the box' you need to understand where the box is."

  11. #61011
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Post Race!

    I've never heard the term 'Elvis braces' before, but they appear to be standard in JS.
    My usual boring signature: Nothing

  12. #61012
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,371

    Re: Post Race!

    Well for one, JavaScript is for the money.
    For two, Java is for the show.
    And for three, C++ is for the go cat go!
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  13. #61013
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Post Race!

    That's digging pretty deep for a youth like you.
    My usual boring signature: Nothing

  14. #61014
    Frenzied Member Gruff's Avatar
    Join Date
    Jan 2014
    Location
    Scappoose Oregon USA
    Posts
    1,293

    Re: Post Race!

    Pffft. Beatnik.
    Burn the land and boil the sea
    You can't take the sky from me


    ~T

  15. #61015
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Post Race!

    So what would you call this?
    Bloody Horrible

    they appear to be standard in JS
    Yeah, I think that's probably why I feel like they're taking over. I'm doing more JavaScript lately than I used to (deliberate effort on my part so my woes are self inflicted) so it's probably just my warped perception. I am seeing them more and more in TSql examples too. I think that's probably because both RedGate and MS released code formatters that pick that approach by default.

    My brace preference (cue some pun from Shaggy about keeping my trousers up) is either the one I posted in 61131 or, if a code block consists of a single line, this:-
    Code:
    If someCondition == true
    { Single Line of code }
    That way my braces line up in pairs (either vertically or horizontally ) so it's nice and easy to see the scope they define. You can, of course, leave the braces out if it's a single line of code and that works for me too. My problem with the Elvis Braces is that they're staggered so it's hard to see what belongs together.


    If your feeling kinda restless
    And you need a new product to sell
    Well down at the end of coding street is
    .Net hotel
    Last edited by FunkyDexter; Jan 28th, 2016 at 03:12 AM.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  16. #61016
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Post Race!

    That
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  17. #61017
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Post Race!

    Was Way
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  18. #61018
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Post Race!

    Too Long
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  19. #61019
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Post Race!

    A Post
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  20. #61020
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Post Race!

    For PostRace
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  21. #61021
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    9,017

    Re: Post Race!

    Moar mermaids perhaps ?
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell | I'm not wanted

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

  22. #61022
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,371

    Re: Post Race!

    Niya!
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  23. #61023
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,371

    Re: Post Race!

    Moarrrrr
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  24. #61024
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Post Race!

    Just as long as they're politically correct moarmaids.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  25. #61025
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Post Race!

    Quote Originally Posted by FunkyDexter View Post
    Just as long as they're politically correct moarmaids.
    If he gets it wrong we'll just have to tweak it...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  26. #61026
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    9,017

    Re: Post Race!

    Quote Originally Posted by FunkyDexter View Post
    Just as long as they're politically correct moarmaids.
    What does "politically correct" mean ? Does this mean that the mermaids have to support the right politicians ?....Maybe a Donald Trump mermaid ?
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell | I'm not wanted

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

  27. #61027
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Post Race!

    You wouldn't want go swimming when there was a trumping mermaid around.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  28. #61028
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Post Race!

    It would be the hair.
    My usual boring signature: Nothing

  29. #61029
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Post Race!

    By the way, how DOES bracing have anything to do with trousers? Is 'braces' another term for suspenders over there?
    My usual boring signature: Nothing

  30. #61030
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,371

    Re: Post Race!

    Brace yourself for this one!
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  31. #61031
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Post Race!

    I felt that the question was em-bracing knowledge.
    My usual boring signature: Nothing

  32. #61032
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,371

    Re: Post Race!

    What do you call a woman with braces? A black and decker pecker wrecker!
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  33. #61033
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,371

    Re: Post Race!

    That one was a little naughty
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  34. #61034
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Post Race!

    I believe that somebody came up with the answer, then tried to come up with a question where that answer might, just possibly, be right.
    My usual boring signature: Nothing

  35. #61035
    You don't want to know.
    Join Date
    Aug 2010
    Posts
    4,578

    Re: Post Race!

    I'm partial to half-centaurs.
    This answer is wrong. You should be using TableAdapter and Dictionaries instead.

  36. #61036
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Post Race!

    Which half?

    Centaurs are even more messed up than mermaids. They have the complete torsos of both humans and horses. Which set of internal organs are being used? The human heart and lungs probably wouldn't be sufficient for the horse, and it's hard to say about the digestive tract. So, how does the plumbing work on those things?
    My usual boring signature: Nothing

  37. #61037
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,371
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  38. #61038
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Post Race!

    How?
    My usual boring signature: Nothing

  39. #61039
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: Post Race!

    And, I suppose: Why?
    My usual boring signature: Nothing

  40. #61040
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Post Race!

    Is 'braces' another term for suspenders over there?
    Not unless suspenders is another term for braces over there. Ladies use suspenders to keep there stockings up. Men use braces to keep their trousers up. Suspenders are a lot more fun than braces.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

Page 1526 of 1782 FirstFirst ... 52610261426147615161523152415251526152715281529153615761626 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width