Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Duplicate
Issue
. Closing.Duplicate issue anyway. Closing.
Me too... Spoilers.... :)
language?
@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.
@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
@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?
@jhoffner: OT is there a way to get a bulk export of my solutions in some database-readable format? Thanks, suic
@jhoffner
,I am going to use your exact comment in many of my replies about proper naming conventions for katas!
Thank you very much!
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.
This should be a suggestion and not an issue
Pretty new to me too. Extremely useful in this situation! =)
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
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?
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...