• 0 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: October 1st, 2023

help-circle

  • PARIS, Feb 26 (Reuters) - France’s President Emmanuel Macron said on Monday there was no consensus on sending troops to Ukraine, but the subject could not be ruled out.

    “There is no consensus at this stage… to send troops on the ground,” Macron said after hosting some 20 countries allied to Ukraine.

    “Nothing should be excluded. We will do everything that we must so that Russia does not win.”


    Saved you a click. Yes, that’s it. That’s the entire “article”. A total of 4 sentences. What exactly was the point of writing such a short article?

    Edit: pulled my head out of my ass.




  • Piggybacking onto this to mention my go-to online RegEx editor: RegExr. It lets you test the regex as you type, explains the particular symbols used, as well as has a sidebar where you can see different pattern types categorically. I’ve been using it for almost 2 years now, and haven’t had any reason to use much else (after I discovered this).



  • malijaffri@feddit.chtoProgrammer Humor@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    1 year ago

    I’m sorry, but when was the last time you actually used Python? Python has had a switch ... case ...-like structure called match ... case ... since v3.10:

    https://www.geeksforgeeks.org/python-match-case-statement/

    As for having to import standard libraries, why should every single function of every single built-in library be included in every single Python program, much less in compiled executables? At that point, it just bloats up your file sizes and RAM usage.

    ETA: You are literally the only person in this whole thread that has such a huge problem with Python. What did it ever do to you?