Porgammer's mug
-
As a follow up to yesterday's discussion about zero based arrays, I would like to present how a programmer's mug should look like: https://pbs.twimg.com/media/CEQGiA8VAAQF7i_.png[^] I know, I'm an idiot to bring it up. It's just that had (some recent time ago) to waddle through thousands of lines of code and fix 1 based arrays.
-
As a follow up to yesterday's discussion about zero based arrays, I would like to present how a programmer's mug should look like: https://pbs.twimg.com/media/CEQGiA8VAAQF7i_.png[^] I know, I'm an idiot to bring it up. It's just that had (some recent time ago) to waddle through thousands of lines of code and fix 1 based arrays.
Nice!
Jeremy Falcon
-
As a follow up to yesterday's discussion about zero based arrays, I would like to present how a programmer's mug should look like: https://pbs.twimg.com/media/CEQGiA8VAAQF7i_.png[^] I know, I'm an idiot to bring it up. It's just that had (some recent time ago) to waddle through thousands of lines of code and fix 1 based arrays.
Quote:
Porgammer's mug
What's a porgammer? ;P
#SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
-
As a follow up to yesterday's discussion about zero based arrays, I would like to present how a programmer's mug should look like: https://pbs.twimg.com/media/CEQGiA8VAAQF7i_.png[^] I know, I'm an idiot to bring it up. It's just that had (some recent time ago) to waddle through thousands of lines of code and fix 1 based arrays.
WANT!
I wanna be a eunuchs developer! Pass me a bread knife!
-
Quote:
Porgammer's mug
What's a porgammer? ;P
#SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
A tpyo.
I wanna be a eunuchs developer! Pass me a bread knife!
-
A tpyo.
I wanna be a eunuchs developer! Pass me a bread knife!
Mark_Wallace wrote:
A tpyo.
This is actually an encryption scheme that is very difficult to crack, called Flip2To3. There's another similar one named ROT-13[^]. :laugh:
My book, Launch Your Android App, is available at Amazon.com.
-
A tpyo.
I wanna be a eunuchs developer! Pass me a bread knife!
:thumbsup:
Jeremy Falcon
-
As a follow up to yesterday's discussion about zero based arrays, I would like to present how a programmer's mug should look like: https://pbs.twimg.com/media/CEQGiA8VAAQF7i_.png[^] I know, I'm an idiot to bring it up. It's just that had (some recent time ago) to waddle through thousands of lines of code and fix 1 based arrays.
Of course, arrays are not zero based. When you access an array such as array[0] you are referring to the offset.
-
Quote:
Porgammer's mug
What's a porgammer? ;P
#SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
TheGreatAndPowerfulOzWhat's a porgammer?
A programmer that doesn't have any concept of financial management. Keep in mind, however, that he's using the archaic spelling which has been replaced by the more phonetically corrected form, "poorgrammer". Another acceptable, albeit longer, way to phrase it is, "broke-ass programmer".
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013 -
As a follow up to yesterday's discussion about zero based arrays, I would like to present how a programmer's mug should look like: https://pbs.twimg.com/media/CEQGiA8VAAQF7i_.png[^] I know, I'm an idiot to bring it up. It's just that had (some recent time ago) to waddle through thousands of lines of code and fix 1 based arrays.
Kamen Nik wrote:
waddle through thousands of lines of code and fix 1 based arrays.
Why did they need to be fixed? Was it a case of the application didn't work, or personal preference? How was a 1-based array preventing the application from working?
-
As a follow up to yesterday's discussion about zero based arrays, I would like to present how a programmer's mug should look like: https://pbs.twimg.com/media/CEQGiA8VAAQF7i_.png[^] I know, I'm an idiot to bring it up. It's just that had (some recent time ago) to waddle through thousands of lines of code and fix 1 based arrays.
Delphi uses 1 based arrays. Actually, depending on what the array is some are one based and others are zero based. Love my job.
-
TheGreatAndPowerfulOzWhat's a porgammer?
A programmer that doesn't have any concept of financial management. Keep in mind, however, that he's using the archaic spelling which has been replaced by the more phonetically corrected form, "poorgrammer". Another acceptable, albeit longer, way to phrase it is, "broke-ass programmer".
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013LMAO! :laugh: :thumbsup::thumbsup:
#SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
-
Delphi uses 1 based arrays. Actually, depending on what the array is some are one based and others are zero based. Love my job.
Isn't Delphi an offshoot of turbo pascal and doesn't pascal have the notion of n-based arrays, in other words one can state the starting & ending range of the array?
#SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
-
Isn't Delphi an offshoot of turbo pascal and doesn't pascal have the notion of n-based arrays, in other words one can state the starting & ending range of the array?
#SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
True for arrays you create, but certain structures in memory you get handed to you are one based and others are zero based. Strings can be accessed as arrays and are 1 based because the zeroth element contains the length of the string. But other memory arrays are zero based. I even used to have a print out of one of the help pages stating that the function used one base but actually used zero base.
-
True for arrays you create, but certain structures in memory you get handed to you are one based and others are zero based. Strings can be accessed as arrays and are 1 based because the zeroth element contains the length of the string. But other memory arrays are zero based. I even used to have a print out of one of the help pages stating that the function used one base but actually used zero base.
Gaaahhh! X| :omg: :wtf:
#SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun