5
Donglin
5y

You know what are some of the most annoying thing to type in python when doing programming problems:
heappop
heappush

Comments
  • 5
    headpoop!
  • 1
    herpderp!

    This is the main reason I use something with autocomplete/intellisense/etc. So much less typing and fewer silly typos.
  • 1
    @jallman112 Intellisense doesn't work properly with dynamic languages though
  • 0
    @12bitfloat Interesting! I guess the PyCharm and VS Code editors use magic instead?
    ¯\_(ツ)_/¯
  • 1
    Have you used statically typed languages? Autocomplete is so much better. It's not that you can't have autocomplete for dynamic languages. Of course you can, and of course it can help. But it will never be good because it physically can't be. Every autocomplete for dynamic languages I've ever used was trash because it has no idea what's going on. It can't know because most of the time the relevant info just literally can't be determined statically. I hate so be 'that' guy but I feel like people using dynamic languages (and like them) are somewhat clueless and are definitely missing out. Don't lie: How often have you had the autocomplete display random irrelevant function names from completely different contexts or fail to show a proper function signature including docs? I bet more than a few times. Guess how often that happens with Java #imsorry #realtalk
  • 1
    @12bitfloat #thatescalatedquickly

    I'm not going to fight you. If you have something that works for you that's awesome! I'm glad to hear it.

    I was just mentioning, in the context of misspelling something like "heappop", something that works for me and might help others.
Add Comment