Talk:Create an HTML table: Difference between revisions

From Rosetta Code
Content added Content deleted
(Delete the Ruby example?)
(It's right as of now, but not then)
Line 7: Line 7:


::: If the task is to [http://rosettacode.org/mw/index.php?title=Create_an_HTML_table&oldid=103045 "display a table"], then my [[Ruby]] code is wrong, because it only outputs the HTML for a table, and never displays the table. Perhaps we should delete the Ruby example, and the other examples that never display a table? --[[User:Kernigh|Kernigh]] 02:18, 11 March 2011 (UTC)
::: If the task is to [http://rosettacode.org/mw/index.php?title=Create_an_HTML_table&oldid=103045 "display a table"], then my [[Ruby]] code is wrong, because it only outputs the HTML for a table, and never displays the table. Perhaps we should delete the Ruby example, and the other examples that never display a table? --[[User:Kernigh|Kernigh]] 02:18, 11 March 2011 (UTC)
::::The task ''was'' to display a table. It ''is'' to create the HTML for a table. The Ruby code is right now. --[[User:Mwn3d|Mwn3d]] 02:58, 11 March 2011 (UTC)

Revision as of 02:58, 11 March 2011

Shouldn't the language be just Javascript? OK, there is CSV to HTML translation but this could be a smaller HTML producing task. --Paddy3118 07:40, 9 March 2011 (UTC)

I assumed this was a task to display a table, not specifically in HTML. I think that was more interesting than specifically writing HTML, and we already have *ML-generation tasks. I request that you undo your move and change to the description, since the HTML notion seems to have come solely from my example. —Kevin Reid 21:48, 10 March 2011 (UTC)

Ouch. I see what you mean. I've asked the original author to clarify. --Paddy3118 22:13, 10 March 2011 (UTC)
I'm not the original author. It was originally made by an anonymous user. The only text back then was "how to add a column and row in nested loop". The original intent didn't seem to have anything to do with HTML. We don't seem to have any other HTML generation tasks (or at least they're not in Category:HTML), so it might be good to have both. If we do have both, though, I think we can do some more nifty stuff with the HTML version. This simple table would be interesting enough for a plain text task. --Mwn3d 22:19, 10 March 2011 (UTC)
If the task is to "display a table", then my Ruby code is wrong, because it only outputs the HTML for a table, and never displays the table. Perhaps we should delete the Ruby example, and the other examples that never display a table? --Kernigh 02:18, 11 March 2011 (UTC)
The task was to display a table. It is to create the HTML for a table. The Ruby code is right now. --Mwn3d 02:58, 11 March 2011 (UTC)