
I did love Delphi. It was not niche, but it was vastly different from Pascal. I had to modify a lot of code to be 2k compliant in Pascal, and it was hard.
In Delphi, we mucked with pointers and I might accidentally have killed a company by writing an article. It was my first article ever, not even on CodeProject.
Delphi meant RAD on Win32. It was quick like VB6, but you could do more. Of course I loved it, still do. You can downplay it, but that doesn't mean we didn't deliver a real time product. And by real time I do mean real time, it responded in less than 24 frames (and you shared a few ms with other stuff). On a non real time OS.
Our world was between VB6 with its ease, and C with its power. You can ridicule it all you want
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics."  Some Bell.





Eddy Vluggen wrote: It was not niche,
Not the best word choice on my part.
I meant that it was not used very much. Not that it was limited.





I still have the book on Delphi 5 by Marco Cantu. Unfortunately did not go through it fully. Had to modify, enhance software tools related to a wind energy simulation software, which i believe is still in Delphi.
Same is the case with Jeff Prosise's MFC book. Which was also purchased around the same time, 2002/2003. Did not read it fully.
modified 14Feb24 22:10pm.





Quote: "Pascal became Turbo Pascal which became Borland Delphi" Ummm, not as I recall, Turbo Pascal was the Borland flavor of Pascal which only existed on PC's I had Pascal on the Amiga it was tight to the standard which Turbo took liberty's with you didn't have to have
Program Hello at the top or the horrible
Program Hello (INPUT/OUTPUT) for you Dos junkies as I recall it gave a new line with each { preventing K&R style. It also had Poke and Peek, I was there man,I saw things, horrible things





What is the smallest positive integer minus the largest negative integer?
"I have no idea what I did, but I'm taking full credit for it."  ThisOldTony
"Common sense is so rare these days, it should be classified as a super power"  Random Tshirt
AntiTwitter: @DalekDave is now a follower!





Infinity  if you're talking about real numbers.
The difficult we do right away...
...the impossible takes slightly longer.





Oh? Is 2 bigger than 1 now?
"I have no idea what I did, but I'm taking full credit for it."  ThisOldTony
"Common sense is so rare these days, it should be classified as a super power"  Random Tshirt
AntiTwitter: @DalekDave is now a follower!






For sure: if I have $2, I owe the bank more than if I had $1. $2 is a larger number, indicating a larger debt.

If you say that getting the money
is the most important thing
You will spend your life
completely wasting your time
You will be doing things
you don't like doing
In order to go on living
That is, to go on doing things
you don't like doing
Which is stupid.





Well, considering the largest negative integer tends to infinity…






Undefined, tending to infinity???





So which is bigger: 1 or 2?
"I have no idea what I did, but I'm taking full credit for it."  ThisOldTony
"Common sense is so rare these days, it should be classified as a super power"  Random Tshirt
AntiTwitter: @DalekDave is now a follower!





This was the first question that crossed my mind. According to the interweb, it's the size of the absolute value.
Maybe it really depends on what the numbers are representing. On a graph, (2,2) is a greater distance from the origin than (1,1).
I would rather reverse my car into a lamp post at 1mph than 20!
Of course, doing it the other way round could be a good way out of a speeding fine. If I state I was clocking my speed in a backwards direction then my forward speed would be negative and the further I went above the speed limit, the smaller my speed would be. "Take him down ..."







Arithmetic Overflow.





Smallest positive integer = 1
Largest negative integer = 1
Difference is 2.





That was my first shot as well, but the answers above cast a big doubt. I am too naive.





Dat's de bunny!
Surprising how many people think 2 is bigger than 1.
"I have no idea what I did, but I'm taking full credit for it."  ThisOldTony
"Common sense is so rare these days, it should be classified as a super power"  Random Tshirt
AntiTwitter: @DalekDave is now a follower!





Also what I got, mostly as I've had to solve this puzzle in multiple math classes, and was usually the only person to get it right (sadly).
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rearend expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???





I agree with you.
Here's what chatGPT 3.5 says:
ChatGPT: There isn't a smallest positive integer or largest negative integer in the mathematical sense, as integers extend infinitely in both positive and negative directions. The set of integers includes all whole numbers, both positive and negative, and extends infinitely in both directions.
If you're asking about the difference between the smallest positive integer (1) and the largest negative integer (which doesn't exist), it's not a welldefined mathematical operation. The concept of the "largest negative integer" doesn't have a meaningful value in standard arithmetic.
If you have a specific range or context in mind, please provide more details so I can assist you better.





Largest negative. I had not noticed that. Reading correctly is half the battle.
Well done
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics."  Some Bell.





This person is absolutely correct. In the field of mathematics, the largest negative integer is 1. Therefore 1  (1) would indeed be 2.





My brain went to 2s complement, and also considers largest negative int to be 128 for 8 bits, 32768 for 16 bits. As someone else said, my creditors consider think I owe them a larger amount if it's $32,768 instead of $1.
But then my brain fried.... I know it would over or underflow, but exactly how? Hmm.... I've spent so many years programming to avoid such overflows that I no longer remember. Does it depend on the compiler?
C# example:
Int16 a = 1;
Int16 b = 32768;
Int16 c = (Int16)(a  b);
C winds up being 32767, which means it wound up doing the 16 bit equivalent of (0001  1000) = 1001 in binary. The LSB being one makes sense to me. The MSB being one is not so obvious.



