Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #37090

Re: A small challenge at beginner's level

From Sebastian <nowhere@nirvana.org>
Newsgroups comp.lang.java.programmer
Subject Re: A small challenge at beginner's level
Date 2017-08-08 22:59 +0200
Organization albasani.net
Message-ID <omd8oa$6bb$1@news.albasani.net> (permalink)
References <exercise-20170803112636@ram.dialup.fu-berlin.de> <slrnoo6aad.o2q.avl@logic.at> <199fd5af-e4a2-4451-97bf-0e19ad9fc2d9@googlegroups.com>

Show all headers | View raw


Am 08.08.2017 um 17:01 schrieb Eric Douglas:
> On Thursday, August 3, 2017 at 9:47:12 AM UTC-4, Andreas Leitgeb wrote:
>> String.format("you have%5.5s.",String.format("%"+(1+4*Math.round(Math.random()))+".1s"," lost")+"won")
>>
>> certainly newbie level ;-)
>
> Stefan's posts don't show up in Google Groups, so I'd like to see the original full question.
> The first simple beginner's challenge should of course be the FizzBuzz test.

You can get into deep waters with FizzBuzz. You could even teach an 
entire undergraduate course about programming principles with it. See 
for example
http://www.tomdalling.com/blog/software-design/fizzbuzz-in-too-much-detail/

-- Sebastian


Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: A small challenge at beginner's level Andreas Leitgeb <avl@logic.at> - 2017-08-03 13:42 +0000
  Re: A small challenge at beginner's level Andreas Leitgeb <avl@logic.at> - 2017-08-03 14:02 +0000
  Re: A small challenge at beginner's level Martin Gregorie <martin@address-in-sig.invalid> - 2017-08-03 22:47 +0000
  Re: A small challenge at beginner's level Eric Douglas <e.d.programmer@gmail.com> - 2017-08-08 08:01 -0700
    Re: A small challenge at beginner's level Sebastian <nowhere@nirvana.org> - 2017-08-08 22:59 +0200
      Re: A small challenge at beginner's level Eric Douglas <e.d.programmer@gmail.com> - 2017-08-09 05:16 -0700
    Re: A small challenge at beginner's level Arne Vajhøj <arne@vajhoej.dk> - 2017-08-08 21:00 -0400

csiph-web