r/learnprogramming • • Jul 15 '18

Codingame.com is by far the best programming site I have encountered so far

This site is huge, it includes 2 main types of challenges multiplayer ones(which are about programming a bot to do something better than your opponent's bot) and puzzles(my personal favorites!) which are diverse challenges ranging from creating an algorithm for a mars lander so it can land, to analiyzing different temperatures and deciding which one to print.

Here's what's truly amazing: This site supports over 25 languages!!!! including C++, C, Java, Python, C# and many more.

The site is super polished and the community is super friendly and helpful(helping me many times to get out of coding problems and debugging). I haven't had this much fun learning to program in months!

Obligatory: This site is not for complete begginers and is not intended to teach you a new language, the site's purpose is that people who know a language (or are learning one) can deepen their understanding of it through fun challenges and activities.

(I am in no way related to codingames.com btw, I just wanted to share this awesome community with you folks!)

1.9k Upvotes

97 comments sorted by

304

u/Azazeal700 Jul 15 '18

Codewars is great to try.

Btw there is atleast 2 bots here so this is 100% advertising.

91

u/[deleted] Jul 15 '18

Dollars to donuts that one of the challenges is to build an advertising bot

59

u/Azazeal700 Jul 15 '18

I didn't want to rag on codingame too hard but tbh the website is super dead. They have some cool challenges but they are nearly all like write a bot that lands this properly.

For a noob, you want to be doing small coding challenges where it is a small - fast problem to solve. Those directly teach you what sort of challenges you will face writing your own code.

Writing these large self directed bots doesn't really teach you a specific problem solving skill or anything - it more encourages starters to mash together these gigantic hardcoded solutions rather than learn new skills because they aren't pointed in the right direction.

11

u/[deleted] Jul 15 '18

Not only that, but it assumes a knowledge of stdin which I'll assume most beginners have limited, if any exposure to. Hell I've been coding professionally for years and seeing as I don't work with stdin often, I often find myself needing to brush up when coming across it.

On top of that their IDE and repl are buggy af, and causes a lot of issues that beginners might end up chalking up to problems with their code, and no amount of searching will net them a solution to their problem other than maybe a couple hard-coded solutions floating around. Eg(JavaScript):

Their repl has a massive issue with array functions. Want to min/max values in an array? Instead of returning the max/min value as expected, it will always return the full array, but wait, it gets better! When debugging in the console, it prints arrays items as though you were console logging each index individually, line by line. Now this is somewhat of a side effect of stdout, but it is hardly intuitive for anyone who doesn't posses at least a cursory understanding of that.

As far as the IDE goes, they tell you that there is example code to get you up and running, but it actually doesn't generate until you hit the tiny refresh button at the top right corner of the IDE, ya know, instead of populating it when selecting you language, like they say it does.

See, it's the small things like that which cause just enough impedence to beginners to push them towards giving up. Having someone who is just learning a concept, who for all intents and purposes are doing things right, but then you throw them in an ecosystem that continuously tells then they're wrong (when they aren't), with no reasonable solution available for them*, you're either going to ruin the learning experience for then and risk losing them, or they'll just leave your platform altogether.


* - they offer the challenges in about a dozen languages, yet the community is organised in such a way that each challenge has its own thread they force you to ask your questions in, but there is no way to filter by language in the thread, so you just have this huge, long single post with hundreds of conversations going on at once, about problems in any one of the dozen or so languages. How the hell do they expect that to work!?

4

u/2StepsFr0mHell Jul 16 '18 edited Jul 16 '18

Hi, as a CodinGame employee, I'm very interested in knowing how you got these issues (JS min/max one and default code issue) since they shouldn't happen (and to my knowledge, they don't).

As OP wrote (maybe OP edited?) and I confirm that, the CodinGame platform is not well suited for beginners.

EDIT: just saw your post in the forum. Will look into it. Thx

7

u/emirod Jul 15 '18

Theres a global chat window in CodingGame.

I wrote a message a week ago there and got no answers.

Yesterday i logged back in. My message had 1 response, and those were the only two messages of the week in that global chat.

That's how dead it is.

3

u/2StepsFr0mHell Jul 16 '18

There are several rooms for each languages. I can tell you that the global chat (aka "general") is not dead at all :)

Most active rooms are "general" and "general_fr" (the company is French so there are a lot of French programmers on CG)

2

u/adesme Jul 15 '18

Which one do you reckon is better? I was planning to start using such a tool/service anyway.

8

u/evolvish Jul 15 '18

IMO, codewars. I tried codinggame when I was first starting and it just didn't stick/got too difficult, too early. Both sites don't give you the answers(codewars lets you see but not without taking points away) which I appreciate. Codewars has a wider difficulty gradient than most and lots of languages, so if you're just starting or want to practice a new language you can do that, or if you want something unique and very difficult they have that as well.

5

u/atreyal Jul 16 '18

My prob with codewar is every kata seemed to just be come up with a different regex expression for 90% of them. Maybe it gets better but looking up different regex every kata got old real fast as was not worthwhile.

1

u/evolvish Jul 16 '18 edited Jul 16 '18

What language? Regex is really useful for almost anything involving strings, you could just try to solve it a different way or they have tags so you can find filter some that won't involve strings. Don't get me wrong I've solved a lot of kata and there are many that can be solved with regex, especially some of the easier ranked ones, but I think you're exaggerating at little.

2

u/atreyal Jul 16 '18

C#, most of the beginning and intermediate ones are some form of regex. Maybe it changed recently as I last messed around with it two years ago.

And no I am not exaggerating. Regex can be highly usefull. However I wasnt on codewars to learn regex I wanted to learn c# so the reason I stopped using the site was because I didnt feel like I was getting much out of it.

1

u/evolvish Jul 16 '18

I probably wasn't on codewars then and I use C++/Python so maybe it's a community size/time period issue. I think it's still worth at least a look again, C# has 1600+ kata now and new ones get added/translated all the time.

1

u/atreyal Jul 16 '18

I've kind of fallen out of programming as it isnt my job and work has been super busy. It might be fixed now as I did feed that back too them. I was doing maybe 10 kata a day back then and 7 to 8 of them would be some form of regex. Ducked because I actually did like the site but I dont think anyone likes regex that is sane.

2

u/magicalchia Jul 15 '18

Do you know how it compares to this one OP is talking about? I had only ever heard of codewars.

1

u/Pollomonteros Sep 13 '18

Codewars

For some reason my tab just crashes when trying to use that site,did anyone else run into the same problem?

0

u/jak34 Jul 16 '18

Codewars is awesome! Also Leetcode and Daily Coding Problem

-27

u/MagicMajeck Jul 15 '18 edited Jul 15 '18

I'm not a bot lol :P

E: Damn, How can I prove I'm not a bot?

29

u/[deleted] Jul 15 '18

We all know that you're being paid for this, not to worry.

-1

u/MagicMajeck Jul 15 '18

I wish I was paid

264

u/[deleted] Jul 15 '18

Sounds like you are advertising lmao

-29

u/[deleted] Jul 15 '18

Does that lessen the quality somehow even if it were true?

162

u/PC__LOAD__LETTER Jul 15 '18

Yes to some extent, because an honest review of something that helped someone so much that they wanted to share is much more meaningful, in my opinion, than a fake review given by someone who’s pitching the company image rather than real experience.

Advertising something doesn’t make it bad, but an honest review and a fake review carry different weights.

Not saying that this post was in fact an ad.

42

u/ATHP Jul 15 '18

Well, yes. For the simple reason that every advertisement will always tell you that something is great. You'll never hear an honest comparison or weaknesses in an ad.

8

u/[deleted] Jul 15 '18

Not only does it lessen the quality and trustworthiness of the review; low quality shilling indicates a company thinks you're an idiot if they expect you to fall for it. Fake reviews undermine the credibility of all reviews, at least ads/sponsored content/promoted posts are honest about what they are.

I see this kind of shit and I wonder if the site is as useless as their sophomoric astroturfing, and decide I don't want to reward them with a click to find out.

0

u/[deleted] Jul 15 '18

[deleted]

-3

u/[deleted] Jul 15 '18

Again that’s fair but that doesn’t mean that the innate quality of a product drops simply because they put out an advertisement, that’s all I’m saying. Of course you look at reviews but simply having an ad out doesn’t say anything bad about a product necessarily—and I feel like that’s the implication people give when they accuse something of being advertised.

-29

u/MagicMajeck Jul 15 '18

I guess so hahaha

6

u/2StepsFr0mHell Jul 16 '18

Hey, Thibaud from CodinGame.

Thanks for the love, OP!

I can confirm, OP is not related to us (I wouldn't have promoted the Mars Lander or the Temperatures puzzle out of all the cool challenges we have :D). But thanks for the love OP!

As OP wrote though, this is true. Complete beginners most likely won't have fun since even the simplest puzzles require some basic programming knowledge.

Any question? Ask me anything

1

u/hoeskioeh Nov 21 '18

Discovered you yesterday, love it.

But get your ow subreddit. The built-in forum functionality is sub par ;-)

1

u/2StepsFr0mHell Nov 29 '18

we have a subreddit but it never really worked. The Discourse forum isn't the best but it does the job for now.

For more direct discussions, we recently created a Discord server: https://discordapp.com/invite/qAKXEEv

1

u/hoeskioeh Nov 29 '18

found it. yes, i needed a while to notice the "g" vs "gg" in your name...

0

u/MagicMajeck Jul 16 '18

Thanks dude nobody believed me!

2

u/potsandpans Jul 16 '18

this looks awesome

94

u/ApprehensiveDistance Jul 15 '18

This is 100% advertising.

74

u/ThemDeeps Jul 15 '18

Does it cost anything?

94

u/Eight_Rounds_Rapid Jul 15 '18

Everything

29

u/Grover110 Jul 15 '18

17

u/Bromy2004 Jul 15 '18

At this stage I expect at least 1 Thanos reference in every thread.
Often more than that.

6

u/eykei Jul 15 '18

Dread it.

-2

u/LacidOnex Jul 15 '18

I lost interest in the avengers after civil war, so all this thanos talk is just killing my interest in ever seeing it

Who am I kidding. It'll end up on Netflix and I'll watch it that day.

2

u/thedamnedlonewolf Jul 15 '18

Don't think it'll ever come on Netflix. Disney ain't gonna sell the rights to its future competitor.

4

u/rkoberlin Jul 15 '18

Disney cycles almost all of their movies, both Marvel and original productions through Netflix. So, yes. It will most likely be on Netflix at some point.

4

u/Nuaremat Jul 15 '18

2

u/SomeFruit Jul 15 '18

perfectly balanced as all things should be

37

u/[deleted] Jul 15 '18

nope. free to use.

10

u/TheMilkman26 Jul 15 '18

Looks free to me, definitely going to give it a good go

3

u/diwas_146 Jul 15 '18

I am learning python rn. I have almost finished derek banas learn to program series. Do you think I am ready for the challenges the website offers?

4

u/SkWatty Jul 15 '18

Tried the first challenge. It looked easy. I don't know any programming languages (just skimmed). I was able to understand it. What I think the purpose of the site is to teach problem solving skills, get acquainted with the syntax and structure, and just evolving your skills in general.

2

u/diwas_146 Jul 15 '18

Thanks. Will definitely try it.

-5

u/MagicMajeck Jul 15 '18

Definetly yes

2

u/diwas_146 Jul 15 '18

Thank you. I will try it now.

33

u/emirod Jul 15 '18

I hate this advertisement threads like this. Why are they allowed?

11

u/[deleted] Jul 15 '18

I thought they weren't...Not sure why mods are keeping this up.

7

u/PM_ME_UR_PUBSUB Jul 16 '18

I hate advertisements too. You know, you should take this course on Udemy to learn how to block ads

3

u/2StepsFr0mHell Jul 16 '18

As a CodinGame employee, I can tell that this post is not from us. If we would pay for ads now, it would be for our business (hiring services).

2

u/BohemianCzech Jul 16 '18

“I spoke with Putin and he said he didn’t do it.”

3

u/ldkv Jul 15 '18

Seeing how everyone is calling out about the obvious ad but the post still got over 1k upvotes I guess the mods/admins are paid too.

41

u/[deleted] Jul 15 '18

Cod in game .com?
Coding ame .com?

32

u/ChunkeeMunkee3001 Jul 15 '18

Co ding a me .c om

11

u/[deleted] Jul 15 '18

I'll co ding you all right ;)

8

u/shader301202 Jul 15 '18

codin' game lol

-9

u/MagicalBandOfFools Jul 15 '18

Thats the joke... coding game, but they removed a G.

8

u/Jumpierwolf0960 Jul 16 '18

There's a joke?

24

u/Rhynosaurus Jul 15 '18

Word. Even if you're advertising

8

u/d-methamphetamine Jul 15 '18

Agreed. I once played code golf on that site with some friends for almost an entire day straight, good memories

6

u/timmense Jul 15 '18

I played that for a while and while it helped me improve my function toolkit (what/when/how to use the system library without having to look them up), some of the puzzles can be downright frustrating as you need to learn how some esoteric math concept works before you can begin to code the solution.

I eventually realised I wasn't putting my time to good use as you should favour code readability over minimal LOC. I guess my point is that if anyone is looking to practice getting better at coding, it's better to do the puzzles. Or you can start with this but you should stop after you become fluent in using your language library.

3

u/[deleted] Jul 15 '18

Thanks for the free ad

5

u/kamdugle Jul 15 '18

I keep looking at other sites, but even though the UI isn't that pretty, coderwars seems to have the best system for comparing solutions and upvoting the best ones. For me that is such a huge learning gain after struggling through to my own solution.

I haven't seen other site with that level of community engagement, but what about other people?

1

u/BhjAyman Jul 16 '18

Thanks for sharing man ! I'm in love with this website now :D

0

u/MagicMajeck Jul 16 '18

Thanks and have a great day!

2

u/zerostyle Jul 16 '18

My spidey sense strongly tells me that this is, in fact, advertising.

4

u/nikglt Jul 15 '18 edited Jul 15 '18

I am not sure how relevant my question is, but unity uses javascript, isnt javascript meant for web developement and java is for game programming? I am not sure whats the difference between the two. I currently started my first semester of computer science at the university and we are gonna learn java. Is this the language i need to know for unity?

18

u/OrangeJuicePanda Jul 15 '18

Unity uses UnityScript which is very similar to JavaScript. Unity uses UnityScript alongside C#. If you plan on using Unity I would recommend learning C# because future versions of unity are no longer supporting UnityScript.

14

u/gavlois1 Jul 15 '18

Unity used to use a language called UnityScript which had a lot of syntax based off of JavaScript and the ECMAScript standard. I say used to because that has been deprecated as of a few versions ago and is no longer available in current versions of Unity.

Languages aren't all meant for some specific purpose though some are definitely much better suited to certain tasks. JavaScript mainly has been used for web development but with the recent push for killing Flash from the web, a lot of browser games are moving to HTML5/JS instead.

Java can be used for game development among other things, an example being Minecraft which is written in Java. Unity's current main language is C#, which could be called Microsoft's proprietary Java clone, which has very similar syntax and patterns. If you're learning Java in school now, it will definitely be very easy to make the jump to C# and Unity which was my experience.

6

u/Arucious Jul 15 '18

Java and JavaScript are completely different languages. Don’t let the names fool you. I would dabble in both if you have the time. A lot of legacy software, professional programs, as well as back-end stuff is all Java. JavaScript is used in line with CSS and HTML as part of the “front-end” so you very much have the right idea there. Unity uses C# (I think) which will be easier to adapt to once you know Java.

3

u/TinyLebowski Jul 15 '18

All true, but it should be mentioned that JavaScript is also a back end language language now. Node.js is incredibly popular and capable of almost anything these days. The JavaScript that our browsers understand are really only a small subset of the language. In Node you can use a lot of modern features of the language that makes it much easier to structure larger applications. And through NPM you get access to a ridiculous amount of community packages you can use or extend as you feel like. It's pretty similar to Python in that sense.

5

u/andavies123 Jul 15 '18

Unity uses javascript as well as c#. C# is way more closely related to java then javascript. And you are correct, javascript is used in web development but on the backend side (not too much on the design side). Both c# and javascript are used in unity, but i could be wrong but i think you have more freedom if you use c# over javascript, whereas javascript is an easier language to learn. Any corrections are welcome, i am not a trained professional!

0

u/[deleted] Jul 15 '18

[deleted]

1

u/Fusion89k Jul 15 '18

Javascript can run on both sides. The same can't be said for Java or C#. (ignoring applets)

1

u/[deleted] Jul 15 '18

Do people still use javabat?

1

u/techPackets_005 Oct 11 '18

How about the quality of problems in comparison to sites like HackerRank?

1

u/RubenPanza Jul 15 '18

Thanks, I'm going to try it out later.

0

u/Imabum Jul 15 '18

Does it support slq?

-1

u/MagicMajeck Jul 15 '18

Away from my computer right now, but I'm pretty sure it does support SQL

0

u/[deleted] Jul 15 '18

Oh my gosh this is really fun. Now I’ve found a game to procrastinate actual coding with.

-2

u/Its_Blazertron Jul 15 '18

Someone add this to the resources wiki page!

-3

u/ashy90 Jul 15 '18

thanks

0

u/rumblevn Jul 15 '18

Any hope for phone users? ;.;

0

u/[deleted] Jul 15 '18

[deleted]

1

u/timmense Jul 15 '18

I was bummed when I discovered codefights removed the 1v1 fights. Those challenges were great for practicing speed reading code and fixing bugs.

0

u/[deleted] Jul 15 '18

[deleted]

2

u/timmense Jul 15 '18

I'm assuming that's the arcade section. I love how you can read the top rated solutions after completing each problem. Learnt a few neat tricks.

-8

u/[deleted] Jul 15 '18

[removed] — view removed comment

6

u/Speedswiper Jul 15 '18

What is that link

2

u/PlaidPCAK Jul 15 '18

Wtf is that link

0

u/Noboty Jul 16 '18

A link obfuscated (not by my choice. I didn't even noticed until I tried to copy it) by startpage's proxy settings. Just look up the steam version if it bothers you so much.

1

u/PlaidPCAK Jul 16 '18

It's a bit offsetting lol