You know you're lazy when...
-
...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 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/[^]
-
....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/[^]
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!!
-
....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/[^]
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.
-
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 HemingwaySome start their variable names with an underscore.
:badger:
-
...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.
mmm...combine the two? Put your computer in the bathroom? perhaps...
:badger:
-
mmm...combine the two? Put your computer in the bathroom? perhaps...
:badger:
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.
-
Laziness and efficiency are two sides of the same coin. Marc
Best exemplified in the "Story of the Man Too Lazy to Fail", Time Enough For Love, Robert Heinlein.
Software Zen:
delete this;
-
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|WTLGimme a week and I'll write a virtual coin. :cool:
-
...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
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/publitorOur kids books :The Snot Goblin, and Book 2 - the Snotgoblin and Fluff
-
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.
-
Some start their variable names with an underscore.
:badger:
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
-
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?
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! :)
-
mmm...combine the two? Put your computer in the bathroom? perhaps...
:badger:
Been there, done that... :-D
-
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?
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
-
...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
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.
-
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! :)
What about of pressing control + space ? :)
Giovanny Fernandez R. MCPD
-
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: