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
  1. Home
  2. The Lounge
  3. I just submitted my first article... [modified]

I just submitted my first article... [modified]

Scheduled Pinned Locked Moved The Lounge
data-structuresjsonquestion
29 Posts 13 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Adam Maras

    ...so, how should I celebrate? I'm torn between getting off the computer and giving my eyes a rest and sitting on CP and Stack Overflow answering questions.

    Adam Maras | Software Developer Microsoft Certified Professional Developer

    modified on Tuesday, December 1, 2009 8:00 PM

    M Offline
    M Offline
    Marc Clifton
    wrote on last edited by
    #7

    Very nice! I soooo want to b*tch about the use of "this." everywhere, but I'll refrain. Oops! Marc :-O

    Will work for food. Interacx

    I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

    A A N R 4 Replies Last reply
    0
    • A Adam Maras

      Thanks :cool: I don't really care for the libraries in my area. And, as you well know, I'm a Phoenix/Metro area guy. There's probably not a whole lot of nightlife on a Tuesday night :doh:

      Adam Maras | Software Developer Microsoft Certified Professional Developer

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #8

      The Library... in Tempe.

      1 Reply Last reply
      0
      • M Marc Clifton

        Very nice! I soooo want to b*tch about the use of "this." everywhere, but I'll refrain. Oops! Marc :-O

        Will work for food. Interacx

        I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

        A Offline
        A Offline
        AspDotNetDev
        wrote on last edited by
        #9

        Marc Clifton wrote:

        b*tch about the use of "this."

        I actually like to use "this." for members of a class... I feel it makes the code more clear. More verbose, sure, but more clear. I guess it could go either way... really a stylistic choice.

        [Forum Guidelines]

        P 1 Reply Last reply
        0
        • A AspDotNetDev

          Marc Clifton wrote:

          b*tch about the use of "this."

          I actually like to use "this." for members of a class... I feel it makes the code more clear. More verbose, sure, but more clear. I guess it could go either way... really a stylistic choice.

          [Forum Guidelines]

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #10

          Exactly; like specifying access modifiers when they're not needed. But I thought I was the only one who did that.

          A R 2 Replies Last reply
          0
          • P PIEBALDconsult

            Exactly; like specifying access modifiers when they're not needed. But I thought I was the only one who did that.

            A Offline
            A Offline
            AspDotNetDev
            wrote on last edited by
            #11

            PIEBALDconsult wrote:

            specifying access modifiers when they're not needed

            Yeah, same here. I never leave it as just "class SomeClass"... I always change it to "public class SomeClass" or "internal class SomeClass" or what have you. Same with members of the class. I feel it adds to readability. And since you can just group all the private variables together (I don't usually use variables on a class of any other access modifier), all the "private " parts line up vertically, and so can be skipped over by a reader fairly effeciently.

            PIEBALDconsult wrote:

            I thought I was the only one who did that

            Sorry, neither you nor I are special. :^)

            [Forum Guidelines]

            A 1 Reply Last reply
            0
            • A AspDotNetDev

              PIEBALDconsult wrote:

              specifying access modifiers when they're not needed

              Yeah, same here. I never leave it as just "class SomeClass"... I always change it to "public class SomeClass" or "internal class SomeClass" or what have you. Same with members of the class. I feel it adds to readability. And since you can just group all the private variables together (I don't usually use variables on a class of any other access modifier), all the "private " parts line up vertically, and so can be skipped over by a reader fairly effeciently.

              PIEBALDconsult wrote:

              I thought I was the only one who did that

              Sorry, neither you nor I are special. :^)

              [Forum Guidelines]

              A Offline
              A Offline
              AspDotNetDev
              wrote on last edited by
              #12

              aspdotnetdev wrote:

              "private " parts

              aspdotnetdev wrote:

              I are special

              Just thought I'd beat you to the punch in case any of you wise guys were thinking of quoting me. ;P

              [Forum Guidelines]

              1 Reply Last reply
              0
              • M Marc Clifton

                Very nice! I soooo want to b*tch about the use of "this." everywhere, but I'll refrain. Oops! Marc :-O

                Will work for food. Interacx

                I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

                A Offline
                A Offline
                Adam Maras
                wrote on last edited by
                #13

                I just updated the article to include VB.NET code, so if you want to bitch about the use of "Me." everywhere, you can do that too :-D

                Adam Maras | Software Developer Microsoft Certified Professional Developer

                P R M 3 Replies Last reply
                0
                • A Adam Maras

                  ...so, how should I celebrate? I'm torn between getting off the computer and giving my eyes a rest and sitting on CP and Stack Overflow answering questions.

                  Adam Maras | Software Developer Microsoft Certified Professional Developer

                  modified on Tuesday, December 1, 2009 8:00 PM

                  P Offline
                  P Offline
                  peterchen
                  wrote on last edited by
                  #14

                  Typically, by refreshing the page every 30 seconds, and falling into a state of hate, agony and despair on the first <=3 vote.

                  Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
                  | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

                  M 1 Reply Last reply
                  0
                  • A Adam Maras

                    I just updated the article to include VB.NET code, so if you want to bitch about the use of "Me." everywhere, you can do that too :-D

                    Adam Maras | Software Developer Microsoft Certified Professional Developer

                    P Offline
                    P Offline
                    PIEBALDconsult
                    wrote on last edited by
                    #15

                    Huh, so first the was no "I" in "article", now there's "Me" all over it? :-D

                    A 1 Reply Last reply
                    0
                    • P PIEBALDconsult

                      Huh, so first the was no "I" in "article", now there's "Me" all over it? :-D

                      A Offline
                      A Offline
                      Adam Maras
                      wrote on last edited by
                      #16

                      :laugh:

                      Adam Maras | Software Developer Microsoft Certified Professional Developer

                      1 Reply Last reply
                      0
                      • P peterchen

                        Typically, by refreshing the page every 30 seconds, and falling into a state of hate, agony and despair on the first <=3 vote.

                        Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
                        | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

                        M Offline
                        M Offline
                        Mycroft Holmes
                        wrote on last edited by
                        #17

                        <3 means the voter is identified and is asked for a comment, it's the random 3 votes that are the new univote. You can't bitch if the low vote is explained by a comment. I had one idiot vote all my articles down, presumably because I irritated him in the forums. The votes were removed but the chicken tracks are still there :laugh:

                        Never underestimate the power of human stupidity RAH

                        A 1 Reply Last reply
                        0
                        • M Mycroft Holmes

                          <3 means the voter is identified and is asked for a comment, it's the random 3 votes that are the new univote. You can't bitch if the low vote is explained by a comment. I had one idiot vote all my articles down, presumably because I irritated him in the forums. The votes were removed but the chicken tracks are still there :laugh:

                          Never underestimate the power of human stupidity RAH

                          A Offline
                          A Offline
                          AspDotNetDev
                          wrote on last edited by
                          #18

                          Mycroft Holmes wrote:

                          <3

                          Tough love.

                          [Forum Guidelines]

                          1 Reply Last reply
                          0
                          • M Marc Clifton

                            Very nice! I soooo want to b*tch about the use of "this." everywhere, but I'll refrain. Oops! Marc :-O

                            Will work for food. Interacx

                            I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

                            N Offline
                            N Offline
                            Nish Nishant
                            wrote on last edited by
                            #19

                            Marc Clifton wrote:

                            I soooo want to b*tch about the use of "this." everywhere, but I'll refrain.

                            What's wrong with that? It's even a Style Cop guideline :-)

                            Regards, Nish


                            Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                            My latest book : C++/CLI in Action / Amazon.com link

                            T 1 Reply Last reply
                            0
                            • P PIEBALDconsult

                              Exactly; like specifying access modifiers when they're not needed. But I thought I was the only one who did that.

                              R Offline
                              R Offline
                              RichardM1
                              wrote on last edited by
                              #20

                              Remember FORTRAN? (You might not. How old are you? :-O ) REAL was any variable that started with a letter in the set A-H, O-Z INTEGER any that started in the set I-N The compiler will figure out what I meant, no need to spell it out. The next guy on it is at least as smart as me. Otherwise he would be doing boring original code instead of exciting maintenance. He can figure it out the first time second time, every time 60% of the time. ;P So, how is _not_ using access modifiers any different from not specifying the type of a variable in VB? Ha, ha, just truthing. :laugh: Actually, maintenance CAN be exciting. But not usually in a good way. :~ And you clearly didn't hit a nerve with me. X|

                              Opacity, the new Transparency.

                              P D 2 Replies Last reply
                              0
                              • N Nish Nishant

                                Marc Clifton wrote:

                                I soooo want to b*tch about the use of "this." everywhere, but I'll refrain.

                                What's wrong with that? It's even a Style Cop guideline :-)

                                Regards, Nish


                                Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                My latest book : C++/CLI in Action / Amazon.com link

                                T Offline
                                T Offline
                                The Real Geek
                                wrote on last edited by
                                #21

                                True - more people should use StyleCop.

                                R 1 Reply Last reply
                                0
                                • M Marc Clifton

                                  Very nice! I soooo want to b*tch about the use of "this." everywhere, but I'll refrain. Oops! Marc :-O

                                  Will work for food. Interacx

                                  I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

                                  R Offline
                                  R Offline
                                  realJSOP
                                  wrote on last edited by
                                  #22

                                  I insist on using it, especially if the guy that doesn't do it also doesn't use "m_" to indicate member variables in a class. That's the only way you can really discern local method vars from global class vars...

                                  .45 ACP - because shooting twice is just silly
                                  -----
                                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                  -----
                                  "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                                  1 Reply Last reply
                                  0
                                  • T The Real Geek

                                    True - more people should use StyleCop.

                                    R Offline
                                    R Offline
                                    realJSOP
                                    wrote on last edited by
                                    #23

                                    It's almost impossible to get a clean run with style cop... I stopped using it for that very reason. EDIT - It may be FXCop I'm thinking of... In any case, I try to avoid cops...

                                    .45 ACP - because shooting twice is just silly
                                    -----
                                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                    -----
                                    "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                                    T 1 Reply Last reply
                                    0
                                    • A Adam Maras

                                      I just updated the article to include VB.NET code, so if you want to bitch about the use of "Me." everywhere, you can do that too :-D

                                      Adam Maras | Software Developer Microsoft Certified Professional Developer

                                      R Offline
                                      R Offline
                                      realJSOP
                                      wrote on last edited by
                                      #24

                                      Adam Maras wrote:

                                      I just updated the article to include VB.NET code

                                      But why ruin the article?

                                      .45 ACP - because shooting twice is just silly
                                      -----
                                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                      -----
                                      "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                                      1 Reply Last reply
                                      0
                                      • A Adam Maras

                                        I just updated the article to include VB.NET code, so if you want to bitch about the use of "Me." everywhere, you can do that too :-D

                                        Adam Maras | Software Developer Microsoft Certified Professional Developer

                                        M Offline
                                        M Offline
                                        Marc Clifton
                                        wrote on last edited by
                                        #25

                                        Adam Maras wrote:

                                        I just updated the article to include VB.NET code, so if you want to bitch about the use of "Me." everywhere, you can do that too

                                        Hehe. Somebody should make a spoof on the Beatles' song. "I, me, me, this" Marc

                                        Will work for food. Interacx

                                        I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

                                        1 Reply Last reply
                                        0
                                        • R realJSOP

                                          It's almost impossible to get a clean run with style cop... I stopped using it for that very reason. EDIT - It may be FXCop I'm thinking of... In any case, I try to avoid cops...

                                          .45 ACP - because shooting twice is just silly
                                          -----
                                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                          -----
                                          "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                                          T Offline
                                          T Offline
                                          The Real Geek
                                          wrote on last edited by
                                          #26

                                          FXCop - which deals with compiled code - can be a PITA, but it does catch some nice things (like int overflow). StyleCop only deals with source code - what it looks like and the order of items in a file. The Law

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

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