The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
When we had a baby, we took over a used baby stroller with squeeking wheels that I should have oiled before we took it into use. It didn't happen until the little girl started making squeaking sounds, just like the sounds from the wheels. I don't remember whether that was before or after she learned to say "mommy" and "daddy", but when she started squeeking, I dug out the old oil can.
Old memories ... It sure was a good idea to write down such things when they happened. I really enjoy digging up my old daddy's notes from those days.
My default project is edited to include "Treat warnings as errors: All" and "Warning level: 4", as well as ticking "XML documentation file" - which gives a error if I forget the XML header for a public item.
If your code has warnings, there is probably something you haven't thought of ... particularly if you are a beginner.
Sent from my Amstrad PC 1640 Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
Well, I am not Mark, but I would prefer Delphi over .Crap any time of the day.
Though I am actually using FreePascal mostly these days, which is truly cross-platform compatible, in contrast to .NET which only pretends to be running on anything but Windows.
So I am enjoying the benefits of a sane programming language without descending into dependency hell...
And as far as compiler warnings go, I tried them always with utmost respect, as almost always, they are at least a precursor for larger problems looming. In the rare exception that I deliberately chose to ignore a warning, this piece of code will properly be mark with some comment as to why, if there is no reasonable workaround to solve offending code.
For some reason your reply was marked as spam, probably by some Delphi hater, and I could not reply, but luckily an admin reverted that.
Although I'm a .NET programmer I agree on the cross-platform thing, see: Slant pascal-based-languages-targeting-x86[^]
Just saw a new entry in the list: CodeTyphon, so Pascal definitely is not dead and buried !