Luke Hartley is ready for a certificate

Back to Certificate Requests forum

Luke943     2021-01-03 14:05:21

Hi there!

I started programming recently just for a hobby. The problems on Code Abbey have been a lot of fun and taught me a lot.

Thanks a lot to all who contributed to it.

Rodion (admin)     2021-01-07 16:57:05
User avatar

Luke, Hi!

Thanks for your kind words and your "strike" through our problemset :) For one who "started recently... for a hobby" your feat is quite impressive - it took just about 1 month! I wonder how recently you get acquainted with coding - is it about few months or few years - and it looks you use at least two languages freely enough!

Your certificate is ready and attached to your profile! Congratulations!

If you don't mind I dare to share small thought I had when browsing some of your solutions: it seems you are already confident enough with general usage of your chosen languages - but probably it is the time to start concentrating on, eh, "finding better approaches". E.g. in "Instrument Tuner" code you use long if-else chain - there is nothing (almost) bad about it, but the code could be just two lines instead.

    if (note == 0 || note == 1)
    {
        ch = 'C';
    }
    else if (note == 2 || note == 3)
    {
        ch = 'D';
    }
    else if (note == 4)
    {
        ch = 'E';
    }
    else if (note == 5 || note == 6)
    {
        ch = 'F';
    }
    else if (note == 7 || note == 8)
    {
        ch = 'G';
    }
    else if (note == 9 || note == 10)
    {
        ch = 'A';
    }
    else if (note == 11)
    {
        ch = 'B';
    }
Luke943     2021-01-08 13:22:38

Thanks, Rodion.

I started learning coding languages about 2 months ago. Had a lot of free time recently and this seemed like a fun and potentially useful thing to do.

I've done a maths degree and it seems like that has a lot of similarities between solving maths problems and coding problems. That probably helped me get started.

Also, thanks for the feedback on my code. In the example above, I suppose putting the characters in an array and then looking them up would be a better approach? Will try to think about that more in future.

Have you got any tips on what I could try doing next after solving your problems?

Arman Cam     2021-01-08 13:31:06
User avatar

If you have a math degree you should definitly look Project Euler. The site has 731 question and most of them are extremely hard and requires good math knowledge to solve.

https://projecteuler.net/archives

Rodion (admin)     2021-01-08 13:44:34
User avatar

I'd say that Project Euler was the inspiration for this site :) but it is quite well-known resource and Luke probably have seen it too :)

after solving your problems?

Much depends on your goals. There are people who mainly like to solve programming problems for the sake of fun - here is a field of "Competitive Programming" and most popular resource (with regular contests) is CodeForces, I believe.

On the other hand most people are interested in writing some larger projects, rather than doing exercises. Well, for this one mainly should start implementing any such projects which came to mind. You can find lists of "project ideas" just by googling if it is hard to come up with ideas (here is one of them) - or you can look at hyperskill.org, there are exercises arranged as medium-size projects.

I suppose putting the characters in an array and then looking them up

Yep, it is what came to my mind, though perhaps there is even some subtle way to write direct formula (but though it may be more clever, it won't be more clear, I believe).

Luke943     2021-01-08 18:07:25

Thanks both Arman and Rodion for suggestions :) That gives me plenty of options to look into.

Project Euler is a site I've heard of, but have never given a go. It looks interesting so I will give it a try sometime.

Starting some kind of larger project also sounds like a great idea.

In addition, I started on <a href="http://www.pythonchallenge.com/">Python Challenge</a>, which is a series of 33 crytic puzzles. It's very cleverly done in my opinion.

Please login and solve 5 problems to be able to post at forum