[C-prog-lang-l] mountain art competition

Vladimír Kotal vlada at devnull.cz
Wed Mar 13 09:41:57 CET 2019


Nice one. It seems the repeated dash chars make for some nice mountain
passes.

As for the refactoring, I agree that doing it for its own sake might be
unnecessary however give it a try just to see how it works/feels. Maybe
even just for fun try to refactor ad nauseam.

Regards,

V. Kotal

Dne út 12. 3. 2019 23:30 uživatel Jan Vávra <Vavra.Jan93 at seznam.cz> napsal:

> Good evening,
> there is some nice mountain range of mine. I haven't used any functions at
> all - there wasn't any part of the code that would repeat and the structure
> of the code seemed readable to me. Maybe I could declare functions to
> generate number in {-1, 0, 1} or to print that mountain range, but it seems
> unnecessary to me.
> Jan Vávra
>
> ---------- Původní e-mail ----------
> Od: Vladimír Kotal <vlada at devnull.cz>
> Komu: c-prog-lang-l at mff.cuni.cz
> Datum: 12. 3. 2019 22:37:52
> Předmět: [C-prog-lang-l] mountain art competition
>
> Hi all,
>
> let's do a small "competition" based on today's warm up task to produce a
> ASCII art mountain. Please send nicely looking mountains (or mountain
> ranges) to this mailing list, optionally with an information of how many
> functions you refactored the program into.
>
> Regards,
>
> V. Kotal
> _______________________________________________
> c-prog-lang-l mailing list
> c-prog-lang-l at mff.cuni.cz
> http://mbox.ms.mff.cuni.cz/listserv/listinfo/c-prog-lang-l
>
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the c-prog-lang-l mailing list