Live data from Hacker News

Ask HN: What do you code when learning a new language/framework?

news.ycombinator.com

161–170 of 171 posts

Re: Ask HN: What do you code when learning a new language/framework?

#161
I like using codewars.com for learning new languages. Just pick a language and start running through problems. I think the best part about it is that you can review other solutions after you solve the problem. Usually there are some really clever solutions that show off the features of the language, as well as clearer solutions that are a bit more idiomatic to the language and more in line with what you'd want to commit to production. For learning frameworks I usually just refer to the framework documentation and source code.

Re: Ask HN: What do you code when learning a new language/framework?

#164

Pokemon games!! All of the algebra is solved, and you can dig as deeply as you like in any direction you like. Graphics? Check. And simple, top down, tilesheet or character maps work just fine. Battles? Check. You can leverage anything from purely functional, object oriented, websocket, long polling, SQL, you name it. Whether you use 3 elemental types or flesh out everything from multiturn, semivulnerable, exp/leveli…

Do you have a tutorial ?! I'm super interested in this.

I started one! You people inspired me!

https://mikercampbell.gitbook.io/gotta-code-them-all/

Re: Ask HN: What do you code when learning a new language/framework?

#165

Pokemon games!! All of the algebra is solved, and you can dig as deeply as you like in any direction you like. Graphics? Check. And simple, top down, tilesheet or character maps work just fine. Battles? Check. You can leverage anything from purely functional, object oriented, websocket, long polling, SQL, you name it. Whether you use 3 elemental types or flesh out everything from multiturn, semivulnerable, exp/leveli…

GOTTA CODE THEM AAAALLLLLL!

I hope it's okay that I took this and ran with it!

https://mikercampbell.gitbook.io/gotta-code-them-all/

Re: Ask HN: What do you code when learning a new language/framework?

#166

Pokemon games!! All of the algebra is solved, and you can dig as deeply as you like in any direction you like. Graphics? Check. And simple, top down, tilesheet or character maps work just fine. Battles? Check. You can leverage anything from purely functional, object oriented, websocket, long polling, SQL, you name it. Whether you use 3 elemental types or flesh out everything from multiturn, semivulnerable, exp/leveli…

Is there a tutorial for the boilerplate for setting this up? Where would I even begin as someone who has never built any graphics.

I started one! You people inspired me!

https://mikercampbell.gitbook.io/gotta-code-them-all/

Re: Ask HN: What do you code when learning a new language/framework?

#168

Earlier quoted context omitted.

Is there a tutorial for the boilerplate for setting this up? Where would I even begin as someone who has never built any graphics.

I started one! You people inspired me! https://mikercampbell.gitbook.io/gotta-code-them-all/

That's awesome, the elixir example goes just to the point. Waiting to read more.

Re: Ask HN: What do you code when learning a new language/framework?

#169

Earlier quoted context omitted.

wow this sounds incredibly complex

Only as complex as you want to make it! My very first Pokemon game was a case statement where you picked your first Pokemon and it emulated the dialogue. My second attempt was before I knew about OOP or FP, and just had a C++ array that held Pokemon data in set indexes. That was during my first programming class haha

I do recall writing a text "battle" game in the Pokemon style with Harry Potter characters but that was a single battle sequence. It was also before I knew OOP and for my first programming class :) Your comment brought back some memories.

Re: Ask HN: What do you code when learning a new language/framework?

#170

Earlier quoted context omitted.

Only as complex as you want to make it! My very first Pokemon game was a case statement where you picked your first Pokemon and it emulated the dialogue. My second attempt was before I knew about OOP or FP, and just had a C++ array that held Pokemon data in set indexes. That was during my first programming class haha

I do recall writing a text "battle" game in the Pokemon style with Harry Potter characters but that was a single battle sequence. It was also before I knew OOP and for my first programming class :) Your comment brought back some memories.

Do you still have the code?? I don't have mine but I'd give anything to see it again!

And I love the sound of that game!

Post reply on HN