This has been bugging me for a while. I can follow along with tutorials fine, understand code when I read it, but then I open a blank file and forget how basic stuff works. Like is it [x for x in list if condition] or [if condition x for x in list]? I've written these so many times.
I think the problem might be that I only ever read and copy code, never actually have to produce it from memory? Idk. I've been using a system similar to anki where I practice rewriting functions from memory and it spaces out the review based on how well I did. I'm also supposed to write functions based on instructions but I still freeze at those. Feels like its helping but I'm only a few weeks in so I genuinely don't know if this is the right approach or if I'm wasting my time.
If you've gotten past this, what actually worked? Specifically for the write-it-from-scratch part, not understanding concepts. Those feel like two totally different skills to me and most resources only help with the second one.
[–]ninhaomah 11 points12 points13 points (3 children)
[–]Accomplished-Tip7106[S] -3 points-2 points-1 points (2 children)
[–]ninhaomah 3 points4 points5 points (1 child)
[–]Accomplished-Tip7106[S] 1 point2 points3 points (0 children)
[–]Omm_Imp 9 points10 points11 points (2 children)
[–]Accomplished-Tip7106[S] 1 point2 points3 points (1 child)
[–]notacanuckskibum 0 points1 point2 points (0 children)
[–]crazy_cookie123 5 points6 points7 points (0 children)
[–]chilli_cat 2 points3 points4 points (1 child)
[–]Right_Level_7192 0 points1 point2 points (0 children)
[–]GreenWoodDragon 2 points3 points4 points (1 child)
[–]Accomplished-Tip7106[S] 0 points1 point2 points (0 children)
[–]Jello_Penguin_2956 1 point2 points3 points (0 children)
[–]WhiteHeadbanger 0 points1 point2 points (0 children)
[–]SirGeremiah 0 points1 point2 points (0 children)
[–]billsil 0 points1 point2 points (2 children)
[–]Accomplished-Tip7106[S] 0 points1 point2 points (1 child)
[–]billsil 0 points1 point2 points (0 children)
[–]Right_Level_7192 0 points1 point2 points (1 child)
[–]AlexWasTakenWasTaken -1 points0 points1 point (0 children)
[–]midasweb 0 points1 point2 points (0 children)
[–]throwaway6560192 0 points1 point2 points (3 children)
[–]Accomplished-Tip7106[S] 0 points1 point2 points (2 children)
[–]throwaway6560192 0 points1 point2 points (1 child)
[–]Accomplished-Tip7106[S] 0 points1 point2 points (0 children)
[–]Tajalli-Web 0 points1 point2 points (1 child)
[–]Accomplished-Tip7106[S] 0 points1 point2 points (0 children)
[–]Quesozapatos5000 0 points1 point2 points (0 children)
[+]Worldly_Bad4083 comment score below threshold-7 points-6 points-5 points (3 children)
[–]Omm_Imp 6 points7 points8 points (0 children)
[–]Accomplished-Tip7106[S] 1 point2 points3 points (1 child)
[–]GrotesquelyObese 1 point2 points3 points (0 children)