|
On Sun, 28 Dec 2003, James H. H. Lampert wrote: > Moving more tightly on-topic: > > To test a candidate's RPG knowledge, I would write a short RPG program > that had neither a primary file, nor an explicit SETON LR statement, nor > an explicit return, and then ask the candidate to: [snip] > and 3. Modify the program so that it would loop endlessly, without a > compiler error, and without using any explicit DO, DOWHILE, or DOUNTIL > construct (answer: add a return statement or a SETON LR statement that > can never actually be executed; that would satisfy the compiler, while > leaving the endless Cycle loop intact). > > An exercise like this would weed out the people who took purely academic > RPG classes that never even mentioned the ability of an RPG program to > take a free ride on the Cycle (even without a primary file). I think this example would help you find people who write hard to debug code and eliminate those that follow best practices. The best hires aren't necessarily the tricksters but rather those who write easy to follow, correct code and get along with others. Quite honestly, I think an English (or other human language) exam is a better test of thinking skills than a programming exam. James Rich "As for security, being lectured by Microsoft is like receiving wise words on the subject of compassion from Stalin." -- mormop on lwn.net
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.