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.
  • 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

    F Offline
    F Offline
    Frank Kerrigan
    wrote on last edited by
    #10

    ....You create a new app entirely from cutting and pasting from another app.

    Grady Booch: I told Google to their face...what you need is some serious adult supervision. (2007 Turing lecture) http://www.frankkerrigan.com/[^]

    _ P 2 Replies Last reply
    0
    • F Frank Kerrigan

      ....You create a new app entirely from cutting and pasting from another app.

      Grady Booch: I told Google to their face...what you need is some serious adult supervision. (2007 Turing lecture) http://www.frankkerrigan.com/[^]

      _ Offline
      _ Offline
      _Damian S_
      wrote on last edited by
      #11

      That's not lazy... that's the effective use of time and resources!!

      ------------------------------------------- Don't walk in front of me, I may not follow; Don't walk behind me, I may not lead; Just bugger off and leave me alone!!

      1 Reply Last reply
      0
      • F Frank Kerrigan

        ....You create a new app entirely from cutting and pasting from another app.

        Grady Booch: I told Google to their face...what you need is some serious adult supervision. (2007 Turing lecture) http://www.frankkerrigan.com/[^]

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #12

        I call that code reuse. The holy grail. "Anna. You forgot to switch the grail sign off again."

        Deja View - the feeling that you've seen this post before.

        1 Reply Last reply
        0
        • E Ennis Ray Lynch Jr

          In nearly every style guide, even my own crazy one, variables are camelCase. I'm left to wonder how the shift key even got pressed.


          Need a C# Consultant? I'm available.
          Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

          A Offline
          A Offline
          Anton Afanasyev
          wrote on last edited by
          #13

          Some start their variable names with an underscore.


          :badger:

          P C 2 Replies Last reply
          0
          • C CataclysmicQuantum

            ...you don't get up from your computer chair to use the bathroom and you sleep at your desk.

            46 75 63 6B 20 79 6F 75 20 4B 79 6C 65 20 45 64 77 61 72 64 73 20 66 72 6F 6D 20 41 72 6B 61 6E 73 61 73 21 20 46 75 63 6B 20 79 6F 75 20 74 6F 20 68 65 6C 6C This is a coded message, if you decode it and you are offended, it is your own f****ing fault.

            A Offline
            A Offline
            Anton Afanasyev
            wrote on last edited by
            #14

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


            :badger:

            C U L 3 Replies Last reply
            0
            • A Anton Afanasyev

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


              :badger:

              C Offline
              C Offline
              CataclysmicQuantum
              wrote on last edited by
              #15

              Anton Afanasyev wrote:

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

              No, just have tubes in you. You would also get have a tube in your mouth where you would suck your food and water mix. That way you don't even have to move for anything at all.

              46 75 63 6B 20 79 6F 75 20 4B 79 6C 65 20 45 64 77 61 72 64 73 20 66 72 6F 6D 20 41 72 6B 61 6E 73 61 73 21 20 46 75 63 6B 20 79 6F 75 20 74 6F 20 68 65 6C 6C This is a coded message, if you decode it and you are offended, it is your own f****ing fault.

              K 1 Reply Last reply
              0
              • M Marc Clifton

                Laziness and efficiency are two sides of the same coin. Marc

                Thyme In The Country
                Interacx
                My Blog

                G Offline
                G Offline
                Gary R Wheeler
                wrote on last edited by
                #16

                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 1 Reply Last reply
                0
                • D Douglas Troy

                  Jim Crafton wrote:

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

                  Hey, after a long day of typing, coins get heavy ...


                  :..::. Douglas H. Troy ::..
                  Bad Astronomy |VCF|wxWidgets|WTL

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

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

                  K 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

                    B Offline
                    B Offline
                    bryce
                    wrote on last edited by
                    #18

                    are you coding again chris? bryce

                    --- To paraphrase Fred Dagg - the views expressed in this post are bloody good ones. --
                    Publitor, making Pubmed easy. http://www.sohocode.com/publitor

                    Our kids books :The Snot Goblin, and Book 2 - the Snotgoblin and Fluff

                    1 Reply Last reply
                    0
                    • C CataclysmicQuantum

                      Anton Afanasyev wrote:

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

                      No, just have tubes in you. You would also get have a tube in your mouth where you would suck your food and water mix. That way you don't even have to move for anything at all.

                      46 75 63 6B 20 79 6F 75 20 4B 79 6C 65 20 45 64 77 61 72 64 73 20 66 72 6F 6D 20 41 72 6B 61 6E 73 61 73 21 20 46 75 63 6B 20 79 6F 75 20 74 6F 20 68 65 6C 6C This is a coded message, if you decode it and you are offended, it is your own f****ing fault.

                      K Offline
                      K Offline
                      KramII
                      wrote on last edited by
                      #19

                      Now, there's an idea! You'd have to be careful, though. You really wouldn't want to get the tubes confused... X|

                      KramII

                      1 Reply Last reply
                      0
                      • A Anton Afanasyev

                        Some start their variable names with an underscore.


                        :badger:

                        P Offline
                        P Offline
                        Pawel Krakowiak
                        wrote on last edited by
                        #20

                        Anton Afanasyev wrote:

                        Some start their variable names with an underscore.

                        I do that only for private variables used by property accessors. :P

                        Kind regards, Pawel Krakowiak

                        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?

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

                          Guilty as charged.... :) I use SharpDevelop alot at work, and I been using the "this." trick for a while... it's just so much easier than scrolling up, finding the name, scrolling down, type the full var name. It also saves a couple of extra keypresses by pressing return/tab when it hits the right option! :)

                          G 1 Reply Last reply
                          0
                          • A Anton Afanasyev

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


                            :badger:

                            U Offline
                            U Offline
                            ulflundgren
                            wrote on last edited by
                            #22

                            Been there, done that... :-D

                            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?

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

                              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 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

                                P Offline
                                P Offline
                                PhilLenoir
                                wrote on last edited by
                                #24

                                Chris, I ALWAYS don't use the shift key. If the IDE corrects it, I know I got the name right!

                                Life is like a s**t sandwich; the more bread you have, the less s**t you eat.

                                1 Reply Last reply
                                0
                                • L LFirth

                                  Guilty as charged.... :) I use SharpDevelop alot at work, and I been using the "this." trick for a while... it's just so much easier than scrolling up, finding the name, scrolling down, type the full var name. It also saves a couple of extra keypresses by pressing return/tab when it hits the right option! :)

                                  G Offline
                                  G Offline
                                  Giovanny Fernandez R
                                  wrote on last edited by
                                  #25

                                  What about of pressing control + space ? :)

                                  Giovanny Fernandez R. MCPD

                                  C R 2 Replies Last reply
                                  0
                                  • 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
                                          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