Talk:Morse code: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Multiple roles: input-output)
Line 14: Line 14:
: 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. --[[User:Abu|Abu]] 09:46, 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. --[[User:Abu|Abu]] 09:46, 24 August 2010 (UTC)
:: 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)

Revision as of 13:51, 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)