Jason Hooper
Posts
-
Darn! I wish there was a undo... -
Darn! I wish there was a undo...I can't stand rewriting the same code twice. It's bad enough when it goes against the DRY grain in day-to-day coding, but when it's because you lost the code and have to rewrite it.. it's the worst feeling of wastefulness, so I try to avoid it (saving often, committing often, etc.)
-
Password Nazis: Go Die In A FireThis is basically what I do, doesn't everybody?
-
Password Nazis: Go Die In A FireThis annoys me too. I tell myself it's got to be driven by some misguided regulatory call, and not an actual belief that it makes your accounts more secure, or that it is overall worth it when you factor in the IT support costs, etc. It's part of my bullshit filter, true or not.
-
I am writing codeUnit tests first :-D
-
Security Code ReviewsSecurity? What is that? Got a link or something?
-
I need a coffeeIf you're like me, the issue is just getting going for the day/session. Once you've got your momentum built up, the code tends to flow. So here's two tricks I've learned over the years for getting past this: 1) Start with something small and easy. Some little 2- or 3-line method, even if it's not something you need yet. Just the act of typing in the code and getting that small accomplishment out of the way is enough to start your gears turning. 2) Don't fully finish your thought at the end of each day. Code most of what you want to accomplish but leave a small method or a couple lines of something for the next morning. I find it be easier to pick up thought process as I left it previously than to begin with a cold start on a new idea. Then I have my momentum going and can segue into the next new task. Hope this helps!
-
Non-programming question about Java...I'd avoid getting caught up in the typical language war. There are no horrible languages--though there are horrible combinations of languages for the task at hand. I wouldn't want perl powering the airplanes I fly in, and I wouldn't expect a full custom C-driven web site solution for a very small e-commerce site. For anything in between, just find something you enjoy and become proficient at it.
-
Handing in my Coder CardIn any decision where I have two blocks of code that are functionally equivalent but one is more nested than the other, I will pick the less nested version. Fewer braces overall in the code.
-
Handing in my Coder Cardgoto[^] I've only used goto once before as a professional and ended up removing it a few minutes later when I figured out a different way. Sometimes though for simplicity it just makes sense. I think I'll leave it! Anyone who thinks this code should not be checked in, speak now or forever hold your concurrency locks.
-
Subversion is a mess : A Rant in E MinorI've used Subversion for a few years and have been poked and prodded by it in the past. I've learned to be gentle with it and to avoid massive restructuring of the folders because I hate spending hours fixing tree conflicts, etc. I now have a fragile peace with SVN (via TortoiseSVN) and haven't had an issue for quite a while. It does the trick. I see no use converting to Git for internal enterprise development as it doesn't match the model.
-
Gliffy -
Third time unlucky.Just tell them you are a people person, that you have people skills, and that should be good enough.
-
Arby's Employee's Cut Off Finger In FoodHopefully other restaurants have taken some.. pointers.. on food safety.
-
The new GOTO Statement?Can you give us an example?
-
Proximity of changing UI elementsYep. Nothing annoys me more about design than people's attempts to be fancy that just make things worse.
-
Need a favorWho else is in favor of a new forum for this type of message, where we can post (and frankly brag, if we want :)) about our projects and ask for advice, testing, etc.? I've seen this a lot and think it would make a good forum on its own.
-
GUID pronunciationGwid like squid. Where there are multiple acceptable pronunciations of a word I will always choose the one with the fewest syllables--it only makes sense. Sequel instead of S-Q-L, gwid instead of goo-id, etc.
-
Why String?Because even the best C programmers end up hanging themselves with them at some point in time.
-
Dinosaur gases 'warmed the Earth'I have been palpably warming my local environment all day. Scale it up to the size and number of dinosaurs.... starts to feel legit. This does not smell fishy to me.