Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

Renzo Ciafardone

@Renzo Ciafardone
About
Posts
12
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Why wouldn't you encrypt everything?
    R Renzo Ciafardone

    I see no conflict. If you encrypt, you do turn on a red flag for the spooks, and you will be investigated. But if you are regular guy they will discard you almost immediately. Plus you only call attention to yourself because few people encrypt these days, as soon as MOST people start doing it, it will no longer be a red flag. So start encrypting and problem 1 will be gone by itself.:thumbsup:

    The Lounge security css com business question

  • Which code you suggest?
    R Renzo Ciafardone

    :confused: Wait a sec. When did i suggest to use a GOTO? I was saying that a RETURN is always a more readable and efficient alternative to a superfluous flag varible.:confused: I too would use a flag if the alternative were a GOTO, there is no YMMV on this subject. For me GOTO is only acceptable in assembler. On any other language If an entanglement of If-elses requires a GOTO to get out, I would rewrite the damn thing because that shit is akin to blasphemy. :wtf:

    The Weird and The Wonderful com question

  • Which code you suggest?
    R Renzo Ciafardone

    The idea of adding an additional unnecessary variable for "control" is anathema to me. Think of it, you are wasting an assignation and then you are adding an extra comparison for each block that fails plus the one that's actually true. Put that into a function that repeat a few thousand times and you got yourself a waste of time well into the millisecond range if not more, and lot of extra work for the GC. I am not against flags, God knows i used them a lot, they are a valid control, but not in this case where you are using it as a sort of eufenism for a return

    The Weird and The Wonderful com question

  • Which code you suggest?
    R Renzo Ciafardone

    No, is not. This "one return only" style you talk about always produces uglier code, and is usually slower. This is clearly a personal style preference of yours and you are entitled to it, but if you think there is a general rule that recommends only one return then you should know you are wrong.

    The Weird and The Wonderful com question

  • Is Programming a creative Job?
    R Renzo Ciafardone

    Funny enough it sounds like it could have come from a Scott Adams´s Dilbert strip too. Are all this Adams folks related? ;P

    The Lounge question career

  • Make sure this value is returned...
    R Renzo Ciafardone

    My guess is that this was "skeleton" code that the coder copy pasted but forgot to fill.

    The Weird and The Wonderful linux

  • The circle of total corporate awesomeness
    R Renzo Ciafardone

    Maybe you mean >>GROUND<< your nads?

    The Lounge css game-dev help

  • Gotoless programming
    R Renzo Ciafardone

    I think his point was that in the end, everything ends translated to gotos by the compiler.

    The Weird and The Wonderful

  • RIP Dennis Ritchie
    R Renzo Ciafardone

    Indeed. His legacy to the tech world and the WORLD in general are without doubt greater than anything Jobs did tenfold at minimun.

    whatIWillDoThisWholeWeek(String NewsMediaName)
    {
    while(ritchie>jobs*10)
    {
    if(!mediaKnowsJack(NewsMediaName))
    {
    stopBeingSinic();
    startBeingShock();
    praiseMedia(NewsMediaName);
    }
    else
    {
    showHowStupidMediaIs(NewsMediaName);
    keepBitching();
    }

    }

    This loop will run forever, because Ritchie will always be greater than Jobs by ten fold... RIP Mr. Ritchie

    The Lounge csharp c++ com question

  • Why is VB being forsaken?
    R Renzo Ciafardone

    Well i wrote my very first "real "program in BASIC, since it was/is an interpretative language there was no need to compile it, or do anything else other that run it once you had the code ready. It was a program that told you the type of triangle based on it size length or angles by the way. I even remember i did it on a 8086 with a monochromatic amber screen, 5 1/4 floppy, NO HARD DISK whatsoever, sadly i don't remember the DOS version. So I know basic is really "beginner friendly", but not much later i learned pascal, i immediately though that BASIC "style" was too verbose, THEN i learned C, oh boy that was a beauty to write on, the first couple of weeks i spent more time REWRITING code that worked just to try to make it more compact, 10 lines of atomic instructions cramped on a single crazy statement, for the heck of it. This was early 90's, i was on my teens and everything i did was for my own use, so "readability" was an alien concept to me... I do think of C style not as something superior per se, but that is just right, and most programmers i know feel the same. Problem is there are lots of smugs that will tell you that "other" languages suck, but thats being just stupid. I would like to VB to die, but just because i have this personal philosophy about life, if 2 thinks do exactly the same, there is no reason for both to exist, is a survival of the fittest thing. VB does not do anything better or worse than many other languages, so i don't see a reason for it to continue existing. But it is not ME who will decide that, it will be the environment...

    The Lounge csharp learning c++ dotnet

  • Why is VB being forsaken?
    R Renzo Ciafardone

    Exactly how can SQL be compared to any programming language? Since, you know.. it is not a programming language. ANSI/ISO SQL is not Turing complete. Now if you are speaking about some "real" programming language that is an expansion of SQL that is another subject. But SQL on its own is not a programming language, it is a language... just not a programming one :D.

    The Lounge csharp learning c++ dotnet

  • The Anti-If Campaign
    R Renzo Ciafardone

    Well... PETA would probably kill the parrots and store them in a walk in freazer. It is the most humane thing to do...

    The Lounge csharp c++ com announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups