@l0wk3y @p Go is a language I'm looking forward to trying out later! It seems pretty cool.

@yohanandiamond @l0wk3y Are you doing a tour of languages? That's awesome, I think too many people pick one and stick with it, but if you learn a new language, it changes how you write code in the other languages you know.

@p @l0wk3y yup, I'm trying out a new language almost every day this end of December and the month of January.

@Absinthe @yohanandiamond @l0wk3y Programming languages. :bwk:

When I do a programming language, I usually go with "Hello, World!", then 99 Bottles of Beer ( http://99-bottles-of-beer.net/abc.html ), then Project Euler #31 ( https://projecteuler.net/problem=31 ).
Follow

@p @yohanandiamond @l0wk3y@freespeechextremist.com

The first I put up was for 99 Bottles of Beer. However, I added the twist, that it has to output text only, no numerals. So it was for "Ninety-nine Bottles of Beer".

Feel free to give it a shot at :

qoto.org/@Absinthe/10280565958

@Absinthe @yohanandiamond @l0wk3y That's fun! I think you could save some effort by putting "ones" and "teens" into the same array.

@p @l0wk3y @Absinthe I'll take looks at these when I start today's session, thanks!
I've been setting something I call "HelloWorldX", which is a series of small tasks to explore the language. It's pretty messy, though, and I still need to adjust it a lot.

@yohanandiamond @l0wk3y @Absinthe Ah, yeah? That's cool.

The reason I like those two to follow up "Hello, World!" is that for 99 Bottles of Beer you get trivial loops and I/O, functions usually. Project Euler 31 lends itself to a lot of different styles, like pattern-matching or using a hash table to memoize calculations, it lets you play with the language some by trying out different data structures and things like that.

@p @yohanandiamond @l0wk3y@freespeechextremist.com I still want to find a good all purpose "Toy" program. I might dig through some of the AdventOfCode stuff this year, as I loved some of his problems. Getting interrupted half way through with my Tahiti trip (poor me :D ) kind of stopped me at day 10 for the time being, but I liked the potential of his IntCode computer and things like that.

Who knows, soon time to get back to coming up with more problems again. Feel free to participate or suggest some as well.

@Absinthe @p @l0wk3y I started late (on AdventOfCode) and did only one and a half day :P
I had to travel too, Internet was bad and I ended up losing motivation. I'll try to go back to it when I go back home.

Oh, one thing, @Absinthe what programming language are you using for AoC? I was using Rust.

@yohanandiamond I am using Python, but it is pretty language agnostic. I have seen results posted in just about every language I could think of.

@yohanandiamond @p @l0wk3y@freespeechextremist.com I encourage you to do so, at least a few days worth.

@Absinthe @yohanandiamond @l0wk3y Oh, you might like rosettacode.org, then. It's full of problems like that, and if you are learning something less common, there will be some algorithms that you can implement pretty easily.

@p @yohanandiamond @l0wk3y@freespeechextremist.com I absolutely love Rosetta Code. Got introduced when I was involved in an Ada to C++ converter project. It is super awesome, even just to peruse for finding out different languages exist.

@p @yohanandiamond @l0wk3y@freespeechextremist.com Sure you can, as well as other solutions too. 10 programmers 11 Solutions!

@Absinthe @yohanandiamond @l0wk3y ...Six of which require a Docker container in $current_year. :putin_wink:
Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.