Control Structures – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Typo fixed)
Line 15: Line 15:


PS: Additionally, it's an old webdesign guideline that a page about some topic should exist only once on a website. "Normal" users think that the "else" page is the page that explains most about "else". It is confusing if you go to "else" and have to switch to ''another'' page to really find out about "else". --[[User:Hardrock|hardrock]] 12:21, 15 January 2007 (CET)
PS: Additionally, it's an old webdesign guideline that a page about some topic should exist only once on a website. "Normal" users think that the "else" page is the page that explains most about "else". It is confusing if you go to "else" and have to switch to ''another'' page to really find out about "else". --[[User:Hardrock|hardrock]] 12:21, 15 January 2007 (CET)
: Most programming documentations consist of two parts: reference and overview. Reference is always expected to be concise and complete, overview is expected to provide an overall and easy to understand view. This pages now servers the second role quite well, but there is no reference now (see also my other note above). --[[User:Suma|Suma]] 14:29, 15 January 2007 (CET)
: Most programming documentations consist of two parts: reference and overview. Reference is always expected to be concise and complete, overview is expected to provide an overall and easy to understand view. This pages now serves the second role quite well, but there is no reference now (see also my other note above). --[[User:Suma|Suma]] 14:29, 15 January 2007 (CET)


:: I restored most of the commands, but added a '''see also''' back to the control structures, over the past couple of days, I've found the control structures invaluable for examples. If there are others then please revert them back and add the see also. [[User:Hoz|hoz]]
:: I restored most of the commands, but added a '''see also''' back to the control structures, over the past couple of days, I've found the control structures invaluable for examples. If there are others then please revert them back and add the see also. [[User:Hoz|hoz]]

Revision as of 00:15, 16 January 2007

Reinstate the dedicated pages?

I think this page is very useful to give people an overview of the different control structures, and we should definitely keep it. But I think we should also have the dedicated pages we used to have for each specific command. That way we have a proper place for notes and discussions for the specific commands (which wouldn't quite fit in here). --Kronzky 00:47, 15 January 2007 (CET)

I agree as well. I'm already missing those commands alot. hoz
I agree, the description is now incomplete - reference should always be complete. Partial constructs may be used in an interesting (albeit strange) ways, like assigning result of if (x) into a variable and then using that variable together with an else clause. It is not a typical usage, but it is possible. Overall, it may be interesting for the scripter to know there are actually no "Control Structures" in this scripting language, only expressions. --Suma 14:29, 15 January 2007 (CET)

Sigh

Planck 05:20, 15 January 2007 (CET)

Is that a No? Or a sigh of relief that we're finally going to have the dedicated pages back? ;) --Kronzky 07:17, 15 January 2007 (CET)

I personally find the dedicated pages completely useless: IMO they are impossible to understand because completely out of context. If a dummy goes to a page about "else" where he finds that "else" requires an if-construct and an else-construct, he will understand exactly nothing. Same for all the other. Waste of wiki space and confusing more than solving anything, if you ask me.

But if you keep the structures together, e.g. if-then-else, and explain it within proper context, it is IMO clearer to understand what the "else" is really about.

PS: Additionally, it's an old webdesign guideline that a page about some topic should exist only once on a website. "Normal" users think that the "else" page is the page that explains most about "else". It is confusing if you go to "else" and have to switch to another page to really find out about "else". --hardrock 12:21, 15 January 2007 (CET)

Most programming documentations consist of two parts: reference and overview. Reference is always expected to be concise and complete, overview is expected to provide an overall and easy to understand view. This pages now serves the second role quite well, but there is no reference now (see also my other note above). --Suma 14:29, 15 January 2007 (CET)
I restored most of the commands, but added a see also back to the control structures, over the past couple of days, I've found the control structures invaluable for examples. If there are others then please revert them back and add the see also. hoz