Better HN
topnewbestaskshowjobs
Log inSign up

demo123

4 karma · joined Feb 11, 2018 (8y ago) · 2 submissions

Submissions

comment 7y ago · link · parent

If you even need to indent them then why you don't write a full if else statement instead? Nested ternaries shouldn't be used at all.

comment 8y ago · link · parent

What about trusting ip from private address ranges?