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

Ken Kin

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

Stats

798
EtPoint
187
Vote count
31
questions
32
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 */ }