[Tutor] Opening and closing SQLite db

Noah Hall enalicho at gmail.com
Sun Dec 26 19:31:17 CET 2010


>
> >Which is suggestible just in case the app or program crashes during use.
>

(To O.P)
Indeed, though in such cases you must rely on your programmers instinct to
make the right decision - what applies for certain instances of an
application doesn't always conform with what applies for other instances.
For example, committing every event is hardly ideal for something such as a
media player, but may be correct for something handling vital data to the
system. There's no "one fits all feet" rule for such things - as you program
and develop more and more applications and programs, listen to your users,
and your bug tests. It'll come almost naturally after a while.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20101226/ea129906/attachment-0001.html>


More information about the Tutor mailing list