Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Comment first (Score 1) 580

I actually comment the main parts of my code before I write the code. Reason being is I like to get the general layout of the code down first and then add further comments as I go along to explain my reasoning *to me*.

I don't know how long it's going to be before I come back to a piece of code and nothing annoys me more than having mental clutter in my mind. I don't want to have to *remember* what why or how certain bit of code does what it does. I just want to pull up my code and explain it to myself and say "thanks me of the past for considering me today". Coders that don't explain what they are doing in their code are just hard to work with.

Well commented code helps code look beautiful and flow like poetry. When you look at code you can see almost immediately if it is going to be painful to modify. I try to put as much back onto the machine as I can, like using database design tools so I don't have to keep stuff in my mind.

I use Nassi-Shneiderman mixed with pseudo-code on paper to do a design (I'm getting better at UML tools - so soon I hope to upgrade this part of my coding practise) and when I'm happy with that I move to comment before writing the actual functional parts of code, increasing the detail of the comments as I go along. I used to be shy about my code but now I'd be embarrassed if I didn't comment my code - because it's not polite to my colleagues. Comments mean I don't have to waste time trying to remember where I was up to as it's simple for me to compare it with my design and away I go.

Apple

Apple Fails To Deliver On Windows 7 Boot Camp Promise 279

SkydiverFL writes "For those fans of Apple's Boot Camp package, it looks like you might be waiting on the next 'end of year' to use Windows 7 on your shiny silver boxes. Back in October of this year, Apple published a rather short, but affirmative promise stating quite simply that, 'Apple will support Microsoft Windows 7 (Home Premium, Professional, and Ultimate) with Boot Camp in Mac OS X Snow Leopard before the end of the year. This support will require a software update to Boot Camp.' The support page has no updates regarding the new version. Maybe they're waiting for iSlate?"
Cellphones

Apple Censors Dalai Lama iPhone Apps In China 253

eldavojohn writes "Google and Yahoo! have relinquished any sort of ethical integrity with regards to free speech in China but Apple appears to be following suit by blocking Dalai Lama applications in the Chinese iPhone app store. An official Apple statement reads, 'We continue to comply with local laws. Not all apps are available in every country.' A small monetary price to pay for the economic boon that is the blooming Chinese cell phone market but a very large price to pay for that in principles."
GUI

IDEs With VIM Text Editing Capability? 193

An anonymous reader writes "I am currently looking to move from text editing with vim to a full fledged IDE with gdb integration, integrated command line, etc. Extending VIM with these capabilities is a mortal sin, so I am looking for a linux based GUI IDE. I do not want to give up the efficient text editing capabilities of VIM though. How do I have my cake and eat it too?"

Comment Re:Professionalism (Score 1) 837

The right image will enhance your treatment by others. I remember working with casually dressed telecom workers while my employer required a dress shirt and tie. It was interesting to see how much I was respected. The telecom workers were not treated with the same level of respect. Ever since that time, I always make sure my image represents my value as a business asset.

Comment Uniforms are communication (Score 1) 837

The real issue of concern for me would be that many uniforms are associated with either semi-skilled jobs (fast food) or positions that require special garments to perform work (soldiers, firefighters). Most help-desk people that I've known (and the one I used to be) think of themselves as office professionals. What message does the uniform send to the non-IT staff with whom the help desk has contact. Clearly, you don't want to send messages that amount to either "semi-skilled" or "willing to move filing cabinets."

Comment Superhero costumes to hide true identities (Score 4, Funny) 837

Given how IT staff get harassed to fix everything, and blamed for everything broken, I would suggest an idea floated during my days as a university student.

See, we had these "Programmers On Duty", or PODs, many of whom were volunteers, who would look at your program, and attempt to help you find what was wrong. This was pretty much a thankless job, and anything you broke, and they couldn't fix, was considered their fault. (This was the late 70s era of punched cards, and computer printouts, with actual terminals a rare and coveted tool -- the POD had an office with, you guessed it, a terminal -- a CRT to boot, so one would not have to keep trying to use the back of discarded printouts in the DECwriters. The attraction of POD duty was access to that terminal, in hopes it would be a slow day.)

A bunch of us thought that PODs should be issued distinctive uniforms as well: superhero-style costumes actually. Ostensibly this was to distinguish them as members of a rare breed: people who could debug programs quickly. In fact, the intent was to shield their identity lest the be pestered to provide help while off duty.

Comment The Real Point (Score 1) 582

You're all missing the real point. Airport security has nothing to do with actual security. It is the government's way of responding to criticism that they're doing nothing.

After past incidents (especially 911) criticism of the government was severe. Their reaction is to do something, anything. In fact the more inconvenient and the more in your face it is, the better the evidence that they're doing "everything possible."

When the next attacks occur, government can duck the blame by saying, "look how many dollars and how many man hours we threw at the problem. What more do you want?"

I just listened to Obama's statement this afternoon on the Christmas attack. What a bunch of bureaucratic double talk and utter crap. Don't believe me? Look at the transcript of his statement when it appears. Then imagine it being delivered by a mid level manager.

Comment Chrome + Karmic or PCLinuxOS (Score 1) 223

My experience with the latest version of Chrome on Ubuntu 9.10 & PCLinuxOS 2009 (.10?) has been an enjoyable one. I've had no problems with Flash and use an ad blocking extension & Firebug (which I like better than Firebug in Firebox). No need to beat the dead horse, but yes, it's sooo much more responsive than other browsers and the efficient use of screen real estate appeals to me as well.

Comment Re:MS's in-house/expo shorts consistently excellen (Score 1) 220

MS essentially completes the ad run and then shelves the campaign.

It's hard to say when a campaign is actually successful. They might be ads that people like but if they're not ads that get people to buy the product, then they're failures. Remember the Taco Bell Chihuaha? That was one of the most memorable campaigns in history, but Taco Bell was losing sales during the course of that campaign so it was pulled.

Chrome

A Mixed Review For Google Chrome On Linux 223

omlx contributes this link to LinuxCrunch's short review of Google Chrome on Linux, writing: "The summary of it is that although Google Chrome is in a beta stage, it is fast, stable, and has a simple, clean, and effective GUI design. On other side, Google Chrome has a small number of extensions, doesn't support RSS, lacks integration with KDE, and doesn't support complex scripts very well. Personally, I didn't succeed in using Flash Player on Google Chrome beta 1 (I am using OpenSUSE 11.2) and I wonder how the quality of Google Chrome OS will be, especially if it's based on Linux and Google Chrome."

Slashdot Top Deals

Those who can, do; those who can't, write. Those who can't write work for the Bell Labs Record.

Working...