Demo entry 6623769

lol ytp stets at the gallery

   

Submitted by anonymous on Jun 09, 2017 at 22:40
Language: Dart. Code size: 377 Bytes.

Class Gem {
  final String name;
  void sayLines(List<String> lines) {
    print("${name.toCaps()}:");
    for (line in lines) {
      print("  " + line);
    }
  }
  Gem(this.name);
}

void main() {
  var peridot = new Gem("Peridot");
  var amethyst = new Gem("Amethyst");
  peridot.sayLines(["yams, big ass","you, are gay"]);
  amethyst.sayLines(["what?"]);
}

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).