Slashdot Mirror


User: fractalVisionz

fractalVisionz's activity in the archive.

Stories
0
Comments
108
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 108

  1. Re:Space Usage on Best and Worst Coding Standards? · · Score: 1

    You haven't got rid of the complex structure, you have only obscured it. Not only that, but the break obfuscates the loop post condition.

    I have not missed the point. I gave an overly simple example because I hate typing code into comments. My point was that most of the time it is better to break up an if/else if/else statement if the main (and large) part of the code is only in the else, and the rest is in a one or two liner in the if/else if. This way, most of the main code isn't so far indented and thus easier to trace and maintain.

  2. Re:Space Usage on Best and Worst Coding Standards? · · Score: 1

    This is actually one of the smartest things ever said. I, for one, see this all the time in the code at my company; nested switch statements (of which a single case is 1000+ lines, and the total lines in the switch is 3000, yikes!) and endless if statements (some as deep as 10 levels). What this does is produce a deeper cyclic count of the code, making it very hard to read, understand, and maintain.

    A great way to work on this is to remove the else, or even the if clause. For example, change (to remove the if clause, just think of the first if saying if (x != NULL) { and without the break; statement):
    while (some condition) {
            if (x == NULL) {
                  Do something...
                  break;
            } else {
                  Do something else...
            }
    }

    Could easily become:
    while (some condition) {
            if (x == NULL) {
                  Do Something...
                  break;
            }

            Do something else...
    }

    Though this example is really simple, if you have many control statements in the "Do something else..." part, you can really see where this would help.

  3. Re:Still could be innocent on Hans Reiser Leads Police To Nina's Body · · Score: 1

    This isn't the movies.

  4. Parent modded insightful? on Google To Develop ISP Throttling Detector · · Score: 1, Offtopic

    Whomever modded the parent as insightful needs to learn to read the entire comment and the subject. This is pitiful. I just hope meta moderation works.

  5. Re:China can't read slashdot on Post-Quake, China Cuts Access to Entertainment Web Sites · · Score: 1

    Can no one detect sarcasm anymore? I myself read it from Beijing and posted this.

  6. China can't read slashdot on Post-Quake, China Cuts Access to Entertainment Web Sites · · Score: 2, Insightful

    Can anyone with Web access in China confirm this report?
    No they can't, since this is an entertainment website.
  7. Run for your lives! on Meteorites May Have Delivered Seeds of Life On Earth · · Score: 1

    It's the "Invasion of the left handed amino acids" - Ahhhhhhhhhhh

  8. Re:Chinese copies? on Olympic Web Site Features Pirated Content · · Score: 0, Redundant

    Has anyone though that maybe they got permission to make the copy? I would suspect that there would be permission and not just a blatant copy. Maybe I'm putting to much faith in them, but hey, no one has mentioned it yet.

  9. Re:Take Two ~~ Yahoo? on Electronic Arts Offers $2B For Take Two · · Score: 1

    In other news, Microsoft offers Take Two 3 billion, and EA offers to buy Yahoo for 40 billion.

  10. Cleveland Clinic on Google to Begin Storing Patients' Health Records · · Score: 5, Insightful

    assistance of clinic in Cleveland
    It's Cleveland Clinic, and it's pretty much in every major city. So there are more people affected then just in Cleveland.
  11. Re:Hydrogen? Carbon? on Hydrogen-Powered cars with Zero-Carbon-Emission? · · Score: 1

    Bad summary, it was written by our all time favorite... Roland Piquepaille!

  12. Re:What's the best licence? on Best Open Source License For Hardware? · · Score: 1

    I disagree, it's puse mixed with perrywinkle and hot fuschia . Though I disagree with you, I will defend your right to say it.

  13. Re:So what? on Creative Capitalism Gets Microsoft $528M Tax Break · · Score: 1

    If Nevada can manage without corporation tax, I see no reason why Washington can't.
    Since Nevada doesn't have a corporation tax, the other tax schemes it does have are most likely different, and higher, then Washington's. Therefore this argument holds no water as you are really comparing apples to oranges. Also, Washington doesn't have an income tax, whereas Nevada does have income tax.
  14. nyud.net cacge link on 2007 Darwin Award Winners · · Score: 1
  15. Next generation on REEM-B, New Humanoid Robot Announced · · Score: 1

    I can't wait for the next generation... REEM-R.

  16. Honeypot on Microsoft Giving Away Vista Ultimate, With a Catch · · Score: 5, Funny

    I should set up a honeypot with their products. Hopefully when they are watching, they will get a virus or infected by a bot net.

  17. Re:will never work on Electric Cars to Help Utilities Load Balance Grid · · Score: 4, Insightful

    It will never work not because of the fact that the energy conversion isn't this or that, it will never work because nobody would ever want their car half full, or less, right as they are about to head out on a long trip. Long trip by todays electric standards is about 150-200 miles also.

  18. From Vorbis.com on Nokia Claims Ogg Format is "Proprietary" · · Score: 4, Insightful

    From vorbis.com:
    "Ogg Vorbis is a completely open, patent-free, professional audio encoding and streaming technology with all the benefits of Open Source."

    I lost any respect for Nokia.

  19. Re:Huh? on GOOG-411's "Biddy-Biddy-Boop" Sound Backstory · · Score: 1

    Try chow baby on howell mill.

  20. Ouch... on Citizendium After One Year · · Score: 1

    I thought it said "Circumcision after one year!"

  21. Pictures of the new CPP-GMR head on Hitachi Promises 4-TB Hard Drives By 2011 · · Score: 1
  22. Amazing Video on Rocket-Powered Bionic Arm Successfully Tested · · Score: 5, Informative

    Check out the video on vandy's website. I love the last few seconds where the robotic are is about to cap someone!

  23. Re:Ozone production FTW on New Chip-cooling Technology · · Score: 1

    Actually Ozone is a pollutant: (from Wikipedia)

    "Ground-level ozone is an air pollutant with harmful effects on the respiratory systems of animals. Ozone in the upper atmosphere filters potentially damaging ultraviolet light from reaching the Earth's surface." -- Ozone

    So in reality, these tiny ionic breezes produce Ozone which stays at ground level, harming humans and animals. Thus, this is not exactly the best thing. Now if we could only find a way to take all the produced ground level O3 (Ozone) and put it in the upper atmosphere.

  24. Re:The DOE bit on Award of $200M Supercomputer To IBM Proving Controversial · · Score: 1

    Oak Ridge is not just DOE, it is a research center for many universities, including Georgia Tech and University of Tennessee to name a few. I for one have run computational genetics code on the supercomputer cluster at Oak Ridge as a Tech student, which was funded by a NSF grant. Therefore, NSF at Oak Ridge labs is nothing new or something to be surprised about.

  25. Re:A better idea on "Crowd Farm" to Collect Energy? · · Score: 1

    The MIT MediaLab floor is covered with these tiles, and has been for about 6 years now (last I visited). I'm glad to see that this technology is finally being put to commercial use.