Talk:Dragon curve: Difference between revisions

no edit summary
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1:
==Obsessed??==
Some contributors are obsessed with:
* Very long historical and technical preludes;
* Multiple comments (almost on each line);
* Unnecessary multiple pound and other signs.
All this makes code "dirty", hard to read and maintain. I'm just curious: who will read such preludes, comments?<br>
An obvious sample is the first version of dragon curve in R. I thought that contributor is for sure obsessed with pounds...<br>
Or trying to camouflage original code.. Although original code has a lot of pounds too,
but RC contributor added even more! LOL See for yourself:
http://rstudio-pubs-static.s3.amazonaws.com/185483_0f31b11d2def43aea33658b5b7908cf3.html<br>
Team MEOW: Eric Lewis, Ricky Hardiyanto, Yanna Chen - CityTech. May 29, 2016<br>
BTW, it’s impossible to find who is the contributor of the first version of R.--[[User:AnatolV|AnatolV]]
: Probably not a great idea to make disparaging remarks about other peoples code. That being said, it's a public wiki. If there is code that is unidiomatic or messy, clean it up. Just be aware that some users are very protective of their contributions and coding styles.
: As far as who contributed the first R example, looks like it was [http://rosettacode.org/wiki/Special:Contributions/Werewolff519 Werewolff519]; see [http://rosettacode.org/mw/index.php?title=Dragon_curve&type=revision&diff=196234&oldid=195807 this revision] --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 12:58, 4 March 2017 (UTC)
::TYVM Thundergnat! Now I can see: he attached solution to Perl with no comments. I did the same when I started here. LOL But later I've found it is useful to leave a short comment. I was hoping the contributor is one of the authors of the cited article. But, in general, it doesn't matter for me.
::I will continue discussion on my Talk page. (not today, I have too many logins) [[User:AnatolV|AnatolV]] ([[User talk:AnatolV|talk]])
 
== Scrollable examples? ==
 
Line 6 ⟶ 23:
 
:I think he's referring to the presentation of the text mode example program itself. —[[User:Dkf|Donal Fellows]] 10:00, 17 September 2009 (UTC)
 
== javascript ==
 
version 2 is working!
but when I tried to upload an image got: "Could not read or write file"
 
== java ==
 
It works!
 
== Possible improvement to terminal output ==
 
A fun thought occured to me tonight (https://en.wikipedia.org/wiki/Box-drawing_character):
 
<pre>
harold@freeside:~$ cat << EOF
┌┐
┌┘╵
└┐
┌┼┐┌┐┌┐
└┘└┼┼┘└┐
┌┼┘ ╶┘
└┘
EOF
┌┐
┌┘╵
└┐
┌┼┐┌┐┌┐
└┘└┼┼┘└┐
┌┼┘ ╶┘
└┘
</pre>
 
Looks quite good in my terminal (gnome terminal):
 
[[File:2022-12-07 20-43.png]]
13

edits