Ad
  • Custom User Avatar

    CofeeScript Translation Kumited! Please accept :d

  • Custom User Avatar
  • Custom User Avatar

    sure, I will add them once they are added in the original one, in the meantime you can raise an issue in the original language to make sure random tests are added there

  • Custom User Avatar

    kindly ellaborate.

  • Custom User Avatar

    probably you want to raise an issue into the codewars github to have it re-ranked. Me as author don't have control over the final difficulty score. Let me know if you need more guidance on how to do that.

  • Custom User Avatar

    Thank you Bob, during time people just modified this Kata to match their opinions based on their language conventions.

  • Custom User Avatar

    Educational purposes. The original was in Java, and usually you code and reason why you are doing everything in such way with time. This kata makes sure you do one thing and you do it right. I've seen many solution codes for many hello-world Katas doing very crazy unnecesary things... well this was to remember people that probably you are ust showing offand that maybe you still have to learn more from a "simple" hello wolrd, simple in the sense that you don't need to use architectural patterns, implement an interpreter, or use obscure language features.

  • Custom User Avatar

    well it says print the line, not just print characters. however some one already added the clarification for you. Enjoy.

  • Custom User Avatar

    you are righ, same as in the original, probably ypou might want to report the issue

  • Custom User Avatar

    I think you missed this test case for floats:

    Test.it 'should work for floats', ->
        Test.assertEquals(arr2bin([2.718281828459045,2,true]),"100.101101111110000101010001011000101000101011101101")
    
  • Custom User Avatar

    so, do I get points for translation?

  • Custom User Avatar

    I think testing framework had some mayor updates and now it's breaking

    ReferenceError: usersAnswer is not defined
        at Object.<anonymous> (/workspace/node/test.js:59:12)
        at Module._compile (node:internal/modules/cjs/loader:1159:14)
        at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
        at Module.load (node:internal/modules/cjs/loader:1037:32)
        at Module._load (node:internal/modules/cjs/loader:878:12)
        at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
        at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
        at async Promise.all (index 0)
        at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
        at async importModuleDynamicallyWrapper (node:internal/vm/module:438:15)
        at async formattedImport (/workspace/node/node_modules/.pnpm/mocha@10.2.0/node_modules/mocha/lib/nodejs/esm-utils.js:9:14)
        at async exports.requireOrImport (/workspace/node/node_modules/.pnpm/mocha@10.2.0/node_modules/mocha/lib/nodejs/esm-utils.js:42:28)
        at async exports.loadFilesAsync (/workspace/node/node_modules/.pnpm/mocha@10.2.0/node_modules/mocha/lib/nodejs/esm-utils.js:100:20)
        at async singleRun (/workspace/node/node_modules/.pnpm/mocha@10.2.0/node_modules/mocha/lib/cli/run-helpers.js:125:3)
        at async exports.handler (/workspace/node/node_modules/.pnpm/mocha@10.2.0/node_modules/mocha/lib/cli/run.js:370:5)
    
  • Custom User Avatar

    NaN means "Not a Number". We basically call imaginary numbers, so since you are on the realm of imaginary numbers they are numbers so the result of summing NaN with other number will be NaN.

  • Custom User Avatar

    or not.... sorry unemployed person here

  • Custom User Avatar

    can't reproduce, so please try again or provide more details

  • Loading more items...