Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
_ikke_
on April 29, 2020
|
parent
|
context
|
favorite
| on:
Do notation considered harmful
For me, that's similar to writing
if(var == true) { }
It's more verbose than necessary, but not wrong.
iso-8859-1
on May 10, 2020
[–]
In Python and JavaScript it is also asserting the type of the thing being compared, which, I argue is better code style. It is a mess having to think about all those things being truish.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: