16

Python is GREAT 😊😊

makes you feel happy (😊) when fix a datetime problem just in 14 lines...

(36 lines in javascript ☺️)

Comments
  • 2
    Congrats on your first rant!
    Yes, python is ❀️
  • 2
    @mohammed πŸ€—πŸ€—πŸ€—
  • 0
    You know da wae of da snek!

    Out of curiosity, what is this date and time problem that takes 14 lines?
  • 4
    Roses are red,
    Your code is fine,
    But in JavaScript you can do everything
    In just one line 😏
  • 2
    @coolq creating a live week array for persian date
  • 0
    But in python you can't increment variable and use it's value at the same time.
  • 0
    @Pogromist 😬😬 it was a simple problem and fixed very fast...

    Local time was 5AM and made me happy 😊
  • 2
    Meh who needs datetime.
    Real devs use seconds since the epoch.
  • 2
    Yeah let's compare a language heavily depending on packages with vanillajs by line count. Of fucking course.

    I bet you there is a npm package letting you solve this in like a few characters.
  • 0
    Python is *explodes quadrillion times* A W E S UUUUU M!!!!!
  • 0
    What type of date time problem?
  • 0
    Python ❀
  • 0
    I doubt if you've heard about es6...
Add Comment