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
D

Delphi4ever

@Delphi4ever
About
Posts
22
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • What will you do when .... ?
    D Delphi4ever

    Mycroft Holmes wrote:

    Does your company have a one size (minimalist) fits all hardware policy? Yes What is the standard configuration of your dev machines? Win XP, 2.66Ghz, 1GB ram, 100GB HD How many monitors do you allow your devs? One, 17" Do your devs have local admin rights? Yes Do you block EVERY blog/forum site on the interweb? No, only some Do you have an open plan (bench) style office layout? Yes, but jumbled

    Also we develop in Visual C++ 6.00. Yes, you read that right.

    The Lounge tools question announcement

  • Bug of the day
    D Delphi4ever

    if(SomeThing == SomeOtherThing); { DoSomeThing; } This one has been sitting in the codebase for a couple of years... :(( At least it did SomeThing...

    The Weird and The Wonderful help

  • Redundant Coding: The new paradigm!
    D Delphi4ever

    Today my esteemed coworker invented a brand new programming paradigm: Redundant Coding (tm). This buggy old legacy code we are working with has a least three almost identical and insanely complicated instances of a special form of coordinate transformation. We want to simplify, but which one to keep? My coworker suggested that we compare the results of the three code blocks too see which one, if any, would give diviant results. This immideately lead to the idea of letting the three instances "vote" on the right result. And BAM the Redundant Coding programming paradigm was born. Just as a jumbo jet has three of everything just in case, our code has three almost identical code blocks, just in case one of them is buggy! If one code block produces deviant results, the other two will take over! I am, of course, kidding. We will clean this mess up eventually.

    The Weird and The Wonderful question learning

  • Anyone still on Win XP SP2...?
    D Delphi4ever

    Win Xp to the bitter end!

    The Lounge com security question announcement

  • How to write unmaintainable code and keep your job for life
    D Delphi4ever

    It can be done much simpler: Just don't document anything ever. Claim it is a waste of time. When the junior programmers come to ask about something, rant endlessly about the CPU flags or just say that you are buisy. "The documentation is the code". X| Yes, I am bitter!

    The Lounge csharp c++ php tutorial announcement

  • Programming's Foul Language
    D Delphi4ever

    Spagetti code. "Budding" code. "Moulded" code (large sections commented out). Quick fix X|

    The Lounge tutorial question

  • Help with a Description.
    D Delphi4ever

    Amen, brother!

    The Lounge com design agentic-ai help

  • Quantum Mechanics
    D Delphi4ever

    That was a very good article, I recommend it. I zoned out on the math, but it seems to explain the double slit experiment quite nicely without all the usual philisophical nonsense.

    The Lounge game-dev question discussion

  • Quantum Mechanics
    D Delphi4ever

    Maxxx_ wrote:

    My understanding is that yes, that's exactly what it means - in the 'slit' experiment with a single photon going through the slit, its state does not exist until it is measured.

    It's state must surely exist all the time. How else can it interact with everything else in a meaningful manner? Regardless of whether anyone is looking or not... This thing about canging models (wave or particle) and behavior depending on who (if any) is looking is just pure nonsence to me.

    The Lounge game-dev question discussion

  • Quantum Mechanics
    D Delphi4ever

    I'm with your friend here, everything is predetermined. "Random" and "probability" is just mathematical methods used when you are unable to calculate the outcome due to lack of understanding or lack of data.

    The Lounge game-dev question discussion

  • Handyman in the house?
    D Delphi4ever

    Go for the glue, but a strong kind. You can rough up the metal surface with sandpaper.

    The Lounge hardware help question

  • How can I persuade the boss to do things differently? (VERY LONG WHINGE)
    D Delphi4ever

    Quit and start your own company, free of idiot bosses.

    The Lounge question winforms design business collaboration

  • Smart programmers
    D Delphi4ever

    I feel your pain...Espesially about the not documentaion. Not a single page. 1000s of source files, but no documents. Not. Even. One.

    The Lounge c++ ruby com architecture

  • Help settle a silly office argument
    D Delphi4ever

    YES

    The Back Room com help question

  • UNUSED functions
    D Delphi4ever

    I'm sure it's "common practice", but why have unused parameters in the first place? It's aint right, I tells ya! :confused:

    The Weird and The Wonderful help tutorial question

  • UNUSED functions
    D Delphi4ever

    Not very horrific, but I think it is kind of cute: #define UNUSED1(a) a=a #define UNUSED2(a,b) a=a,b=b #define UNUSED3(a,b,c) a=a,b=b,c=c #define UNUSED4(a,b,c,d) a=a,b=b,c=c,d=d What use could these UNUSED functions possibly have? Well, I had to ask one of the other programmers. If you have unused parameters in a functions parameter list, a warning occurs "unused parameters in the parameter list" or something like that. How to get rid of those pesky unused parameters? Call the UNUSED function with those unused parameters. The UNUSED function will use the unused parameters, making them used parameters instead. Now no warning for unused parameters will occur! Problem solved! :-D

    The Weird and The Wonderful help tutorial question

  • How many five year olds...
    D Delphi4ever

    28! W00t!

    The Back Room com question

  • Charge for time spent learning or not?
    D Delphi4ever

    Charge. Always charge. Pull as much money out of that sucker as you can. There is no such thing as a fair price. There is only how much money the costumers is willing to pay. Just make sure the terms (price, time to be spent) is clear from the start. Then the costumer can accept or reject. So to answer your question: Charge if you think you can get away with it.

    Work Issues com agentic-ai sales tutorial question

  • goto statement [moved]
    D Delphi4ever

    In the first programming course I had, the textbook described GOTO as "evil"! EEEEeeeEEEviiiil! :mad: If you used GOTO, GOSUB or global variables, you flunked. That was made clear from the beginning. If you used the three "G"'s, you had not understod functions and you failed the course. I have never used the three "G" ever since. I think it makes the code hard to read. I so hate spagetti code. A function has some input and generate some output. Very simple. No globals comming down from heaven above. Put them in the function parameters. If there are many parameters, just organize them in a struct. If there are lots of data (like a picture) make a pointer and call-by-reference. The only exeption is const Pi=3.14. That may be global, but only in the math module.

    The Lounge question discussion

  • What is the weirdest item you have in your box of spare parts?
    D Delphi4ever

    We got a 8" floppy drive lying around in a dank room at the back of the building. It's a double dekker, one drive on top of another. No disks though, only drives.

    The Lounge question
  • Login

  • Don't have an account? Register

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