Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment: Re:No Kidding (Score 1) 131

by R3d M3rcury (#48928497) Attached to: Anonymous No More: Your Coding Style Can Give You Away

Actually, the one I hate is:

if ($variable == false) {
      doSomethingInteresting($variable);
}

and one of my co-workers does:

if ($variable == false)
      {
      doSomethingInteresting($variable);
      }

Of course, my code is beautiful and everyone else's is terse and ugly and everyone should write code the same way that I do. Try suggesting that to a group of programmers and see how far it gets you. Generally, it's not worth the argument--you will waste tons of everyone's time trying to come up with an agreement.

As the thread suggests, one advantage to different coding styles is that you can generally tell who wrote what and, if there seems to be a bug, you can track them down and tell them to fix it in that ugly mess. In our office, we have the rule that if you go around changing code style, you now own that code and are responsible for it. About the only issue we've run into is that people's styles evolve over time. So the guy right out of school may have a certain style that changes as he is exposed to more styles.

My favorite story was when someone was trying to push variable naming standards. If it was a C string, the variable name should begin with "sz" (for string, zero terminated). I suggested that instead of doing that, maybe we should just put a dollar-sign at the end. Laughter ensued and that ended that.

Comment: Re:Other than the obligatory security theatre... (Score 3, Insightful) 110

by R3d M3rcury (#48896237) Attached to: Bomb Threats Via Twitter Partly Shut Down Atlanta's Hartsfield Airport

Depends on the situation.

F-16: "Flight 17, you are off course. Come to heading 271."
Jet: "Oops. Sorry. A little stressed up here."

On the other hand...

F-16: "Flight 17, you are off course. Come to heading 271."
Jet: "Kiss my ass, yankee imperialist swine! We're blowin' up Tallahassee!"

will probably get you shot down.

Comment: Re:Other than the obligatory security theatre... (Score 2) 110

by R3d M3rcury (#48895509) Attached to: Bomb Threats Via Twitter Partly Shut Down Atlanta's Hartsfield Airport

... just what would the fighter escort hope to accomplish?

About the only thing I can think of would be to escort the plane along it's new route.

I assume that the plane was rerouted on a pretty much direct route from where they were to Atlanta. They'd want to make sure that the airplane stayed over relatively unpopulated areas in the event of an explosion.

Comment: Re:Less creepiness (Score 1) 324

by R3d M3rcury (#48870709) Attached to: What Will Google Glass 2.0 Need To Actually Succeed?

A bar wouldn't survive very long if they made a habit of posting embarrassing moments from their surveillance tapes on the web.

You must not watch much YouTube. There are tons of "funny" surveillance camera video from different places. Hell, you can even make money selling them to TV shows.

Comment: Re:I do the opposite (Score 1) 110

by R3d M3rcury (#48836407) Attached to: To Avoid Detection, Terrorists Made Messages Seem Like Spam

Kh-11 SSL FBI cypherpunk Attorney General HAMASMOIS Roswell Power Syria Food Poisoning cryptanalysis North Korea Verisign halcon Nuclear facility

Foreign debts, homeless Vets, AIDS, Crack, Bernie Goetz, Hypodermics on the shores, China's under martial law, Rock and Roller Cola wars, I can't take it anymore.

When bad men combine, the good must associate; else they will fall one by one, an unpitied sacrifice in a contemptible struggle. - Edmund Burke

Working...