Talk:Morse code: Difference between revisions
Content added Content deleted
(→Multiple roles: Simplifies to an encoding map.) |
|||
Line 15: | Line 15: | ||
:: String ''in''put? --[[User:Paddy3118|Paddy3118]] 13:39, 24 August 2010 (UTC) |
:: String ''in''put? --[[User:Paddy3118|Paddy3118]] 13:39, 24 August 2010 (UTC) |
||
::: No, I meant indeed ''out''put, in the sense of "output a given string in Morse code". Anyway, the task itself says "Send a string ..." :) --[[User:Abu|Abu]] 13:51, 24 August 2010 (UTC) |
::: No, I meant indeed ''out''put, in the sense of "output a given string in Morse code". Anyway, the task itself says "Send a string ..." :) --[[User:Abu|Abu]] 13:51, 24 August 2010 (UTC) |
||
:::: Interesting. Now it simplifies to an encoding map. --[[User:Short Circuit|Michael Mol]] 14:18, 24 August 2010 (UTC) |
Revision as of 14:18, 24 August 2010
Dependence on the PC speaker
Some computers (including mine) don't have a configured/enabled PC speaker. Consider specifically allowing any sound output device instead. --Michael Mol 07:48, 24 August 2010 (UTC)
Multiple roles
This task covers at least three things:
- File I/O
- Encoding (characters to Morse)
- Notably limited to Latin characters.
- Sound output.
At the very least, I think these separate components should be specced in the task description as being modular components, so that there is a readable boundary in code between roles. There are some other examples of such elsewhere on the wiki. --Michael Mol 07:55, 24 August 2010 (UTC)
- So let's simplify it to a direct string output. This omits the issue of File I/O, and the Python solution did that anyway. --Abu 09:46, 24 August 2010 (UTC)
- String input? --Paddy3118 13:39, 24 August 2010 (UTC)
- No, I meant indeed output, in the sense of "output a given string in Morse code". Anyway, the task itself says "Send a string ..." :) --Abu 13:51, 24 August 2010 (UTC)
- Interesting. Now it simplifies to an encoding map. --Michael Mol 14:18, 24 August 2010 (UTC)
- No, I meant indeed output, in the sense of "output a given string in Morse code". Anyway, the task itself says "Send a string ..." :) --Abu 13:51, 24 August 2010 (UTC)
- String input? --Paddy3118 13:39, 24 August 2010 (UTC)