Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bosswipe
on May 25, 2021
|
parent
|
context
|
favorite
| on:
It's probably time to stop recommending Clean Code...
That has three constants.
mkoryak
on May 25, 2021
[–]
is this better?
const charA = (![]+[])[+!+[]];
mkehrt
on May 26, 2021
|
parent
|
next
[–]
I cannot even parse this. What is going on here?
pdpi
on May 25, 2021
|
parent
|
prev
[–]
[] is still a constant.
mkoryak
on May 25, 2021
|
root
|
parent
[–]
True, but we can both agree that this is a better constant than "a". Much better job security in that code.. unless you get fired for writing it, that is
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: