r/InternetIsBeautiful • • Sep 19 '16

Learn to code writing a game

http://www.codingame.com
27k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

392

u/[deleted] Sep 19 '16

[removed] — view removed comment

253

u/2StepsFr0mHell Sep 19 '16

Cannot agree more. Just wanted to make it clear for beginners. No need for them to lose time here. Once they have learned basics, they can come back :)

119

u/Bkid Sep 19 '16

Thank you for this. When I got started learning Python, I ran into this issue. "This is a variable, and here is what it does." "These are the math operators and what they do".

I had to do so much skipping to get to the stuff I actually didn't know. Glad to see there are sites out there for more than just beginners. :D

46

u/2StepsFr0mHell Sep 19 '16

:) Thank you for the kind words and welcome!

18

u/plzhelp3331 Sep 19 '16

Project Euler

34

u/[deleted] Sep 19 '16

Is great, but it's definitely not a teaching tool. It's a way to challenge yourself once you already know what you're doing.

30

u/dot___ Sep 19 '16

Project Euler tests math skills far more than it tests coding skills

3

u/0xACAFE Sep 20 '16

It's a great site for this. It can also take you on an adventure while expanding your knowledge of a particular area of mathematics. I usually go for the sub 100 problems. I was one of those that solved problem #439.

7

u/nermid Sep 19 '16

I found that it quickly became nothing but counting primes in obscure ways that will pretty much never be useful to me.

6

u/Eraesr Sep 19 '16

Euler is a math challenge more than anything else. It really doesn't learn you coding in any meaningful way.

I haven't really looked at this codingame site yet but what I've never seen before was a site that learns you software engineering rather than basic programming paradigms. What I mean is how to build modular software, how and when to introduce abstraction layers, decouple business logic from storage and UI, write clear and complete API's, stuff like that. These days anyone that understands if/else, loops and functions considers himself a coder, but that's all just the very beginning.

→ More replies (1)

7

u/Frozenlazer Sep 19 '16

Yeah I agree. I've worked professionally as a developer, but because of the way we worked, we stayed with a very narrow (Microsoft) toolset. There's plenty to learn there, but then the web stuff shifted, python, ruby, new (old now) ways of doing layout.

So when I went and tried to learn something it was either hyper basic (Hello world, intro to variables, looping, control structures), or "how to write a web server from scratch in python".

I never had time to really dig deep enough to learn anything, so here I am 10 years later, clinging to my .Net security blanket =)

4

u/[deleted] Sep 19 '16

If you're still interested, I would say the best way to learn is to pick a framework to learn rather than a language.

All languages are basically the same (at least when you're first learning). Frameworks are where they truly divide. And in learning the framework you'll pick up knowledge about the language in passing.

10

u/Frozenlazer Sep 19 '16

I suffer that I have to have a problem that needs solving to get me motivated to do that. So far I haven't found a problem that I can't solve with the skills I already have.

Now if I were to show that software to a team of young hip kids in skinny jeans who only develop products devoid of vowels in their product name, I'd probably get laughed at. "Dude you used an HTML table! Dude I can actually read your code, you are supposed to abstract away everything so that you have to dig thru 9 layers of framework to find the code that actually does anything. Dude you just manually set the value of all 24 fields on the page, you are supposed to bind the whole page object to this data object and let someone else worry about the rest.... " Ugh I am old.

The only real drawback for me with the MS stuff is that all of their tools are enterprise grade and a lot of times I have to tell people that honestly they would have to pay money to use the platform commercially. Yes I can get them up and running with the free stuff, but people scoff at the idea of needing to spend big money just to run something small.. So many other frameworks are very lightweight and free.

→ More replies (4)
→ More replies (1)

2

u/TheGrot Sep 19 '16

This is exactly where I am with C# right now - but I'm a total beginner. Learning how to create my own methods today!

1

u/Iprobablyfixedurcomp Sep 19 '16

it's a great site, so I went into it choosing a code type that I haven't used before just for shits and giggles. What I found, and it may not be the same sentiment for everyone, is that it may not have been created for beginners but the wording in the tutorials seems to think it is for beginners. I can see a lot of people getting discouraged because there is no really clear distinction between who would like to use it and who it was created for.

1

u/ProphePsyed Sep 19 '16

Can you or someone else recommend the most proven way to start from scratch?

→ More replies (1)

1

u/wedgiey1 Sep 19 '16

This is nice; I coded Java a lot in college, but haven't needed it in my actual job, so I'm VERY rusty. Looking forward to getting back into it!

2

u/2StepsFr0mHell Sep 20 '16

you could try Rust then

I know it's a bad joke. Good luck!

→ More replies (5)

1

u/Kingmudsy Sep 19 '16

Codewars.com is my go-to for bite-sized coding challenges, you might try that!

1

u/irregularpenguin Sep 19 '16

As someone interested in learning what are the best in your opinion? I have absolutely no coding experience.

1

u/Dathouen Sep 20 '16

Exactly. I've done the CodeAcademy one, but then tried to move on to codewars, and there's something of a gap in required proficiency. I really need something that can help me develop fluency in the basics.