[Edu-sig] What to teach: sorting algorithms vs OOP?

2018-08-14 Thread Jurgis Pralgauskis
Hi, The dillema I have when teaching: our k12 curricullum of programming is more based on algorithms (math ideas), but when working as programmer, I see the bigger need of SW architecture knowledge.. OOP is one big topic, which could replace sorting alg stuff (that I never applied (directly)

[Edu-sig] What to teach: sorting algorithms vs OOP?

2018-08-14 Thread Wes Turner
You can probably do sorting, inheritance, and interfaces at the same time? An ISortable object must have a .sort() method. e.g. DoublyLinkedList(LinkedList). "15 Sorting Algorithms in 6 Minutes" https://youtu.be/kPRA0W1kECg - # of comparisons - # of array accesses ... Big-O Cheat Sheet

Re: [Edu-sig] What to teach: sorting algorithms vs OOP?

2018-08-14 Thread Wes Turner
Someone can probably better explain how setattr(object) and setattr(object()) work in regards to `self` as a bound positional parameter? Also, @classmethod and @staticmethod. On Tuesday, August 14, 2018, Wes Turner wrote: > You can probably do sorting, inheritance, and interfaces at the same