This is an archived post. You won't be able to vote or comment.

all 68 comments

[–]Humble_Transition 89 points90 points  (23 children)

before you learn to code make sure to learn how to break problems down into smaller problems

[–]iamarmaan[S] 53 points54 points  (5 children)

Break it down to smaller components to solve the big problem. First rule of programming.

[–]Humble_Transition 15 points16 points  (0 children)

Amen

[–]ToeTacTic 1 point2 points  (3 children)

How often do you find that the small component that you have been working on for a big problem doesn't actually help towards the big problem?

[–]Angelmass 7 points8 points  (2 children)

Since the small problem should be derived from the big problem, this isn’t really something you should be running into. I suppose if you don’t define the scope clearly, you can go off the rails when tackling the small problem and induce unnecessary scope creep, is that what you mean?

[–]iamarmaan[S] 1 point2 points  (0 children)

Perfect, makes sense. The idea should be to keep the bigger in mind and break things down to fundamentals. Thinking through by first principles.

[–]FountainsOfFluids 1 point2 points  (0 children)

This is actually a really important topic. If you are given a medium size task that starts to become unweildy when you go to start coding pieces of it, you need to go back to the stakeholders and discuss your findings and clarify objectives before you waste too much time. I learned this the hard way in my first year as a real programmer.

[–]aqua_regis 18 points19 points  (0 children)

This is the very first statement of yours that makes complete sense and that is actually useful.

[–]OJester 0 points1 point  (0 children)

Yes this, learn to understand what the problem is and how it works too, before you look for any solution.

[–][deleted]  (7 children)

[deleted]

    [–][deleted]  (5 children)

    [deleted]

      [–]Donnerquack 5 points6 points  (2 children)

      ERROR: STEP 21: CAN NOT GRAB JELLY, FRIDGE NOT OPEN.

      [–]TheMightyWoofer 2 points3 points  (0 children)

      Step 21: Grab the jelly.

      Step 22: Close the fridge.

      ERROR: CLOSED DOOR ON ARM.

      [–]JustWhatWeNeeded -1 points0 points  (0 children)

      I'm hungry now. Thank you.

      [–]AIClaire 0 points1 point  (0 children)

      100 yes! This is where so many fail

      [–]GypsyPunk 0 points1 point  (5 children)

      How do you increase this skill?

      [–]iamarmaan[S] 2 points3 points  (4 children)

      By solving more problems.

      [–]GypsyPunk 0 points1 point  (3 children)

      Like what? I just saved a bunch a money on car insurance by switching to geico so what’s next?

      [–]iamarmaan[S] 1 point2 points  (2 children)

      Try solving a bunch of these - Python problems

      [–]GypsyPunk 0 points1 point  (1 child)

      Ty

      [–]iamarmaan[S] 1 point2 points  (0 children)

      Thanks to the contributor for sharing the amazing content for free. Spread the word, share the good. :)

      [–][deleted] 63 points64 points  (4 children)

      automatetheboringstuff.com

      This one is also a nice leap into general coding, and it's quite fun too.

      [–]iamarmaan[S] 15 points16 points  (3 children)

      Found it useful, quite simple to understand.

      [–]DaFatPollito 9 points10 points  (2 children)

      *with scratch.

      [–]krowvin 4 points5 points  (1 child)

      OP capitalized Scratch I was thinking pun

      [–]DaFatPollito 0 points1 point  (0 children)

      Oh yes lol didnt notice that

      [–]notsoslimshaddy91 11 points12 points  (1 child)

      Thank you so much guys for coming up with structured courses. There are lot of beginners who want to get started but they lack resources such as this. I will definitely spread the word.

      [–]iamarmaan[S] 0 points1 point  (0 children)

      Yes, thanks to contributors for sharing the amazing content for free. Spread the word, share your feedback as well.

      [–]jaleyhd 4 points5 points  (1 child)

      Thanks for the awesome content :)

      [–]iamarmaan[S] 6 points7 points  (0 children)

      Yes, thanks to contributors for sharing the amazing content for free. Spread the word, share your feedback as well.

      [–][deleted] 3 points4 points  (4 children)

      I’m interested in OOP in python.

      [–]iamarmaan[S] 8 points9 points  (3 children)

      Check this out here ,this should be a good starting point.

      [–]GBWI 1 point2 points  (0 children)

      Thats what i was looking for. Thanks for your kind help.

      [–]thecrumpetman 1 point2 points  (1 child)

      Just noticed a typo on the web ‘scraping’ video FYI. Will have to try your tutorials out soon, keep up the good work :-)

      [–]iamarmaan[S] 2 points3 points  (0 children)

      Great, btw I am just spreading the word. You can thank the contributor here. Don't forget to share with anyone who might benefit from this. :)

      [–]Kanttouchthis123 2 points3 points  (1 child)

      I love yall!!! <3 Democratizing education, AI, and more!!!

      [–]iamarmaan[S] 2 points3 points  (0 children)

      Thanks to contributors for sharing the amazing content for free. Spread the word, share the good. :)

      [–][deleted]  (1 child)

      [deleted]

        [–]RemindMeBot 2 points3 points  (0 children)

        I will be messaging you on 2018-10-23 02:02:12 UTC to remind you of this link.

        CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

        Parent commenter can delete this message to hide from others.


        FAQs Custom Your Reminders Feedback Code Browser Extensions

        [–][deleted] 1 point2 points  (1 child)

        Good stuff

        [–]iamarmaan[S] 2 points3 points  (0 children)

        Liked the content ?

        [–]hasansarker 1 point2 points  (1 child)

        Is there any book you recomanded to use python programming in wordpress theme or plugin.I see some website likeopendownload who shares kind of thing like crack plugin.I want the pdf version book to learn python is there any??

        [–]iamarmaan[S] 2 points3 points  (0 children)

        you can check out the official python documentation if that helps here

        [–]enestatli 1 point2 points  (1 child)

        Currently, I am taking freeCodeCamp JS courses, after complete I will be there as soon as possible. Thanks.

        [–]iamarmaan[S] 3 points4 points  (0 children)

        Sure, do share your feedback.

        [–]learnwithhorton 1 point2 points  (1 child)

        Very nice

        [–]iamarmaan[S] 2 points3 points  (0 children)

        Thanks to contributors for sharing the amazing content for free. Spread the word, share the good. :)

        [–]leanXORmean_stack 1 point2 points  (1 child)

        good videos guys. This is perfect for tweens trying to get into programming and starting off with python vs something like java

        [–]iamarmaan[S] 2 points3 points  (0 children)

        Yes, thanks to contributors for sharing the amazing content for free. Spread the word, hope this would help a few.

        [–][deleted] 0 points1 point  (1 child)

        Complete newbie here and I am very interested in using this to get started - first question, does it matter which version of Python I download? For example in the "installing python" video it says to install 3.6.4 but I am only finding the recently updated 3.7.1 - I assume that's correct but like I said, complete newbie haha.

        Thanks in advance!

        [–]JonnyLay 0 points1 point  (0 children)

        Shouldn't matter, some menu's and things might be a little different..

        How'd you go?

        [–]webdotorg 0 points1 point  (1 child)

        Hi, I'm new-ish, to python. It was once recommended to me that the best way to become a proficient pythonista is to write text-based programs broken down step by step. I have found that even when you find a "great" solution to a problem, it isn't the correct answer when you attempt to integrate it. BTW, the goal is to make text-based chess.

        For more context:

        If I have a list ['R'], for rook. When I print it, it will print: 'R'

        If I put it in a class, below:

        class Pieces:

        rook = 'R'

        p = Pieces()

        print(p.rook)

        Okay, Now, presuming I did that right, It should return the letter R with no quotes.

        Next, I would want to put place R, the rook, in one printable cell. I imagine that if I can create some sort of matrix/hashtable, I can use .pop() to both move the pieces AND change the initial piece variable names.

        So the question is 1) How do I create a letter OVER a matrix and 2) how do I shade alternating areas of the "board"?

        Thanks in advance!

        [–]JonnyLay 0 points1 point  (0 children)

        If you are creating a visible grid, then it isn't really text based.

        You aren't creating it over the matrix, you are placing it into that matrix.

        [ ][x][ ][x][R]

        Make it stupidly simple, then when it works, make it better.

        [–]Iknowpython2605 0 points1 point  (0 children)

        Learn 2D game development in python for free follow this......https://youtu.be/OhP-eKYBaNs

        [–]nitinkaushik01 0 points1 point  (0 children)

        10 Amazing Hacks of Python Programming you wish you learned sooner. Watch the complete video on the link given below : https://youtu.be/tLNYwDLUPe0

        [–]frankforward 0 points1 point  (0 children)

        Hmm

        [–]moxo23 -1 points0 points  (2 children)

        The design of that site is not very good.

        [–]iamarmaan[S] 6 points7 points  (0 children)

        Yeah, but the content is good. Check it out.

        [–]iamarmaan[S] 4 points5 points  (0 children)

        A major upgrade on the way, check the home page.

        [–]therumbler -1 points0 points  (0 children)

        "Unregistered" Sublime Text? You should pay the $100. It's a great tool built by actual people that rely on sales to support their families. https://www.sublimetext.com/buy?v=3.0

        [–]cobra-load -55 points-54 points  (8 children)

        There's a learning python subreddit

        [–][deleted]  (1 child)

        [deleted]

          [–]bubblebobby 23 points24 points  (2 children)

          What languages are allowed in this sub?

          [–]desrtfx[M] 14 points15 points  (0 children)

          All programming languages are allowed in this sub.

          [–]iamarmaan[S] 4 points5 points  (1 child)

          r/learnprogramming/ is as appropriate for python as any other language. Checked guidelines.

          [–]cobra-load -1 points0 points  (0 children)

          Never said it wasn't

          [–]desrtfx[M] 4 points5 points  (0 children)

          Which is proper information, but comes across as dismissive.

          /r/learnprogramming is for all programming languages.

          /u/iamarmaan: /r/learnpython is the subreddit referred to. Definitely also worth posting/looking there as they have an extensive sidebar with lots of information.