Open hobovsky opened 3 years ago
IIRC there's something about blocking modules for Haskell?
fetching answer from outside: network
I wouldn't want this possibility documented. It's well known, but still.
JS Specific, suggested by @XRFXLP: https://github.com/codewars/docs/issues/214#issuecomment-755304491
Suggestion:
Freeze the Object which are being as method for validation for solutions: (For example:
Math
,Array
,Function
,String
....) For example there are many katas in which validation process usesString.prototype.split
, but the translators or author usually forget to freeze or constantify the handler function, which led user to modify the prototype itself to pass the tests.And I think this is not detected my anti-cheat system, because I've recently seen couple of such solution for few 1 kyu katas.
Create a tutorial explaining to authors why restrictions related to code are a bad idea. Point out possible pitfalls:
Think about a series of language specific articles explaining how to enforce things which are possible to be realized more or less reliably: