pomeryt / Infanino

A programming language that has immune system.
MIT License
0 stars 1 forks source link

Add validation logic to check the number of lines in a file. #8

Closed pomeryt closed 6 years ago

pomeryt commented 6 years ago

Motivation

We believe a large file is unmaintainable. It indicates that the object is responsible for too many things and should be decomposed into smaller objects.

Specification

The code is invalid if it contains more than 200 lines of code. 201th line would be the invalid line.