Talk:Flashcards for Java keywords

Latest comment: 3 years ago by 83.6.245.47 in topic spoilers

Random Number Generator

edit

I replaced the {{#expr:({{#time:s}}/60*53 round 0)}} random number generator with {{#expr:({{#time:U}} mod 53) + 1}}. The original expression would generate 0 between 0 and 0.49 seconds each minute. There is no switch entry 0, causing the switch to fail. While this can be corrected by adding 0.5 to the original expression, using mod is a cleaner syntax and faster calculation. Dave Braunschweig (talk) 15:55, 27 November 2012 (UTC)Reply

spoilers

edit

Some definitions contain the keywords themselves. Perhaps rewording them to avoid such keywords (if the keyword in question is the answer) would make these flashcards more challenging? 83.6.245.47 (discuss) 21:12, 28 August 2021 (UTC)Reply

Return to "Flashcards for Java keywords" page.