Skip to main content
Commonmark migration
Source Link

##Use > and < instead of >= and <=

Use > and < instead of >= and <=

When checking against hard-coded integer values, use > and < instead of >= and <= where possible. For example, using

if(x>24&&x<51)

Is 2 bytes shorter than using

if(x>=25&&x<=50)

##Use > and < instead of >= and <=

When checking against hard-coded integer values, use > and < instead of >= and <= where possible. For example, using

if(x>24&&x<51)

Is 2 bytes shorter than using

if(x>=25&&x<=50)

Use > and < instead of >= and <=

When checking against hard-coded integer values, use > and < instead of >= and <= where possible. For example, using

if(x>24&&x<51)

Is 2 bytes shorter than using

if(x>=25&&x<=50)
added 8 characters in body
Source Link
Jojodmo
  • 1.6k
  • 2
  • 14
  • 24

##Use > and < instead of >= and <=

When checking against hard-coded integer values, use > and < instead of >= and <= where possible. For example, using

if(x>24&&x<51)

Is 2 bytes shorter than using

if(x>=25&&x<=50)

##Use > and < instead of >= and <=

When checking against hard-coded values, use > and < instead of >= and <= where possible. For example, using

if(x>24&&x<51)

Is 2 bytes shorter than using

if(x>=25&&x<=50)

##Use > and < instead of >= and <=

When checking against hard-coded integer values, use > and < instead of >= and <= where possible. For example, using

if(x>24&&x<51)

Is 2 bytes shorter than using

if(x>=25&&x<=50)
Source Link
Jojodmo
  • 1.6k
  • 2
  • 14
  • 24

##Use > and < instead of >= and <=

When checking against hard-coded values, use > and < instead of >= and <= where possible. For example, using

if(x>24&&x<51)

Is 2 bytes shorter than using

if(x>=25&&x<=50)