Tacitus 🇮🇪 :godot: :linux: on Nostr: nprofile1q…dj2mx The first two years were pretty much the same as any comp sci ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq4yqjkzqkgv4a27egvq5xmh2ravemytg9g5kldqeqfts92uvh90sqkdj2mx (nprofile…j2mx)
The first two years were pretty much the same as any comp sci course, a lot of the lessons were taught in the context of games but the content was the same. Classic example is instead of learning polymorphism by saying that Cat and Dog are both subtypes of Animal and since Animal has a Walk function they both also inherit Walk, we learned that Goblin is a subtype of Enemy just like Dragon and you can iterate a list of all Enemy objects and call Attack every round, ignoring type.
The first two years were pretty much the same as any comp sci course, a lot of the lessons were taught in the context of games but the content was the same. Classic example is instead of learning polymorphism by saying that Cat and Dog are both subtypes of Animal and since Animal has a Walk function they both also inherit Walk, we learned that Goblin is a subtype of Enemy just like Dragon and you can iterate a list of all Enemy objects and call Attack every round, ignoring type.