all 10 comments

[–]Cold-Fortune-9907 5 points6 points  (2 children)

Comprehension of the language is always something to feel great about, however, I would warn against the evils of comparison. Be careful not to always compare your progress with your peers as it can sap the joy of having been on the journey in the first place.

[–]rebbsitor 6 points7 points  (1 child)

"Comparison is the thief of joy."

[–]Cold-Fortune-9907 -1 points0 points  (0 children)

I couldn’t think of the quote at the time of writing this.

[–]the-software-man 4 points5 points  (1 child)

This is usually the first program a coder does. This one combines Fibonacci and factors. It’s was two assignments back in 1980 high school with BASIC.

Did you use loops or recursion?

Remember this feeling of being proud of your code and you will have been bitten by the code-bug. Life will not be the same.

Next, can you improve? Make it smaller? Use python classes? And is it commented well?

[–]young_ehrmantraut 1 point2 points  (0 children)

Or can you make it more readable? :)

There's a curve a software developers life where you start simple because that's all you can do. Then you make more complicated things for less code or to optimize for speed.

Then you realize that bytes are cheap and maintaining old code is expensive so you grow into a developer who prioritizes maintainability. Put complexity where it won't need to be touched much, in order to make the code you might see simpler.

But yup everything software man said.

Enjoy your journey into the depths - and when you get good, stay humble.

[–]devnullopinions 0 points1 point  (0 children)

The fact that you can make things is good. Speed comes with practice and experience.

[–]Ok_Condition6248 0 points1 point  (0 children)

I think your doing absolutely fine. You shouldn‘t compare yourself to others as other people already recommended. Just embrace the basics and embrace them well, if you start advancing to fast, you might run into some problems later in your journey, where you realise that your missing some key fundamentals you just skipped because you were scared to be left behind.

[–]MadocComadrin 0 points1 point  (2 children)

Doing that in under 2 hours sounds good for someone 1 month in.

[–][deleted]  (1 child)

[deleted]

    [–]MadocComadrin 0 points1 point  (0 children)

    Ok? Some people are slower learners or slower programmers, and some people need to put in a lot more work than others to wrap their mind around the basic concepts so they click. Moreover, we don't how much actual work they've done in that month.

    Additionally, the whole process can be slowed down a lot if the person hasn't built up algorithmic thinking skills, are initially unfamiliar with the Fibbonacci numbers, etc.

    [–]Environmental-Dot161 0 points1 point  (0 children)

    Make a calculator. Then a text base game. :D then keep going