Reddit » Learn Programming
2,709 FOLLOWERS
Learn all things programming with this Reddit community. Communicate with other developers or language enthusiasts, ask them for help related to any language, discuss operating systems, talk about code translating logic, and more.
Reddit » Learn Programming
3h ago
Can anyone give me some recommendations for different beginner programming books?
submitted by /u/Ok_Piglet_8721
[visit reddit] [comments ..read more
Reddit » Learn Programming
3h ago
I’m a first year cs major w 0 background knowledge (except some HTML at A level if that counts). At uni, we’re learning java and just started OOP, so hopefully i don’t really need to spend my time learning the language myself (except personal projects, but those come later).
I am also doing online courses to learn HTML/CSS but i’m lost on what to do after that and honestly quite overwhelmed… do I do projects? Although i don’t feel like I’m equipped w enough skills to start one just yet .. do i learn something else like JS? i have no idea where to go from here so any guidance would be helpful ..read more
Reddit » Learn Programming
3h ago
Hello there, I started learning coding at university about a year and a half ago with no prior experience, but I’ve really started to enjoy it recently. This semester, we were expected to learn concepts like FSMs, iterators, recursion, and more. However, I don’t feel very proficient in anything beyond ArrayLists and basic loops. I barely managed to get through the final project (a movie database), and even then, I had to rely heavily on external resources and help from others. I should also mention that I only know Java, as that's the language my school uses. It’s been tough balancing calculu ..read more
Reddit » Learn Programming
3h ago
I have this
[x for x in range(3)]
how would I add another variable and loop so it looks like this
[(x, y) for x in range(3) for y in range(3)]
I've tried to do something like
g = []
g.append(x for x in range(3))
g.append(y for y in range(3))
But they seem to be individual generators, is there away to programmatically combine them? My python knowledge isn't the greatest. Chaining them together seems to create one big list but I want to keep them as individual tuples.
I know this can be accomplished with nested for loops and returning a single tuple with each element from each loop, but the aim ..read more
Reddit » Learn Programming
3h ago
I'm not sure how much information I should provide, but this is my code. Google collab works very much like Python and r(?) but I am currently trying to create a TableOne. The code worked just fine yesterday but I keep getting KeyError: 'SMOKING_LUNG_CANCER' (indicated with a * below) I've also included the packages I have imported. It works just fine if I groupby one variable, but smoking and lung_cancer are two different variables.
import numpy as np import pandas as pd #!pip install pandas<2.0.0 import matplotlib.pyplot as plt import seaborn as sns import matplotlib.pyplot as plt !pip ..read more
Reddit » Learn Programming
3h ago
Context: I’ve been learning for about a year now and I’ve used CS50, Automate the Boring Stuff, and FreeCodeCamp. Odin Project is next.
The most ubiquitous piece of advice I hear about learning programming is to focus on the fundamentals over learning languages and memorizing every last detail of them. That said, what are some good resources or best practices to learn about the fundamentals of coding without letting the minutiae of programming languages get in the way? I’ve mostly been learning Python, which isn’t too hard, but I do feel like I get caught up in things like syntax and other th ..read more
Reddit » Learn Programming
3h ago
I know my question might be a little strange, I come from an artistic background were my hobbies used to be making 2d animations and playing piano. Now I'm a developer but I still kinda like playing piano, but I've realized most developers hobbies are usually playing video games or more coding for fun. Does this mean I'm not a good developer?
submitted by /u/Itsrussellwhite
[visit reddit] [comments ..read more
Reddit » Learn Programming
3h ago
Can someone help me with putting a windows based program on a local server or my database on the local hard drive. Basically it's a program that the database is accessed on a web based server and the company is no more and will be turning off the servers at the end of the month.
submitted by /u/z07z06
[visit reddit] [comments ..read more
Reddit » Learn Programming
3h ago
So, my knowledge with programming and computers in general is close to zero, but it has always been a subject I had some curiosity to understand and I think I want to learn some programming, either as a hobby, something I could use to my advantage in work, or maybe even a future career opportunity.
I’m currently at college, and next semester we will start using computers in our classes, so I’m planning on getting a new computer next year and I thought it would be a great opportunity to test some coding skills and download a few programs.
So, I’m asking you guys for some recommendations on whe ..read more
Reddit » Learn Programming
3h ago
I am new-ish to Python, and am having the most impossible time trying to get a Django project off the ground to work with AWS Cognito for my user auth and custom attribute management to fetch data from my application. Is there anyone out there who could lend a hand or has done this before?
submitted by /u/starck182
[visit reddit] [comments ..read more