(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-24) was last changed on 16-Oct-2007 15:19 by ChuckSmith  

This page was created on 02-Sep-2006 13:00 by Christoph

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 95 added 8 lines
I don't say that it's the only function of these techniques -- they sure are handy in well designed languages too. The difference is often subtle, but when designing a language one should not rely on external mechanisms like these -- it should be easily usable in a plain text editor.
As for boiler plate code -- if it goes there always, except for very rare cases, woudn't it be saner to design the language so that you have to specify the code in the rare cases, not the common ones?
Code folding can also be very handy, not as means of simlifying the code for inexperienced users, but as a general means of reducing the visual noise. It can also be handy as some kind of "table of contents" for a class, for example -- I don't claim that the advanced/inexperienced divide is the only function, I just wanted to point out that it is often used in this way. Personally I avoid it -- I rather keep my code clean and not-noisy. I navigate my code by visually characteristic pieces of it -- code folding makes me lost in it instantly, without any hope of telling how far it is to the function I look for -- two pageups? One pagedown? I guess it's a question of personal preferences and style.
-- RadomirDopieralski, 2007-02-25
Version Date Modified Size Author Changes ... Change note
24 16-Oct-2007 15:19 11.61 kB ChuckSmith to previous restore
23 16-Oct-2007 12:53 11.624 kB 201.12.178.33 to previous | to last
22 01-Jun-2007 16:31 11.61 kB ChristophSauer to previous | to last two angle brackets for placeholder is fine
21 05-May-2007 14:04 11.313 kB ChristophSauer to previous | to last changing markup here would make distinction clear between plugin
« This page (revision-24) was last changed on 16-Okt-2007 15:19 by ChuckSmith