You know you're lazy when...
-
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
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! :)
-
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! :)
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
-
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
-
What about of pressing control + space ? :)
Giovanny Fernandez R. MCPD
Giovanny Fernandez R. wrote:
What about of pressing control + space ? Giovanny Fernandez R. MCPD
It works for me, every time :laugh:
-
mmm...combine the two? Put your computer in the bathroom? perhaps...
:badger:
-
...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
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?
-
Best exemplified in the "Story of the Man Too Lazy to Fail", Time Enough For Love, Robert Heinlein.
Software Zen:
delete this;
Right on.
-
...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
"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
-
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?
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. -
Gimme a week and I'll write a virtual coin. :cool:
Just imagine flipping it.
-
Some start their variable names with an underscore.
:badger:
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
-
...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
...You do all you can to copy and paste something instead of typing it, even if typing it would take less time!
-
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
LOL
-
...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
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:
-
...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
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
-
...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
... 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
-
What about of pressing control + space ? :)
Giovanny Fernandez R. MCPD
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?