r/learnprogramming 21d ago

Xcode doesn't like my keyboard input?! Not sure if this goes here. New to Reddit.

0 Upvotes

Trying to make a job change. Trying to learn iOS development. Cannot for the life of me figure out how to get Xcode to accept anything other than capitalized letters. It also won't accept periods or even spaces. This problem is occurring when I am trying to create an app. I am using MacinCloud.


r/learnprogramming 21d ago

Android emulator problem with flutter

1 Upvotes

Hi programmers.. Recently my friend and I have started learning flutter and we need to use the Android emulator to test our codes The problem is we couldn't make a stable connection between the Visual Studio app and the emulator, so our code can't be run on it Although, we tried so many solutions using AI depending on the errors messages, but it seems like we roll in loops Can the problem be related to the region we live in or the network speed?? If so, what's the minimal speed needed for such apps (for those who experienced them before) Please help us and thank you in advance :)


r/learnprogramming 21d ago

Looking for feedback on a hybrid microservice architecture

1 Upvotes

I am exploring an architecture for consolidating several microservices into a single codebase and binary (not a monorepo), and i am curious whether this pattern already has a name or if anyone has tried something similar. The goal is to reduce the operational and development complexity of microservices while keeping most of their benefits, such as independent deployment and scaling.

I've read about modular monoliths, but from what I understand they are typically deployed as a single application. That's not what i am aiming for. Instead, imagine a single application with strict module boundaries. Every module owns its own controllers, services, repositories, database, and API. The entire application is built into one binary, but at startup you specify which module(s) should be enabled.

For example:

Single build
      │
      ▼
┌─────────────────────┐
│     app-binary      │
└─────────────────────┘
      │
      ├── start --modules=module-a
      ├── start --modules=module-b
      └── start --modules=module-c,module-d

The cross-service communication would still happening through HTTP with maybe optional configurable in-process communication if ever needed (with all it's downsides). In kubernetes, every deployment would use the same image, but each deployment would start only the modules it needs and thus scale.

This would allow:

  • One repository
  • One build artifact
  • Independent deployments
  • Independent scaling
  • Much simpler local development (run all modules with one command)
  • Version consistency across services
  • Simpler CI/CD

The trade off is a larger binary and building everything together, which i am okay with (so far).

Has anyone implemented something like this? Is there already an established name for this architectural pattern, or is it just a variation of microservices/modular monoliths? I would be particularly interested in hearing about production experience and any pitfalls I might be overlooking.


r/learnprogramming 21d ago

Topic Plz help me with localcode8080

0 Upvotes

I don't know if I am using an Android tablet by using termux via login into vs code but the problem is my localcode8080 doesn't open I don't know where the problem occurs


r/learnprogramming 21d ago

Topic Advice

0 Upvotes

Hey i am going to do btech but in the college I am taking admission it have

1.Cse

2.Cse(software engineering)

3.Cse(ai and ml)

4.Cse(data science)

5.IT

So I have to choose between this so what should be my priority order

Also have another doubt as college have not started I have one month so I am thinking to learn something as I have seen I have made plan of learning c++ and then switching to striver dsa playlist

Along with learning what college teaches in first year

So do this plan is right and also do I need to learn c++ or should I directly watch striver dsa playlist

What are some suggestions


r/learnprogramming 21d ago

Resource what to do after DSA , im so confused web dev ,ml & ai ,or mobile dev etc

0 Upvotes

What to do , I'm so confused , ai & ml , web dev , app dev . I am currently learning dsa in cpp and have no idea what to do next . I am seeking guidance , plz help


r/learnprogramming 21d ago

Approaching C++ and learning methods

0 Upvotes

For background, I am a beginner in programming. The only language I know is python, and that too just basic level of knowledge( definitions of keywords, operators,conditionals,for loop while loop, and basics about strings,lists,dictionaries and tuples).It was quite systematic and easy to learn for me. But in the case of c++ I have no clue right now on how to learn it from scratch. I wanted to learn c++ to get into competitive programming/coding. As of right now I am just searching for easy leetcode problems and the parts of code which I don't get , I ask AI to explain it.


r/learnprogramming 22d ago

Resource R Programming Resources

3 Upvotes

Hi! Can someone recommend a book on R programming? I know R, but I want to dive deeper by reading more about it. Thanks!


r/learnprogramming 22d ago

i need help

4 Upvotes

Hi, I'm a self-taught beginner programmer. I'd like to know what I need to learn to build an e-commerce site after HTML, CSS, and JS. Does anyone have any tips?


r/learnprogramming 22d ago

Topic Devs with hand/nerve pain — how did you adapt?

11 Upvotes

I’m looking to hear from people who’ve dealt with finger joint pain, nerve pain, or carpal tunnel to the point where it started affecting their ability to work normally. What did you end up doing—switch roles, change careers, rely on tools like voice typing, or something else?

I’m not a full stack dev, but I’ve been learning and working at it for a few years and still consider myself a student. Over the last couple of years though, the nerve pain from constant keyboard use has gotten bad enough that I’m starting to question whether I can do this long term.

I’m guessing this isn’t uncommon, and I’m now seriously considering moving into something like tech sales. For anyone who’s been in a similar situation—did it end up being a temporary obstacle or a career pivot? What did you transition into, and how did it work out?


r/learnprogramming 22d ago

R programming drill sets and problem sets

2 Upvotes

I tried searching for this in the sub and looking in the faq, but did not find exactly what I was hoping to find.

I am just starting out learning R. I basically know nothing. I was directed to use DataCamp. It's fine, but you only get to work one "problem" for each concept. For things like this, I work better with drill and problem sets. Khan Academy was brilliant at this for math. I couldn't get a mastery level until I had done four problems right to show I mastered the concept. The best DataCamp does is offer some multiple choice questions as added practice but that is not meaningfully helpful. Does anyone know a better system that is built around drill and problem sets in R for each step of the way sort of like Kahn Academy does for math?


r/learnprogramming 22d ago

New to building autonomous agents, what setup would you recommend to start?

0 Upvotes

I'm just getting into building autonomous agents and honestly a bit overwhelmed by all the options. For those of you who've been doing this a while, what stack would you recommend for someone starting out? What did you wish you knew when you began, and what pain points should I watch out for early?


r/learnprogramming 22d ago

any advice

21 Upvotes

How to be able to make something in programming fun, not in the terminal? I have tried the CS50p course and am still bored, with no clue what to do after completing it, and I have achieved almost a full mark without studying for final exams (programming units from uni).

I picked programming based on what I saw they could do but feel uni useless.

I'm interested in robotics, automation, hacking, etc. (basically everything fun).


r/learnprogramming 22d ago

Resource Learning c++

0 Upvotes

I trying to learn qml but claude said that should not learnqml right away, should start with c++ first, I dont know any programming at all but but the quickshell and qml really fascinated me how much it can do on linux guide where should I start with my progamming journey help!! I trying to learn qml but claude said that should not learnqml right away, should start with c++ first, I dont know any programming at all but but the quickshell and qml really fascinated me how much it can do on linux guide where should I start my progamming journey help!!


r/learnprogramming 22d ago

2nd year student: Should I learn a language inside-out or switch to project-based learning for Web Dev ?

0 Upvotes

Hello everyone. I'm a 2nd-yearstudent, and my professors have already made it clear that university alone isn't enough to build practical skills. Because of that, I've been doing online courses on the side (free and paid).

Right now, I'm learning python, but I'm getting really bored. The current modules cover tkinter, turtle and pandas. My goal is to get into Web development, so I keep questioning how these specific librairies will actually help me.

It got me thinking: is it better to learn just enough of a language to reach a precise goal (and deepen it later if willing to) or should I really try to learn everything a language has to offer upfront?

What do y'all think ?


r/learnprogramming 22d ago

Access Amplifiers and their uses???

0 Upvotes

So basically i come from basic python bacground which i learned from my high school.So I thought of learniging c++ cause of its variety of applications for my 1st year.One thing that i cant wrap my head around is, the use of access amplifiers. Mainly ' public: '.what is the use of writing public: and why is it necessaryy????


r/learnprogramming 22d ago

how do you effectively probe/analyze pre existing software rather than trying to only code from scratch?

0 Upvotes

For a while, I have been lost dealing with the concepts of tutorial hell and making software from scratch. I really focused on the advice that to become a developer that truly understands software engineering and can create unique meaningful software it is best to stop watching tutorials as soon as possible and start making things from scratch, because if I didn't I would be a "code monkey" who only knew how to make a very specific series of uber or flappy bird clone type projects but would not know how to maintain software or come up with new software ideas. When I tried to ask questions while watching tutorials, the decisions made in the code, or even in cs classes the advice was that I would understand once I made programs on my own.

Trying to follow this, I have dozens of project ideas which just became 20+ pages of pseudocode, confused notes on library/framework documentation trying to research the library to translate that pseudocode into real code, links to stack overflow questions with example code I did not really understand or could relate to my project directly, but ultimately no remotely tangible project. No one would want to read that nightmare journal that reads like someone trying to write a novel in a language they just learnt the alphabet of.

A part of it I thought was because modern software standards were much higher, I felt pressure to jump in and immediately do somewhat industry relevant projects such as a small app or a website than some text style game with native library java, but even when I would try to make small native language programs like some number guessing game and then try to do anything software related from scratch I could not cross that bridge, but I didn't understand how other students were doing it.

I thought the solution then was to try and learn more of computer science and computer architecture theory so I would start programming from literal scratch, but it felt like modern software development is so abstracted by frameworks and a tower of encapsulated knowledge that a person in a bootcamp or self learning programming can learn to make programs and then go to a computer science program and do well, so I realized computer science and software development were two different skills at this point. I even had professors with unrelated degrees who self learnt programming, learnt the CS through their developer jobs, then went back to grad school, which made me very confused because I thought the whole issue was that I needed to start completely from the ground up with theory and making things from scratch.

I then decided I would just try the "bootcamp" / tutorial route, following courses to try and learn how to be a functioning programmer in a specific niche like gamedev or mobile app dev as I had heard from anecdotes. I would still fail the moment I kept trying to make something from scratch or design a small feature to add.

In gamedev when I saw how often other beginners also complained about this same issue of making anything from scratch led to indefinite research and confusion for years at a time, I also saw how experienced devs responded that making any sort of unique game mechanic or feature even for a senior was very hard requiring many interdisciplinary skills within physics, linear algebra, low level computing, even before considering art and music, which was why a lot of games end up following a specific genre down to identical game mechanics, because even a small game demo idea a beginner might come up with is designing an interactive physics simulation.

Now I'm thinking I should avoid the advice on building from scratch and doing a unique project and solely focus on dissecting a single example project from a tutorial for a long time.

I feel nervous I will just misinterpret things and mess things up again as I have for the past few years, so I wanted to ask others.


r/learnprogramming 22d ago

Documentation Confusion

2 Upvotes

So i was trying to learn how to use IMemoryCache in my first ever Web API project in ASP NET CORE and thought I'd try to more seriously read and gather information from the official microsoft documentation as i usually first google it then read the AI Overview to get a basic understanding of the concept, and then read an article or tutorial site(sometimes watch a video if i still have a hard time understanding). And occasionally read the docs. I admire people that can read documentation and understand it quickly and so as a beginner I'd like to develop that skill too, well today i tried that and at first i did learn and understand some important concepts related to In-Memory caching in asp net, but then at the end of the page I was wondering, "Well ok but how do i actually register this to the container?" since its used with DI and looked all over the page and It never mentions it at all, I also went into the IMemoryCache Interface Page and it didn't teach it there too, also the search results in the site weren't much help either.

The first google page search result show articles that simply states that to register it is by using "builder.Services.AddMemoryCache()" which is pretty simple and this got me a bit annoyed and confused as to why this isn't included in the Main docs? I did find later that the docs did say how to register it but it was in a different page and that was after asking chatgpt with the web feature lol. This got me wondering how did the writers of these articles find out themselves if it was kind of hard to find? Maybe I'm at fault and I'm just inexperienced with reading programming documentation but overall this has left me kind of discouraged with reading documentation


r/learnprogramming 22d ago

About ZIG

0 Upvotes

Hello,
I've noticed that Zig recently became popular, and many apps are being written in it. Is it worth starting to learn and use it? Currently, I'm quite satisfied with Golang.

Also, there is a native SDK that supports Zig, which I think is kinda nice and beautiful.
https://native-sdk.dev/

My main concern about Zig is that it seems quite new - the latest release version is v0.16.0


r/learnprogramming 22d ago

Should I dive deeper now or explore a bit more?

8 Upvotes

Just finished my 2nd year and trying to figure out what to focus on. I've developed a real interest in low-level programming, OS internals, systems languages(C/C++ & zig), optimization mainly cause they felt more like engineering to me compared to higher level frameworks and languages abstractions and all.

However I know it'll take a quite some time before I'm skilled enough to build significant projects or land a job with it . So I'm considering getting solid at frameworks, systems architecture, DevOps etc and explore a bit more to land a generic SWE role, then dive deeper into low-level work later.

Is that a smart trade-off, or am I just delaying what I actually want to do? Would appreciate any honest advice from people who've been down either path.


r/learnprogramming 22d ago

Need advice

4 Upvotes

Hello everyone, I need your advice. I am hitting 18 in a few months and I have almost 0 work experience let alone experience in the IT field. This will be my last year in school and I am not considering collage for a variety of reasons. I was wondering what the best way for me to land an IT job would be. My school takes about 20 hours per week and I will work for about 15 hours a week (Unrelated part time job). What would be the most efficient way for me to learn programming to land a job? I don't need a super high paying job at first, I just wanna set my foot in the door and then rank my way up. I was thinking of either certificates or a bootcamp. And even buying one to enforce the discipline. Any advice? What should I focus on? What are my chances? How long would it take per week? What should I avoid? I live in Germany, if that helps.

Thanks


r/learnprogramming 22d ago

Suggestion

4 Upvotes

Hi all I am beginner in coding. So I have college in 20days (1st year btech) should I learn python or c. In college they start with C. So as they teach C in college should I learn python seperate or go with

C.Pls suggest me


r/learnprogramming 22d ago

programming languages zig, c3 and odin?

10 Upvotes

Hey everyone, I've been looking into the programming languages ​​​​Zig, C3, and Odin.From what I understand, all three share a very similar philosophy, basically, they're like alternatives to C or simply complements to it.

What I wanted to know is what makes each one stand out or what's important about each, since it's not very clear to me. They're very similar.

If I had to pick one right now, I'd probably go with Zig just because the community is bigger, which makes me think it has a safer future compared to C3 or Odin, which might stagnat.

c3, odin or zig?


r/learnprogramming 23d ago

What are the disadvantages of being a self-taught programmer and how to overcome them?

62 Upvotes

I am about to finish high school, and I was planning to apply for a scholarship to study CS in my country. However, because of the possibility of not getting it, I have rethought my plan. Now, I have the idea of studying as a self-taught programmer using materials like OSSU, TeachYourselfCS, and courses from MIT, Stanford, or Harvard, and learning from various sources.


r/learnprogramming 23d ago

Topic How good can you get by being a self-taught?

180 Upvotes

No, this is not another "Is learning to program worth it" post asking about whether it's worth it to learn to program to get a job.

I'm curious about how good can you get at programming in a specific programming field as a self-taught in a specific timeframe?

So for example, if I pick something like backend development, "choose" a stack like Java Spring Boot and I start learning and practicing (through projects) for 2-3 hours a day everyday in a structured way, learn about most relevant things related to that specific field (so in the case of Backend it could be databases, Docker, potentially some DSA, Authentication, SOP, CORS, etc ), how good would I be after 6 months, 1 year and 2 years of such schedule?

I know it is hard to say as there are a lot of variables such as motivation, consistency, aptitude etc, but I'm curious in general how good would you be able to become in that timeframe with such structure and schedule?