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. You know you're lazy when...

You know you're lazy when...

Scheduled Pinned Locked Moved The Lounge
csharpc++visual-studiocomarchitecture
42 Posts 33 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.
  • S senylity

    I've done that more than once. I always go back and take out the "this." just in case someone else has to review my code.


    Success is the happy feeling you get between the time you do something and the time you tell a woman what you did. --Dibert My left name is Tremendous Savings, Ms. America – Señor Cardgage

    L Offline
    L Offline
    LFirth
    wrote on last edited by
    #26

    I would have thought you would want to keep this. in there for other programmers, I sometimes remove mine but only for myself! :) If you ever try and use Reflector to view a project, it normally has the "this." before every function... not sure if it for optimisation or what... and to be honest I'm too lazy to find out... but hey, thats what this thread is all about isnt it! :)

    S 1 Reply Last reply
    0
    • L LFirth

      I would have thought you would want to keep this. in there for other programmers, I sometimes remove mine but only for myself! :) If you ever try and use Reflector to view a project, it normally has the "this." before every function... not sure if it for optimisation or what... and to be honest I'm too lazy to find out... but hey, thats what this thread is all about isnt it! :)

      S Offline
      S Offline
      senylity
      wrote on last edited by
      #27

      Resharper, which is a refactoring tool we use here at work, says that "this." is redudant and can be removed. I saw an option somewhere that would go through your code and remove redundant "this." and other things, but now I can't find it, and of course, I'm too lazy to search for it.


      Success is the happy feeling you get between the time you do something and the time you tell a woman what you did. --Dibert My left name is Tremendous Savings, Ms. America – Señor Cardgage

      L 1 Reply Last reply
      0
      • S senylity

        Resharper, which is a refactoring tool we use here at work, says that "this." is redudant and can be removed. I saw an option somewhere that would go through your code and remove redundant "this." and other things, but now I can't find it, and of course, I'm too lazy to search for it.


        Success is the happy feeling you get between the time you do something and the time you tell a woman what you did. --Dibert My left name is Tremendous Savings, Ms. America – Señor Cardgage

        L Offline
        L Offline
        LFirth
        wrote on last edited by
        #28

        I did not know that, you learn something new every day, even if we are lazy sods! :)

        1 Reply Last reply
        0
        • G Giovanny Fernandez R

          What about of pressing control + space ? :)

          Giovanny Fernandez R. MCPD

          C Offline
          C Offline
          cpkilekofp
          wrote on last edited by
          #29

          Giovanny Fernandez R. wrote:

          What about of pressing control + space ? Giovanny Fernandez R. MCPD

          It works for me, every time :laugh:

          1 Reply Last reply
          0
          • A Anton Afanasyev

            mmm...combine the two? Put your computer in the bathroom? perhaps...


            :badger:

            L Offline
            L Offline
            LFirth
            wrote on last edited by
            #30

            Or get a laptop... worked for me! :) I have IBS so when I'm ill I get some of my best coding done in there... true story! lol

            1 Reply Last reply
            0
            • C Chris Maunder

              ...you type a variable name in Visual Studio's editor, accidentally capitalise the first two letters, and continue on, waiting for the auto-corrector to kick in and fix the mistake. :doh:

              cheers, Chris Maunder

              CodeProject.com : C++ MVP

              M Offline
              M Offline
              MSBassSinger
              wrote on last edited by
              #31

              Productivity = (smart)Laziness; Sorriness = (self_serving)Laziness; Why allow the clouds of tomorrow to obscure the sunshine of today? Why live in fear and sorrow for what has not yet come my way?

              1 Reply Last reply
              0
              • G Gary R Wheeler

                Best exemplified in the "Story of the Man Too Lazy to Fail", Time Enough For Love, Robert Heinlein.


                Software Zen: delete this;

                Fold With Us![^]

                K Offline
                K Offline
                kflemingSDSI
                wrote on last edited by
                #32

                Right on.

                1 Reply Last reply
                0
                • C Chris Maunder

                  ...you type a variable name in Visual Studio's editor, accidentally capitalise the first two letters, and continue on, waiting for the auto-corrector to kick in and fix the mistake. :doh:

                  cheers, Chris Maunder

                  CodeProject.com : C++ MVP

                  M Offline
                  M Offline
                  Mohamed Meligy
                  wrote on last edited by
                  #33

                  "you type a variable name in Visual Studio's editor, accidentally capitalise the first two letters" That's too much to do :D I'm too lazy for that. I write the first two to three letters of the type, then hit SPACE, then hit CTRL+SPACE waiting for Resharper to give intellisense to the for the variable name suggestions and choose one :). Mohamed Ahmed Meligy Senior Software Engineer Silver Key Tech - Egypt Branch http://GeeksWithBlogs.NET/Mohamed

                  1 Reply Last reply
                  0
                  • R Rocky Moore

                    Yeah, and another sign is when you type this. to grab a property name that you are not sure what you named it and it is a few lines up, but off the screen :) Who wants to scroll that far ;)

                    Rocky <>< Blog Post: LINQ - Disconnected-Attach, no change tracking fix.. Tech Blog Post: Cheap Biofuels and Synthetics coming soon?

                    J Offline
                    J Offline
                    Jasmine2501
                    wrote on last edited by
                    #34

                    Rocky Moore wrote:

                    another sign is when you type this. to grab a property name

                    OMG, I do that all the time :)

                    "Quality Software since 1983!"
                    http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles.

                    1 Reply Last reply
                    0
                    • P PIEBALDconsult

                      Gimme a week and I'll write a virtual coin. :cool:

                      K Offline
                      K Offline
                      kackermann
                      wrote on last edited by
                      #35

                      Just imagine flipping it.

                      1 Reply Last reply
                      0
                      • A Anton Afanasyev

                        Some start their variable names with an underscore.


                        :badger:

                        C Offline
                        C Offline
                        chris ruff
                        wrote on last edited by
                        #36

                        Anton Afanasyev wrote:

                        Some start their variable names with an underscore.

                        :| The best variables are _12443 _454 and finally _ as in _ = 123; Try to find that in your find-in-files Chris

                        1 Reply Last reply
                        0
                        • C Chris Maunder

                          ...you type a variable name in Visual Studio's editor, accidentally capitalise the first two letters, and continue on, waiting for the auto-corrector to kick in and fix the mistake. :doh:

                          cheers, Chris Maunder

                          CodeProject.com : C++ MVP

                          E Offline
                          E Offline
                          Eric Eggers
                          wrote on last edited by
                          #37

                          ...You do all you can to copy and paste something instead of typing it, even if typing it would take less time!

                          1 Reply Last reply
                          0
                          • J Jim Crafton

                            Unless you're too lazy to flip the coin over...

                            ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                            J Offline
                            J Offline
                            Jeffrey Walton
                            wrote on last edited by
                            #38

                            LOL

                            1 Reply Last reply
                            0
                            • C Chris Maunder

                              ...you type a variable name in Visual Studio's editor, accidentally capitalise the first two letters, and continue on, waiting for the auto-corrector to kick in and fix the mistake. :doh:

                              cheers, Chris Maunder

                              CodeProject.com : C++ MVP

                              M Offline
                              M Offline
                              MattPenner
                              wrote on last edited by
                              #39

                              man, I do that in Word! who needs to be bothered by capitalizing the first letter of every sentence? now I just blissfully type in lowercase. it only screws me up when I'm not using Word (like here!) :laugh:

                              1 Reply Last reply
                              0
                              • C Chris Maunder

                                ...you type a variable name in Visual Studio's editor, accidentally capitalise the first two letters, and continue on, waiting for the auto-corrector to kick in and fix the mistake. :doh:

                                cheers, Chris Maunder

                                CodeProject.com : C++ MVP

                                R Offline
                                R Offline
                                RBarryYoung
                                wrote on last edited by
                                #40

                                Ha! I haven't capitalised a name in Visual Studio, outside of declarations and comments, in over ten years. Not having to do stupid crap like this is one of the things that the VS-IDE is actually good for. -- RBarryYoung

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  ...you type a variable name in Visual Studio's editor, accidentally capitalise the first two letters, and continue on, waiting for the auto-corrector to kick in and fix the mistake. :doh:

                                  cheers, Chris Maunder

                                  CodeProject.com : C++ MVP

                                  R Offline
                                  R Offline
                                  RBarryYoung
                                  wrote on last edited by
                                  #41

                                  ... you type "me." just to use local properties and fields, so that you don't have to remember their names or even type them in. -- RBarryYoung

                                  1 Reply Last reply
                                  0
                                  • G Giovanny Fernandez R

                                    What about of pressing control + space ? :)

                                    Giovanny Fernandez R. MCPD

                                    R Offline
                                    R Offline
                                    Rocky Moore
                                    wrote on last edited by
                                    #42

                                    Doesn't CTRL+SPACE bring up everything available, while this. only brings up items that pertain the specific class and base classes?

                                    Rocky <>< Blog Post: ASP.NET MVC Part 1 Tech Blog Post: Cheap Biofuels and Synthetics coming soon?

                                    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