Click here to Skip to main content
15,889,315 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

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.

 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
RickZeeland13-Feb-21 5:48
mveRickZeeland13-Feb-21 5:48 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
PIEBALDconsult13-Feb-21 6:08
mvePIEBALDconsult13-Feb-21 6:08 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
RickZeeland13-Feb-21 6:28
mveRickZeeland13-Feb-21 6:28 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
Daniel Pfeffer13-Feb-21 6:15
professionalDaniel Pfeffer13-Feb-21 6:15 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
Eddy Vluggen13-Feb-21 6:26
professionalEddy Vluggen13-Feb-21 6:26 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
PIEBALDconsult13-Feb-21 6:33
mvePIEBALDconsult13-Feb-21 6:33 
QuestionRe: The Zeroeth Rule of the Programmers Club Pin
Eddy Vluggen13-Feb-21 6:35
professionalEddy Vluggen13-Feb-21 6:35 
AnswerRe: The Zeroeth Rule of the Programmers Club Pin
PIEBALDconsult13-Feb-21 6:36
mvePIEBALDconsult13-Feb-21 6:36 
I used to, when I first learned BASIC, but not since learning Pascal.

In BASIC, lists (arrays) have always begun at subscript (index) zero, but so many teachers and authors didn't understand that and taught at least three generations of programmers wrong.
https://www.codeproject.com/Uploads/Membership/Uploads/2587207/BASICarray.png[^]
Anyone who still believes that array indices in BASIC begin at one have no excuse for continuing to propagate that fallacy.


A bit of VAX BASIC by way of demonstration:

BASIC
10 DIM A(4)
20 FOR I = 0 TO 4
21   A ( I ) = I * I
22   NEXT I
30 FOR J = 0 TO 4
31   PRINT A ( J )
32   NEXT J
40 END

Ready

runnh

 0
 1
 4
 9
 16
Ready


modified 13-Feb-21 13:40pm.

GeneralRe: The Zeroeth Rule of the Programmers Club Pin
Eddy Vluggen13-Feb-21 6:39
professionalEddy Vluggen13-Feb-21 6:39 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
PIEBALDconsult13-Feb-21 6:42
mvePIEBALDconsult13-Feb-21 6:42 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
Eddy Vluggen13-Feb-21 6:56
professionalEddy Vluggen13-Feb-21 6:56 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
Eddy Vluggen13-Feb-21 8:18
professionalEddy Vluggen13-Feb-21 8:18 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
PIEBALDconsult13-Feb-21 8:20
mvePIEBALDconsult13-Feb-21 8:20 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
Eddy Vluggen13-Feb-21 8:41
professionalEddy Vluggen13-Feb-21 8:41 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
Gerry Schmitz13-Feb-21 9:08
mveGerry Schmitz13-Feb-21 9:08 
AnswerRe: The Zeroeth Rule of the Programmers Club Pin
PhilipOakley15-Feb-21 0:39
professionalPhilipOakley15-Feb-21 0:39 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
David Crow13-Feb-21 8:46
David Crow13-Feb-21 8:46 
QuestionRe: The Zeroeth Rule of the Programmers Club Pin
Eddy Vluggen13-Feb-21 8:55
professionalEddy Vluggen13-Feb-21 8:55 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
Dan Sutton15-Feb-21 6:11
Dan Sutton15-Feb-21 6:11 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
Eddy Vluggen15-Feb-21 6:35
professionalEddy Vluggen15-Feb-21 6:35 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
Mircea Neacsu13-Feb-21 6:33
Mircea Neacsu13-Feb-21 6:33 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
DRHuff13-Feb-21 6:56
DRHuff13-Feb-21 6:56 
PraiseRe: The Zeroeth Rule of the Programmers Club Pin
Eddy Vluggen14-Feb-21 3:03
professionalEddy Vluggen14-Feb-21 3:03 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
User 1502577513-Feb-21 7:49
User 1502577513-Feb-21 7:49 
GeneralRe: The Zeroeth Rule of the Programmers Club Pin
Marc Clifton13-Feb-21 11:13
mvaMarc Clifton13-Feb-21 11:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.