Totally agree...but for a very spesific reason. I'm using a Braille display with a maximum of 40 chars per line, so it have a influence on my format preferences... ;P Seriously though, if (condition) { Action1(); } else { Action2(); } is my real preference, and there's a plus to that, whenever the situation change to have more than one statement for the if test, the person who has to change it doesn't have to remember to go and fill in the {}.:cool:
Matthys Terblanche
Posts
-
Pet Peeve -
Gaming keyboardsHi, just bought myself a CM Storm Devistator keyboard, NOT for gaming, but for the pure joy of working with a keyboard with proper layout, nice positive key feadback, and the minimum of extra multi-media/rubbish keys cluttering the place. For too long I've made do with a cheep keyboard, and although this one doesn't break the bank, I'm so satisfied that I've ordered another one to bring to work. I expect I'll enjoy a mechanical keyboard even more, but they're getting quite expensive. What's funny for me is that this higher quality keyboards are pushed as gaming devices, while I am positive that for people who type a lot, it's even more worthit. What's your take on this? :cool:
-
CodeProject challengesAh, you forgot the number one annoyance, "This is better then that." I assume it's when English is the third language...
-
Html5 CSS3 and Responsive web developmentHi, I've started about 3 weeks back with an online course regarding Web Development with Html5 and CSS3. It's 10 modules, attempting to go all the way from introduction to responsive design, using WordPress as content management system, project planning / design (wireframes and site maps), up to creating and using plugins, using paypal, and marketing on google. Now I feel module one was very scant, most of the module was spent on setting up wordpress on your domain, introducing open source and all about licences, etc. The assignment concentrated on licencing cenarios, i.e. Which licence(s) or ownership rights did George Hotz broke through hacking the iPhone and auctioning it? Give one reason for each software license that you mention. and Did he comply with the Open Source movement's ideas. Module 2 touched on Html5 and CSS3, Media queries etc. Module 3 is about wireframes and site maps, planning your site, etc. I wonder if they try too much in one cource? Isn't it true that Web Development has evolved into more specialised areas, i.e. visual design, Content design, coding, etc. I must admit I'm a bit lost regarding the wireframe and sitemap idea. I'm blind, so visual tools tend not to help me a lot. If I see a site map as a treeview indicating the relations between pages, and a wireframe as a formatted word document with your header/footer areas, an area for content, a table indicating site navigation, and another maybe for menus, am I so far off the mark? :~:confused: I only hope I can find enough from this course to make it worth while, since I'm interested in the coding part, but understand that you need to have an idea regarding the rest. Luckaly it's more for my own curiosity, I develop desktop applications for the day job. By the way, the collection of articles Learn CSS3 and HTML5 on CP is great, in a sence, it's more worth than the course notes we got... cool
-
Walter BrightIn the thread about C, Walter Bright's name popped out. Strangely enough, I didn't immediatly thought "o yes D", but "Empire, the war game of the Century." Anyone remember that? I was hooked on it and spent/wasted many hours playing it. :java:
-
Cancel - OKI agree. But unfortunatly this is the ideal and not the reality in the world. I've seen many applications where the developers thought it good to make the Cancel button default, not providing hot keys, even providing wonderful names for there buttons like proceed etc. Although the reasoning behind it may be to force the user to read the screen, I think the rest of the argument should keep in mind that a user who is familiar with a system would like to rely on automatics for the obvious tasks, and have a consistent experience across different applications. Well, one can only hope... :^)
-
SATA HDD dying?Hmm, just another thing, is it a 2tb or bigger drive? I've read a while back that there spinup time in some cases are too long, and that Windows sometimes timeout before it's ready. I think there's some hotfix on MS, but they said something along the lines that you should only apply it if you're sure it's affecting your dri :-\ ve.
-
Books or movies?:thumbsup: I agree here, although I did give in in the end and watched Enders Game, and perhaps since I didn't expect much of the movy, was sortof pleasantly surprised.
"Chess, like Love, like Music, has the power to make men happy" (TARRASCH). Love is like a Game of Chess: One False Move and You're Mated ~ Anonymous~ "A computer programmer is someone who, when told to "Go to Hell", sees the "Go to", rather than the destination, as harmful."
-
SCRUM PitDoesn't it smell rotten :doh: X| in there?
-
Herr Merkel to address UK Parliament.Old but quite good. The European Commission has just announced an agreement whereby English will be the official language of the EU rather than German which was the other possibility. :^) As part of the negotiations, Her Majesty's Government conceded that English spelling had some room for improvement and has accepted a 5 year phase-in plan that would be known as "Euro-English". In the first year, "s" will replace the soft "c". Sertainly, this will make the sivil servants jump with joy. The hard "c" will be dropped in favour of the"k". This should klear up konfusion and keyboards kan have 1 less letter. There will be growing publik enthusiasm in the sekond year, when the troublesome "ph" will be replaced with "f". This will make words like "fotograf" 20 persent shorter. In the 3rd year, publik akseptanse of the new spelling kan be ekspekted to reach the stage where more komplikated changes are possible. Governments will enkorage the removal of double letters, which have always ben a deterent to akurate speling. Also, al wil agre that the horible mes of the silent "e"s in the language is disgraseful, and they should go away. By the fourth year, peopl wil be reseptiv to steps such as replasing "th" with "z" and "w" with "v". During ze fifz year, ze unesesary "o" kan be dropd from vords kontaining "ou" and similar changes vud of kors be aplid to ozer kombinations of leters. After zis fifz yer, ve vil hav a reli sensibl riten styl. Zer vil be no mor trubl or difikultis and evrivun vil find it ezi to understand ech ozer. Ze drem vil finali kum tru! And zen ve vil tak over ze world!
-
WPF - Why was it formed?Ahh, so that's what I've done wrong then... :^)
"Chess, like Love, like Music, has the power to make men happy", (TARRASCH). "Love is like a Game of Chess: One False Move and You're Mated", Anonymous~ A computer programmer is someone who, when told to "Go to Hell", sees the "Go to", rather than the destination, as harmful.
-
Regular Expression - Achievement unlockedYip, at least I can get onto CP, LOL. No social sites, so I hope they don't investigate the full capabilities of CP :^) ;) :doh:
-
Regular Expression - Achievement unlockedAh thanks. I'll grab it from home since DB is also blocked at work.:thumbsup:
-
Regular Expression - Achievement unlockedWTF??? I hate Trend. This is what I get when trying to download Expresso. Trend Micro OfficeScan Event URL Blocked The URL that you are attempting to access is a potential security risk. Trend Micro OfficeScan has blocked this URL in keeping with the network security policy. URL: http://www.ultrapico.com/ExpressoSetup3.msi Risk Level: Dangerous Details: Verified fraud page or threat source :(( :~
-
[NEVERMIND]Windows Update for XP -
New gaming computer built and runningNice machine. Apparently you can double your ssd's speed if you raid it with an identical one. But that's only worth it if you won the lotto and have the bucks to throw away. Enjoy. :cool:
-
Some People Shouldn't Be Allowed to Use a ComputerHmm, I just ignore such reports.... I'm blind and my screen reader cannot read graphics! ;P
-
New AlphabetOld joke: Europe English The European Commission has just announced an agreement whereby English will be the official language of the EU rather than German which was the other possibility. As part of the negotiations, Her Majesty's Government conceded that English spelling had some room for improvement and has accepted a five year phase-in plan that would be known as "Euro-English". In the first year, "s" will replace the soft "c". Sertainly, this will make the sivil servants jump with joy. The hard "c" will be dropped in favour of the "k". This should klear up konfusion and keyboards kan have 1 less letter. There will be growing publik enthusiasm in the sekond year, when the troublesome "ph" will be replaced with "f". This will make words like "fotograf" 20% shorter. In the 3rd year, publik akseptanse of the new spelling kan be ekspekted to reach the stage where more komplikated changes are possible. Governments will enkorage the removal of double letters, which have always ben a deterent to akurate speling. Also, al wil agre that the horible mes of the silent "e"s in the language is disgraseful, and they should go away. By the fourth year, peopl wil be reseptiv to steps such as replasing "th" with "z" and "w" with "v". During ze fifz year, ze unesesary "o" kan be dropd from vords kontaining "ou" and similar changes vud of kors be aplid to ozer kombinations of leters. After zis fifz yer, ve vil hav a reli sensibl riten styl. Zer vil be no mor trubl or difikultis and evrivun vil find it ezi to understand ech ozer. Ze drem vil finali kum tru! And zen world!
-
Going code smackdownGood luck, and enjoy! :java:
-
Variety of C++ compilers.I'm using Embarcadero Rad Studio 2010 and XE3, XE3's support for ios and win8 development looks interesting, but since that will be my private projects in future, I can't comment on it yet. There IDE works the best for my Screen Reader (I'm blind), and it's probably also because I started out with Turbo Pascal in the late 80's, that I've moved on to turbo c++ when it emerged, since the environment was familiar. Stuck with Borland, changed to embarcadero since then. Did some VB.net work also, but not a lot. Where's the days?