Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by hekkle

4 days ago

Not great at what?

I agree that Python is not great at anything specifically, but it is good at almost everything, and that's what makes it great.

2 comments

hekkle

Reply

fnord77  2 days ago

which is nicer?

    float(len(str))

or

    str.len().float()

Also, there's numerous ways of doing the same thing, despite that being contrary to python's philosophy

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities