Closed glennj closed 9 months ago
Currently implemented but deprecated
Do we want to remove and forego these?
That would leave as merely unimplemented:
Currently implemented but deprecated
- beer-song
- diffie-hellman
Do we want to remove and forego these?
Happy to remove them if they are deprecated. I don't think they need to be marked as foregone if they are deprecated, though.
I didn't think about them too hard but these may be viable:
You'll have to convince me about hangman. Its description talks about "functional reactive programming". I ignored that in Tcl and went with creating a TCP server to receive guesses. But I don't see ATM what approach to take to test a bash implementation.
I don't think they need to be marked as foregone if they are deprecated, though.
Otherwise they'll just show up as "not yet implemented". IMO foregoing is the maintainer's way of saying "we thought about it and decided not to".
You'll have to convince me about hangman. Its description talks about "functional reactive programming". I ignored that in Tcl and went with creating a TCP server to receive guesses. But I don't see ATM what approach to take to test a bash implementation.
I could be mistaken but I think most tracks ignore that bit and treat it as a regular functional assignment that stores state via a class or something.
From what I can tell with my GitHub search-fu: java, C#, F#, OCaml are FRP exercises; python and Powershell are simpler OO exercises; Tcl is an event-based exercise; no other tracks.
But I can now picture what we might want to do: launch the program with the word, and send guesses on stdin
bash hangman.sh puppy << GUESSES
p
a
r
t
y
o
n
w
a
y
n
e
GUESSES
would output something like
9 p P_PP_
8 a P_PP_
7 r P_PP_
6 t P_PP_
6 y P_PPY
5 o P_PPY
4 n P_PPY
3 w P_PPY
2 a P_PPY
1 n P_PPY
0 e P_PPY lose
We could also pass in info using $1 vs other args and/or exported env vars.
That would leave as merely unimplemented:
- bottle-song
- minesweeper
I forgot to mention
Not sure why we have -duo and -trio but not the original.
- hangman
I was about to respond the same about hangman. Seems like a fairly good fit, reminds me of early days learning to write programs late at night when I was supposed to be sleeping, for my younger sister learning to spell and read.
The foregone list in the track config.json is current unset.
Suggested list of bash exercises to forego