Elfoslav / codermania

E-learning platform for learning to code interactively built with Meteor.js
http://www.codermania.com
50 stars 33 forks source link

Check for conventions in programming challenges #14

Open Elfoslav opened 9 years ago

Elfoslav commented 9 years ago

Some people do not write code according to conventions. It should throw an error if the code is not according to conventions. Force people to write nice code!

Elfoslav commented 9 years ago

For example this is ugly code that one student wrote:

var c = ['*'];
for (var i=0; i<20; i++) {
  console.log(c);
  c= c + ('*');
  i++;
}