— Micro-optimizations become obsolete..
— The explenation for << , >> and >>> really tells me nothing
— Mybe i should translate these 🕵🏻
— 010 <<
1 == 100; 010 >>
1 == 001
— I've never used them in JS.. there is a <<<
in livescript which do Object.assign like operation
— Hah, i dont like it. but i enjoy {...} for object.assign
— You mean spread operator? it goes longer way, more to type. in livescript it's: target <<< object
—
api =
func1: (parameter) ->
return true
<<<
func2: api.func1
func3: api.func2
sometime use it like that, to create copies
Message permanent page