Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Good code to read

98 views
Skip to first unread message

Cecil Westerhof

unread,
Apr 27, 2018, 4:44:04 AM4/27/18
to
To learn a new language it is good to write software with it. But it
is also good to read well written code. What is good code to read to
learn tcl?

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Rich

unread,
Apr 27, 2018, 10:20:46 AM4/27/18
to
Cecil Westerhof <Ce...@decebal.nl> wrote:
> To learn a new language it is good to write software with it. But it
> is also good to read well written code. What is good code to read to
> learn tcl?

The wiki contains many examples of very good code to read.

Unfortunately, it also contains many examples of not-so-good code to
read.

And, there's no indicator on any individual page that says: "good code
here".

ifind...@gmail.com

unread,
Apr 27, 2018, 1:15:47 PM4/27/18
to
If you want a good intro to TCL in 11 pages or so, with examples, grab the Tclfltk pdf form the Sourceforge site of the Tclfltk project. That document has been used in a college course on Tcl programming.

Harald Oehlmann

unread,
May 2, 2018, 5:29:50 AM5/2/18
to
Am 27.04.2018 um 10:38 schrieb Cecil Westerhof:
> To learn a new language it is good to write software with it. But it
> is also good to read well written code. What is good code to read to
> learn tcl?
>

There is a source code formatting guide, I suppose on the wiki.
Someone has the pointer.

The points I have in my brain:
- Indent: 4
- Line Continuation: 2 Indents

...

Harald

Francois

unread,
May 2, 2018, 5:39:28 AM5/2/18
to
Harald Oehlmann <wort...@yahoo.de> Wrote in message:
> There is a source code formatting guide, I suppose on the wiki.

First of all there is the official Tcl/Tk engineering manual:

http://core.tcl.tk/tips/doc/trunk/tip/247.md

F.


----Android NewsGroup Reader----
http://usenet.sinaapp.com/

Harald Oehlmann

unread,
May 2, 2018, 5:56:39 AM5/2/18
to
Am 02.05.2018 um 11:39 schrieb Francois:
> Harald Oehlmann <wort...@yahoo.de> Wrote in message:
>> There is a source code formatting guide, I suppose on the wiki.
>
> First of all there is the official Tcl/Tk engineering manual:
>
> http://core.tcl.tk/tips/doc/trunk/tip/247.md
>
> F.

Thanks, Francois !
That is the exact pointer.
0 new messages