Ad
  • Custom User Avatar

    Duplicate Issue. Closing.

  • Custom User Avatar

    Duplicate issue anyway. Closing.

  • Custom User Avatar

    Me too... Spoilers.... :)

  • Custom User Avatar
  • Custom User Avatar

    @suic,

    I actually raised an issue on the Codewars API docs because the old endpoint for grabbing all your solutions from the API doesn't work anymore. Since that didn't work I wrote the script. It's a bit hacky to have to parse through the HTML but it's not too hard.

    You are probably correct about the database export being easier.

  • Custom User Avatar

    @zebulan, thanks that may help. On the other hand, I find a simple database export (e. g. Postgres can do this) or an exported SELECT more straightforward :) Regards, suic

  • Custom User Avatar

    @suic,

    I actually wrote a selenium phantomjs script to do exactly that (based on a comment in the Codewars forum). It just scrolls down the solution page until they are all loaded and saves them. I haven't released it yet but I'm sure you could write something like that (since you'll most likely refuse any help or suggestions from me).

    Does that idea help?

  • Custom User Avatar

    @jhoffner: OT is there a way to get a bulk export of my solutions in some database-readable format? Thanks, suic

  • Custom User Avatar

    @jhoffner,

    I am going to use your exact comment in many of my replies about proper naming conventions for katas!

    Thank you very much!

  • Custom User Avatar

    language specific coding standards are issues. If a kata is going to be simple it at least needs to teach best practices and standards. You absolutely do not write ruby methods any other way than snake case. Ever.

  • Custom User Avatar

    This should be a suggestion and not an issue

  • Custom User Avatar

    Pretty new to me too. Extremely useful in this situation! =)

  • Custom User Avatar

    Absolutely not: I was taught about them by the kindness of other users (and most of all, bkaes-senpai); AFAIK, at least in my major three languages, Ruby and Python go snake_case; JS camelCase; CONSTANTS are all upper; Classes have to be capitalized.

    And that basically sums up my rather poor knowledge on the matter.

    Wikipedia helps a bit more; and notice PHP schizophrenic lack of conventions is not even mentioned :D

  • Custom User Avatar

    Perfect!
    Sure, you are right, respecting the conventions is a good school but I must say that I should learn them, first!
    Do you know a small guide with naming conventions?

  • Custom User Avatar

    Edited the copy in the description a bit and put the image under the very first paragraph, as imho that could help a lot users in getting what they are required to do.

    Also, kata fully green-lit.

    As far as CamelCase vs snake_case vs the rest goes, I think that as we are here (also) to learn more, forcing ourselves to get even these little annoying bits of practice is overall beneficial to our mastery of coding.

  • Loading more items...