Our great sponsors
-
FizzBuzz Enterprise Edition
FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.
Anyway, to your question. At uni, you basically learn the basic concepts but when to apply those things comes with experience. You keep doing some tasks and then notice, "Oh hey, this could be abstracted away into its own function" and then, "Aber hallo, I could encapsulate this into a class". And so on. Essentially, you keep abstracting away parts of your program. Of course, this only ever makes sense if you have bits of code that are worth abstracting away. If your program only needs to be an imperative list of n statements than that's what your program has to be. Some people try to shoehorn everything they do into OOP or so and even their simplest programs end up looking like this.
-
I like the homework approach but you mustn't forget that that is "just" homework. I.e. the complexity might be on a level that is specifically intended for students. From my experience professionally written code looks dramatically different to what homework looked like. However, I do like that it's making use of NumPy! It is a great open source package, you can read their source code here. I specifically like the interplay between Python and C that NumPy makes use of intensively.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Yeah, it's not the most mainstream programming language, but despite that there are some interesting F# projects.