I've been using python in my work for about the past 2 years. I came from c++ and I still don't know how I feel about it. What do you think about python?

  • 8
    Its slow,
    Dynamically typed,
    Has horrible dependency management...

    In short, it's everything, I don't want a language to be.
  • 2
    I quite like it for quick little things, but I do agree that it might not be the best for everything (you can learn from that, JS dev).
  • 3
    Men... you can’t compare the Mercedes-Benz with Hyundai.

    Please go back to C++
  • 2
    It's not great
  • 2
    I don't like it. I wish it wasnt mandatory at work.
  • 1
    I'm also a c/c++ person that has to write in python because I'm working with researchers who can't handle pointer.
    I like to have control over what I do, and in python I just feel like I don't have it the way I did with c and c++. I also see so much badly written code that has not the slightest consideration for efficiency and proper resource management, and it makes me want to gouge my eyes out.
  • 2
    Its okay but i wouldnt use it for anything big
  • 2
    Nice for tiny utils, just like Perl is [apart from the fact that py ir more readable], annoying with its indentations. Heavy, dependant, annoying 'pythonisms', would not use for anything I should maintain

    I'd seriously have to take time befo deciding between Perl and Py
  • 1
    @netikras and which one would you rather go for? In those two choices i know more about Python. But Perl is really interesting. Have never been able to use it for anything
  • 1
    Not its biggest fan. I don't care about speed since for wha i use it for it works decent enough. Don't mind dependency management. I use virtal environments for that and it has never given me any issues for medium to semi large projects.

    I do mind the syntax. I feel its too ambiguous and don't like syntactic whitespace.
  • 1
    python is my second most used language, and it's okay for what it does. short scrips, smaller programs are perfectly fine.

    dependency management works nicely unless you have one binding to C libraries, then you can get problems. If you have an issue with indentations (i don't), you're better off with something else.

    comparing C and python is pretty hard, as they are completely different in various ways. just remember that C has much more performance potential, but it can be very hard to use that potential (or even write correct code to begin with).
  • 1
    @metamourge Horrible dependency? 🤔 Have you used pip pipenv? I would've say dependency is quite great.
  • 2
    I'm not sold on it's whitespacing, I'm forever getting that wrong.

    But for process automation, it saves me countless hours.
    I wouldn't have a use for it for a large project but for quick and dirty things it has a special place in my life,
  • 3
    It works, do the job, you can write client requirements fast, use less lines of code, sleep well and have more time for yourself.

    It have its dark secrets like every other language but I’d rather maintain 50000 lines of python code than 500000 java or javascript.

    Performance tip - hardware time is cheaper then developer time.

    If you’re bad developer your just bad developer and no language can change it.
  • 1
    Python is currently my favourite language for small to medium projects.

    I have a soft spot for it ever since I first saw Python code. Without knowing Python it was completely readable. I was looking for a bug, found it, fixed it. I can't praise it enough for being *that* approachable. That's how a language should be.

    In contrast to many people, I *like* the significant whitespace. It adds to its readability.

    Performance was never an issue for me. Should that happen I'll try PyPy.

    On the other hand, I wish it had optional static typing. After learning Idris with its dependent type system, my mind is blown how much typing can help. Type hints (Python 3.5+) don't really cut it.
  • 1
    Reminds me of BASIC.

    Now if you could just mix assembler in there..
  • 0
    Fun to work with for a personal project. Wouldn’t recommend for a large scale project.
Add Comment