Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
underdeserver
9 months ago
|
parent
|
context
|
favorite
| on:
Fstrings.wtf
Cute quiz! As a reminder, if you're doing anything even slightly complicated with f-strings (beyond :x or var=), leave a comment.
elteto
9 months ago
|
next
[–]
Hey, I’m doing complicated things with f-strings so I’m leaving a comment as requested.
Disposal8433
9 months ago
|
prev
|
next
[–]
As someone who works on a codebase with almost no comments, please leave a comment for every block of code that does something and explain why (1 comment for every 5 or 10 lines of code should be fine).
And for regex you have this in some languages:
https://docs.python.org/3/library/re.html#re.X
cluckindan
9 months ago
|
parent
|
next
[–]
Please include any technical and especially business reasons in the ”why”, please.
zahlman
9 months ago
|
prev
[–]
Ohg abg orgjrra gur oenprf! ;)
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: