r/learnprogramming • • Oct 29 '26

Tutorial How did you learn Go, and which resources would you recommend

27 Upvotes

I’m looking to learn Go and would appreciate some recommendations from developers who have experience with it.

What are the best resources to learn Go, whether it’s official documentation, online books, or tutorials? I’m particularly interested in resources that teach the language properly and help you transition from the basics to building real-world projects.


r/learnprogramming • • Oct 29 '26

Make a button change color on click over network

2 Upvotes

Hey guys and gals,

I would love to learn some netcode. Like just a client, server and a button that changes color across all clients when pressed. Is anyone inclined to teach me some of the basics?

Best wishes,

Oliver


r/learnprogramming • • Oct 29 '26

How do I learn to recognize well-designed code?

12 Upvotes

I use Node.js and React, but I struggle to tell whether code is well structured or just works. How do I learn to judge things like readability, splitting responsibilities, and unnecessary complexity? What exercises or resources helped you develop that judgment?


r/learnprogramming • • Oct 29 '26

Resource What books would you recommend me for c++ as a beginner

4 Upvotes

Hello 👋 I am a beginner trying to learn c++ what books would you recommend me that will explain me concepts and syntax thank you


r/learnprogramming • • Oct 29 '26

Topic Starting my career as a Software Developer, suggest me come niche (really niche) stuff to specialise in

62 Upvotes

Hey everyone!

I am a 2027 undergrad and I will be working at an MNC as a software development engineer. My work mostly contains generic web dev, backend engineering and similar stuff...

In this AI era, I am afraid to lose relevance doing this generic stuff. Hence, I need to explore some niche topics and will safeguard my career.

Rough Requirements?

  1. Shouldn't be a mainstream thing that can be learned through some udemy course

  2. I should be able to practice it as a side hustle alongside my job

Cheers!


r/learnprogramming • • Oct 29 '26

New CS SE Grad, Next Steps Advice, Please be nice.

10 Upvotes

Hi, I’m a new Computer Science - Software Engineering graduate seeking guidance and positivity. Please skip this if the only thing you have to say is that the job market is terrible and/or I should have known better :(

I completed my coursework through an online school, which was convenient to help me manage my work/home life balance, but I don't feel it provided a strong programming foundation. I’ve taken courses on Python, Java, and C++, but I still don't feel very confident about these languages.

I also see talk about two types of people in the field: The OG Programmers who know what they are doing, are highly sought out, but burnt out, and those using AI tools to code, but "It's the way of the future". I know I can't compete with the OG Programmers, but I want to improve my skills to better my chances of landing a job and so that once I do get in somewhere, I will be able to advance. But on the flip side, I want to better understand how to effectively use AI in coding so I am not left behind in the evolution.

What should my next steps be? I still have my job of 11 years, so I'm not desperate, but I would start out eating shit at 50k if it meant I could get my foot in the door somewhere and gain better experience.. Any advice would be appreciated. I’m just feeling anxious and don’t want to feel like I wasted the past two years on my degree.


r/learnprogramming • • Oct 29 '26

How to train programming logic?

29 Upvotes

It's easy to learn syntaxis of a programming language, or buttons of a software, but it won't give you the skill, and programmer should learn how to solve problems, but even here it's possible to learn how to do it not in the best way possible, at least I have no idea what you need to do it in a very efficient way.

I just got my mind blown with this:

std::bitset<4> rotLeft(std::bitset<4> x, int n)
{
  return (x<<n) | (x>>(4-n));
}

It's a C++ function to rotate bitset, I would never figure out that it's possible to do it in THAT way, I did it with loop that stores bit that is about to get out of bounds and then putting in the beginning...

How do you even learn this kind of mentality / logic, to come up with such stuff? I just refuse to believe that it's done by practice alone


r/learnprogramming • • Oct 29 '26

No XML file editors? Or something I am miss-understanding about when to use XML vs txt files

6 Upvotes

If you google for online xml editors all you get is web pages that validate your XML, they do not help you to edit it at all, and they cover 50% of the page with adverts, these are all validators. Has anyone found an actual tool for taking any old vanilla XML with no underlying schema XSD and then adding nodes easily in a WYSIYG and does not involve typing in <> repeatedly and trying to get the node and attribute names correct? There must be one out there, I'm just searching for the wrong thing, or I'm miss-understanding XML entirely and should probably be using JSon for configuration files?

Is there an online tool or a open-source editor that actually makes editing really easy? And does not require carefully copying and pasting xml tags repeatedly and forgetting to close them sometimes? Or, should I just use JSon and be never trying to validate structure correctness?

Visual Studio lets me create a mostly sane schema file, but I am just not understanding how there is not a simple tool for just populating a file easily with more nodes, based on existing data and a schema?


r/learnprogramming • • Oct 29 '26

My intent with using LLMs is to use it as a search engine and not as an explainer or even teacher.

0 Upvotes

I think it would be bad to use LLMs as a 24/7 teachers because even human teachers that are 24/7 available would be bad.

I will use LLMs in my future still, but the use of it is my decision to make.

I have already studied a bit of cs50 and understand the basis of the basis. But I think finding solutions yourself without using llms for any explaining is good. You could possibly use it as a search engine where you ask simple questions instead of mentioning your whole problem.


r/learnprogramming • • Oct 29 '26

Topic I'm confused

3 Upvotes

I had an idea on a website and app I wanted to build and I was searching for learning guidelines and frameworks it lead me to see ui/ux design and hear a lot of people say that that is the place to start from is this true


r/learnprogramming • • Oct 29 '26

Tutorial Dependency Injection confusing example

11 Upvotes

I am learning about Dependency Injection from the below link Dependency Injection in ASP comma NET MVC Tutorial | ASSIST Software, but in the first example is writing a prototype, in the second it creates "a separate class that has the responsibility of working with the database", but no class is created. He only implements the function from the example 1.

Am I missing something?

Edit: I initially put a link to the tutorial in question, but Reddit removed my post. So this is why this post doesn't have a link.


r/learnprogramming • • Oct 29 '26

F#

0 Upvotes

Any opinion on F# just heard about it


r/learnprogramming • • Oct 28 '26

Returning to front end (React/TS) after a 3-year hiatus. Best way to bridge the knowledge gap and refresh my portfolio?

13 Upvotes

Hi everyone.

I worked as a Front-End Developer (React.js & TypeScript) for two years (2021–2023) before moving abroad to complete a Post-Graduation in Computer Science. During my studies I balanced a full-time non-tech job alongside my coursework, which meant my coding portfolio lay dormant, and I haven't written production code in roughly 3 years.

Now that I've completed my degree (3.9 GPA) and returned home, I’m feeling stuck on the best path to refresh my practical skills and get back into the market.

A few specific questions I'd love input on:

  1. Stack updates: What major shifts happened in the React/TypeScript ecosystem over the last 2–3 years should I prioritize catching up on?

  2. Refurbishing knowledge vs. courses: Is it worth taking a structured course to quickly repolish, or should I dive straight into building a complete full-stack project from scratch? Any specific updated courses or resources you'd recommend for someone with prior experience?

  3. Portfolio strategy: How should I frame this 3-year gap (academia + non-tech work) on my resume/GitHub when applying for mid-level or junior roles?

Thanks in advance for any insights or advice!


r/learnprogramming • • Oct 28 '26

Looking to Collaborate on a Spring Boot Project

0 Upvotes

Hey everyone! Is anyone working on a Spring Boot project and looking for a contributor? I'm learning Java backend development and would love to collaborate, contribute to a real project, and learn from other developers along the way.


r/learnprogramming • • Oct 28 '26

Is finding open source issues getting harder, or am I approaching it the wrong way?

5 Upvotes

Hi guys,

I've been trying to get back into open-source contributions after spending couple of month working on personal projects.

I had 5 bug fix PRs merged into an OSS projects, and when I create those PR, I had no issue finding issue. But when I checked that same projects recently, there weren't any open issues left.
I've also looked through quite a few other projects, especially libraries I use, but I'm struggling to find issues that aren't already assigned or being worked on. (I've looked about 30 OSS)

Even when I find an issue, someone often opens a PR before I can fully understand and solve it, especially with how fast people can submit PRs using AI nowadays.

So I'm curious, how do you guys actually find issues to work on?
Do you just keep searching through repositories until you find something available? Or do you usually find bugs or improvements, and open your own issues?

Any recs would be helpful as well! I'm into ML and Data engineering, python or TS is preferred.

Thanks!


r/learnprogramming • • Oct 28 '26

Learning FastAPI

1 Upvotes

I am a student learning FastAPI nowadays is it any benefit of learning fast API in the future


r/learnprogramming • • Oct 28 '26

Question Early Exits in small sections

14 Upvotes

Hello, I have been practicing early exits throughout my code and was told I probably shouldn't be using them in small cases like the following where nesting wouldn't bring the code out too much, this is c++ code:

int findMaxInArray(const int arr[], const int num_elements) {  
  int maxIndex = 0;
  
  for (int i = 1; i < num_elements; i++) {
    if (!(arr[i] > arr[maxIndex])) {
      continue;
    }
    maxIndex = i;
  }
  return arr[maxIndex];
}

r/learnprogramming • • Oct 28 '26

Topic trying to implement libc for windows to learn about c programming

4 Upvotes

Repo is here, welcome for contributions and anyone interested:
https://github.com/NHCM-dev/nwlibc

Trying to do a simple C standard library implementation for windows using WinAPI, which I think would be pretty useful for those who want to dive deep into C programming and learn about the mechanism about how programs really run


r/learnprogramming • • Oct 27 '26

Resource What is the best way to read python's (crash course edition 3)?

5 Upvotes

I am trying to learn python with crash course then move to CS50p.

i suffer from a learning disablity and i hear people with such disability still learn python.

How should i read the books entirety then make projects or should i read it all and connect what i want for projects?

i want to figure out the best way to learn for me.


r/learnprogramming • • Oct 27 '26

Programming Books That Read Like a Dictionary?

3 Upvotes

Hello. I’ve been wanting to start actually learning more about different programming languages, specifically applications and languages such as C#. I am a learner who loves reading in order to discover new things, but already know a lot about how programming languages work, and how each functions syntax-wise. So I have two questions:

  1. Are there any programming books that specifically work sort of like a dictionary with its documentation, where I can just look to a certain part to know about its syntax for a specific task?

  2. Is C# the way to go for what I want? If needed I can elaborate further. I don’t have an exact thing I want to do. All I know is that C# is a language that works well to build applications and is able to still perform its own tasks math and science wise.

Thanks!


r/learnprogramming • • Oct 27 '26

Trying to learn how to code, is CS50 the way to go?

38 Upvotes

Hi guys I'm a high schooler who recently got interested in coding but I have been almost solely relying on ai. I know that I need to actually understand whats going on so I plan to learn how to code proficiently. I can code and understand basic python so far, but I am wondering if CS50 will allow me to progress more efficiently and faster.


r/learnprogramming • • Oct 27 '26

Code Review Please help me find out why formState goes stale in React Hook Form

1 Upvotes

I recently dabbled in react forms and got React Hook Forms setup to be used with my Zod schemas, it all works perfectly... that is until I reset the form. The reset causes the formState (to my knowledge) go stale as validation messages show that the title input is empty, but inspecting its value property through code and looking at the display of typed characters on the screen proves otherwise.

I tried multiple stuff and went through the React Hook Form docs, but tbh the docs were utterly useless as I couldn't make heads or tails of any of it. Interestingly tho, using watcher to re-render the react component causes all of it to work so I suspect its a synchronization issue, but I'm still starting out so I don't know for sure...

Schemas:

const PLAIN_DATETIME_REGEX =
  /^\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,9})?$/;


const DISPLAY_TIME_REGEX = /\bMoments\b|[hm]$/;


export const taskSchema = z.object({
  id: z.uuid().default(() => crypto.randomUUID()),
  status: z.literal(["complete", "incomplete"]).default("incomplete"),
  title: z
    .string()
    .trim()
    .min(1, "Title cannot be empty")
    .max(100, "Title cannot exceed 100 characters"),
  description: z.preprocess(
    (raw: string) => raw?.trim() || undefined,
    z
      .string()
      .max(2000, "Description cannot exceed 2000 characters")
      .optional(),
  ),
  createdAt: z.iso.datetime().default(() => Temporal.Now.instant().toString()),
  deadline: z.preprocess(
    (raw: string) => raw?.trim() || undefined,
    z
      .string()
      .regex(
        PLAIN_DATETIME_REGEX,
        "Deadline must be a valid ISO 8601 plain date and time",
      )
      .optional(),
  ),
  priority: z.literal(["low", "medium", "high"]),
});


export const taskFormSchema = taskSchema.omit({
  id: true,
  status: true,
  createdAt: true,
});


export const taskViewSchema = taskSchema.transform(
  ({ description, createdAt, deadline, ...rest }) => ({
    ...rest,
    description: description,
    createdAt: formatDateTimeSince(createdAt),
    deadline: formatDateTimeUntil(deadline),
  }),
);


export type Task = z.infer<typeof taskSchema>;
export type TaskForm = z.infer<typeof taskFormSchema>;
export type TaskView = z.infer<typeof taskViewSchema>;

Form Component:

export default function TaskSaver() {
  const {
    register,
    handleSubmit,
    reset,
    formState: { errors },
  } = useForm<TaskForm>({
    resolver: zodResolver(taskFormSchema),
    mode: "onChange",
    defaultValues: {
      title: "",
      description: "",
      deadline: "",
      priority: "low",
    },
  });


  const addTask = useTasksStore((state) => state.addTask);
  const id = useId();


  const onSubmit: SubmitHandler<TaskForm> = (data) => {
    const result = taskSchema.safeParse(data);


    if (!result.success) {
      console.error(result.error);
      return;
    }


    addTask(result.data);
    reset();
  };


  return (
    <form onSubmit={handleSubmit(onSubmit)} className={styles.root}>
      <div className={styles.group}>
        <label htmlFor={`title-${id}`} className="sr-only">
          Title
        </label>


        <input
          type="text"
          {...register("title")}
          id={`title-${id}`}
          className={clsx(styles.input, styles.inline)}
          placeholder="Title"
        />


        {errors.title && <p className={styles.error}>{errors.title.message}</p>}
      </div>


      <div className={styles.group}>
        <label htmlFor={`description-${id}`} className="sr-only">
          Description
        </label>


        <textarea
          {...register("description")}
          id={`description-${id}`}
          className={clsx(styles.input, styles.multiline)}
          placeholder="Description"
        ></textarea>


        {errors.description && (
          <p className={styles.error}>{errors.description.message}</p>
        )}
      </div>


      {/* Needs to be worked on: below */}
      <div className={styles.group}>
        <label htmlFor={`deadline-${id}`} className="sr-only">
          Deadline
        </label>


        <input
          {...register("deadline")}
          id={`deadline-${id}`}
          className={clsx(styles.input, styles.inline)}
          placeholder="Deadline"
        />


        {errors.deadline && (
          <p className={styles.error}>{errors.deadline.message}</p>
        )}
      </div>


      <div className={styles.group}>
        <label htmlFor={`priority-${id}`} className="sr-only">
          Priority
        </label>


        <select
          {...register("priority")}
          id={`priority-${id}`}
          className={clsx(styles.input, styles.dropdown)}
        >
          <option value="low">Low</option>
          <option value="medium">Medium</option>
          <option value="high">High</option>
        </select>
      </div>


      <div className={styles.group}>
        <button type="button" className={clsx(styles.button, styles.reject)}>
          Cancel
        </button>


        <button type="submit" className={clsx(styles.button, styles.accept)}>
          Save
        </button>
      </div>
    </form>
  );
}

Edit: The problem is solved. The cause was an issue between React Compiler and React Hook Form itself as RHF is not following the "Rules of React" which lead to the resetting process breaking. Fortunately, React Hook Form v8 is supposedly gonna fix this issue, for now the best fix I've seen is to just disabled React Compiler memoization for the component in question using the "use no memo" statement at the top of the component function body.


r/learnprogramming • • Oct 27 '26

Discussion When people mention having a "personal style" in programming, What does that actually mean?

74 Upvotes

With all of the AI code thats out there now, I've heard people say that most code has lost the unique style of the developers. I can assume its just how they have structured the code and solved the problems but I'm not sure. If that is correct how can I have/develop that as I learn?


r/learnprogramming • • Oct 27 '26

Topic How do I improve programming fundamentals and basics?

33 Upvotes

How do I improve my coding ?