Tag: Scala

  • Holy Syntactic Sugar Batman

    I’ve never written any Scala code before today, but it has Python-esque mapping methods and ranges that enable you to do some things in very little code. For example, this code instantiates an array of vertex objects each containing an array of edge objects from a CSR (off, ind, wgt) graph: val verts = (0 […]