this post was submitted on 12 Aug 2024
993 points (99.5% liked)
Programmer Humor
19809 readers
302 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Is that python? If it's, thank you, finally learned how to format text in a way that can be read on the script and in the execution.
It isn't, there are curly braces. It's TypeScript.
Python also have curly bracers, om dictionaries.
Yes, but not for indentation (which is obviously what I meant)
As the other comments have already said it's not Python. Not sure what you mean with text formatting, do you mean that it's multiple strings that are concatenated using
+
? You don't need the+
in Python, you can doWhich is identical to
No, but you can do the same in python
I was thinking on trying it. Need to see how it works with f formatting.