• 0 Posts
  • 21 Comments
Joined 9 months ago
cake
Cake day: May 8th, 2025

help-circle













  • scott@lemmy.orgtoProgrammer Humor@programming.dev*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    3
    ·
    7 months ago

    At first it seems nice…I played with it for a few hours in an established project and didn’t mind. But the I thought about using it from scratch and I’m just baffled anyone does. It’s like if CSS was slightly more abbreviated but you couldn’t use classes so every style has to be specified on every component.




  • ~ $ python
    Python 3.12.10 (main, Apr  9 2025, 18:13:11) [Clang 18.0.3 (https://android.googlesource.com/toolchain/llvm-project d8003a456 on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> ❗ = 'nah'
      File "<stdin>", line 1
        ❗ = 'nah'
        ^
    SyntaxError: invalid character '❗' (U+2757)
    >>>
    ~ $ node
    Welcome to Node.js v23.11.1.
    Type ".help" for more information.
    > const 👍 = 'test'
    const 👍 = 'test'
          ^
    
    Uncaught SyntaxError: Invalid or unexpected token
    >
    



  • scott@lemmy.orgtoProgrammer Humor@programming.devexit
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    8 months ago

    Lemme golf that

    ~ $ python
    Python 3.12.10 (main, Apr  9 2025, 18:13:11) [Clang 18.0.3 (https://android.googlesource.com/toolchain/llvm-project d8003a456 on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> class x:
    ...  def __repr__(s):
    ...   exit(0)
    ...
    >>> xit = x()
    >>> xit
    ~ $
    

    Not that hard