2 ms·
I’m thinking of cases like System.arraycopy(src, srcPos, // from dest, destPos, len) // to where I want to show the parallel relationshi
by erik_seaberg 4y ago
I’m thinking of cases like
System.arraycopy(src, srcPos, // from
dest, destPos, len) // to
where I want to show the parallel relationships between src/srcPos and dest/destPos. Blind tools don’t know to do this, they either emit one long line or waste seven lines.
Tools also won’t know how to format a DSL well at all, which has already been a problem with Spark jobs in Scala.
- Mike_12345 4y agoMeh. That is so obvious to anyone who would use that function. Just put it on one line. If your function has too many parameters then the code probably needs refactoring. Yes agreed about DSL in Scala. Scala is complicated. I was a Scala dev for many years. We tried to avoid the more academic and overly abstract designs with that language.