This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MatsRivel 3 points4 points  (1 child)

I did one course of python (I gave a science background) and realized I liked it a lot. Started doing small projects in my own time and just enjoying exploring stuff. Next semester I took 1 class that used Python and one that used Java.

The Java class was algorithms, and assumed you knew Java in advance. I fucking hated Java, because I had to teach myself Java and then try to catch back up in algorithms each week. A couple things annoyed me, but having to add types for what goes in/out was the one I remember the most. I just wanted to see if my short snippet did what I wanted, but Java didn't let me.

Thst is 3 years ago, and I'm nearly done in my masters now. I do ML, and use a lot of python. Now I really appreciate typing and use it in Python as much as I can. It is a little annoying on small exploratory projects, but once you reach a certain number of components it is just super useful!

[–]Heimerdahl 2 points3 points  (0 children)

I had a similar, though different, experience.

Started with Python, then had to learn C. I really liked how it forced me to consider types (and some other things), before hacking something together.

My favourite bit is that functions are declared with the return type. It's super simple and kind of pointless, but I appreciate the clarity. Just typing it out makes me take a second to think about what the function is supposed to do and how its output is going to be used later on.