Talk:Programming tasks: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
(Event vs Error handling)
Line 13: Line 13:


[[User:SiliconJesus|SiliconJesus]]
[[User:SiliconJesus|SiliconJesus]]

== Event vs Error handling ==

Should event handling and error handling be merged into the same article?

Revision as of 16:51, 9 January 2007

"I'm around. For the record, operating system should be an 'optional' addition. In most languages, there is a compiler available in every popular operating system, and since we won't be dealing with already compiled binaries, OS shouldn't be a necessity. Especially since most modern languages (.Net and Java) use VMs.

You should probably add an additional parameter for GUIs. A 'normal' GUI and a 'web' GUI.

I'm around to help out if needed."

-FK

I can see the argument for removing the Operating System requirement. When I included it, I had in mind behavior changes revolving around filesystem differences between DOS/Windows platforms and UNIX platforms. It might make sense to replace Operating System with Platform; one is a more generic representation of the other, and allows for virtual machines.
As for GUIs, "normal" GUIs and "web" GUIs are one and the same; they just use different widgets, and enforce a different style of GUI behavior. Normal GUIs can perform operations on the same form, while web GUIs may be limited to dialog-style behavior, depending on whether a server-side or client-side language is used. --Short Circuit 09:54, 8 January 2007 (PST)
On second thought, you're probably right. Web-based GUIs can be created just using HTML, no programming required. In those cases, it makes more sense to demonstrate accessing GUI elements than the creation of the elements themselves. --Short Circuit 12:04, 8 January 2007 (PST)

Code should be as simple as possible, unless the language is purposely obfuscated - i.e. obfuscated C. I agree with FK's recommendation that we go ahead and drop the OS requirement as coding simple structures in most languages are independent of the Operating System. In the instances where we are talking about a particular OS that can be noted.

SiliconJesus

Event vs Error handling

Should event handling and error handling be merged into the same article?