|
|
|
|
|
by owaislone
2532 days ago
|
|
If feel Go solves this in a much more readable way. if m := re.match(...); m {
... do something ...
}
Still not as readable as splitting it over multiple lines but quite a lot better than Python's syntax IMO especially once you learn how the if statement works in Go. |
|