Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 
avatar of Ken Kin

Ken Kin

Ken Kin has asked 31 questions and find answers to 30 problems.

Stats

722
EtPoint
158
Vote count
31
questions
30
answers

About

Some code snippets for my convenience to copy and paste ..

if(i <0?false:n> i) { /* i am safe here */ }

if(0> i||n-i <1) { /* i am out of range */ }