Live data from Hacker News

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

news.ycombinator.com

31–40 of 171 posts

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

#34
I always start with a ship project.

My project of choice, for the last ten years, has been this little "toy" app: https://littlegreenviper.com/portfolio/nacc/

When I finally start learning SwiftUI, for real, I'll do a version of that.

I find that it is a good idea, for me, to always be writing for ship.

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

#37

I’m a backend dev. To learn a new language, I’ll make some CRUD app with REST endpoints with some form of authentication. I’ll pick the popular web framework, database library, json library, etc. and try to build it. I might even look at logging. This will help me expose all their popular libraries and features that’s relevant for my day job.

Plus Auth and publish and you will probably get followers. Annoying how many new things disregard Auth then CRUD is where 90% of monetization has existed on web to date.

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

#38

The whole idea of implementing something useless to learn a tool is deeply flawed and it is sad that most of our schools and universities still follow this practice

Some of us just really like digging through raw Martian Elevation data and turning it into models or textures or whatever. And learning a new language while we’re at it is a nice (intended) side effect.

If we could just “learn the language” cold we would. By all means, if you have something “useful” you need to do, prefer that. But we don’t always have that on hand, and fun toys are a good substitute.

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

#39
post #4

The thing that my job is requiring me to do. Trial by fire. But also after the 4th or 5th language and Nth framework, it gets much quicker to pick up new ones.

This.

Also: If I do not immediately have enough paid work, I brainstorm a side project which could feasibly use it.

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

#40

I'm an embedded/real-time/systems software developer. The realms I work in tend to be either the very small or the very large. When I wanted to learn Rust and Go, I coded the same application in both of them, one that I had previously coded in Java, C++, and C: I implemented the Generic Cell Rate Algorithm using a virtual scheduler. The GCRA is a traffic shaping algorithm that takes as parameters a desired peak rate,…

Nice example, good writeup, cheers for that.
Post reply on HN