3 ms·
Yeah, I'm a fan of this. Was a bit of fun in scala to see if you could rewrite something to be a single statement. Sometimes the single statement version wasn
by adamgordonbell 3y ago
Yeah, I'm a fan of this.
Was a bit of fun in scala to see if you could rewrite something to be a single statement.
Sometimes the single statement version wasn't clearer, but sometimes it really was.
Point free programming takes this to code golf type territory and can be fun as a puzzle if not for real world code.
Maybe ruby just doesn't do it well?