[Year 12 SofDev] A matter of style - GUI data structures vs primitives
Laurie Savage
savage.john.l at edumail.vic.gov.au
Mon Nov 29 10:50:36 EST 2010
Serious question: Is a GUI widget a data structure or a tool for displaying
a data structure?
Laurie
PVGC
From: sofdev-bounces at edulists.com.au [mailto:sofdev-bounces at edulists.com.au]
On Behalf Of Mark KELLY
Sent: Monday, 29 November 2010 10:39 AM
To: Year 12 Software Development Teachers' Mailing List
Subject: [Year 12 SofDev] A matter of style - GUI data structures vs
primitives
Hi all. Just had an odd passing thought while working on a programming
skills theory slideshow. (Don't you hate it when you actually start
thinking while getting work done?)
Most programming languages now offer GUI data structures like listboxes,
grids etc.
I'm interested to know how many people use them as their primary data
structures as opposed to using arrays to store and manipulate data and then
populating the GUI structure with data from the array.
I tend to use the latter method for intensive manipulation needs, and the
former for simple storage & display.
What sort of performance penalty does the use of the GUI data structure
impose? Do the GUI structure's capabilities (e.g. auto-sorting lists)
outweigh the penalty?
How efficient is the GUI's inbuilt sorting algorithm compared to a good
do-it-yourself sorting algorithm? (I tend to think the built-in one will
beat mine any day.)
--
Mark Kelly
Manager Information Systems
Reporting Manager
IT Learning Area Manager
McKinnon Secondary College
McKinnon Rd McKinnon 3204
Victoria, Australia
Direct line / Voicemail: +613 8520 9085
Fax +613 9578 9253
kel at mckinnonsc.vic.edu.au
VCE IT Lecture Notes: http://vceit.com
Moderator: IT Applications Edulist
My cow died on this day two years ago. I know because I noted it in my
dairy.
Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20101129/3ffe8a7a/attachment-0001.html
More information about the sofdev
mailing list