3 ms·
After a lot of Pascal (had it in high school and first year of uni, wrote some bigger CRUD apps in it, silly I know) and C, it was really hard for me to adopt p
by Philipp__ 10y ago
After a lot of Pascal (had it in high school and first year of uni, wrote some bigger CRUD apps in it, silly I know) and C, it was really hard for me to adopt python. I just couldn't shake the feeling that I had to do everything myself, (even though python provides you with everything you need, I end up writing some function which with a bit of googling already exist as a part of language), that I got from C and Pascal (where I had to write even my own text parser for some apps I did). So I was bashing my head against the wall every time I tried to use python. So in the end I failed and Java was next thing I hit. It was cool. But it was interesting that after learning Java it was much much more easier for me to adopt Python. It was weird in the beginning where you have function for a lot of things, but Java seemed to have rewired something in my head. ¯\_(ツ)_/¯ after using Java my Python was much better. Still not good enough in my opinion, as it is hard for me to wrap my mind around some concepts that are different in Python, where you do not have to type a lot, and things are pretty much done with using packages and functions (external or internal API). It seems like a lot of alchemy and blackboxes to me (python little less, but Javascript is totally like that). And I read a lot of books, even some practical ones, wrote few smaller projects, but it always blew my mind that I write ~100 line program in python, and exact same thing would take me like few hundreds or even thousands in C. But I am mostly interested in systems/OS programming so understand me...
- adrianN 10y agoTry Rust or modern C++. Both are pretty expressive but still suited for systems programming.
- Philipp__ 10y agoModern C++ is there, eventually. Kinda picking up courage to dive into it deeper. And Rust looks amazing, cool and promising. This year I spent playing with functional programming. One of the goals for next is to do something more concrete in that field, and after that I think I will jump on Rust bandwagon.
- collyw 10y agoAs a Python programmer who has been dabbling in Rust recently, it still seems a lot more manual to me. Maybe I just need to learn more Rust, but my impression is that as it is a low level language and as such you are expected to think about a lot more things in Rust than Python.
- qwertyuiop924 10y agoExactly. That's sort of the point. It's still as systems language, unlike Python. So you do have to think more.
- erelde 10y agoThink more about the machine/platform not "think more" in absolute terms.