r/learnprogramming • • 2d ago

Looking for recommendations: Best resources to learn DSA from scratch

24 Upvotes

Hello everyone!

I am a first-year Computer Science and Engineering (CSE) student, and I want to start learning Data Structures and Algorithms (DSA) from the absolute ground up.

Could anyone suggest high-quality websites, books, or courses that are beginner-friendly?

I would also love to hear any tips, strategies, or roadmaps you wish you knew when you were starting out.

Thanks in advance for your help!


r/learnprogramming • • 1d ago

LLM What does your agentic coding workflow actually look like?

0 Upvotes

I'm a C++ developer and I've been trying to get more into agentic coding lately, but I'm struggling to find a workflow that actually makes sense to me.

Currently, I see three different approaches:

1. Just let the agent do its thing: I'm obviously much faster initially, but I gradually lose the understanding of my own codebase. Apart from unit tests, the observable behavior of the software and trusting the AI, I don't really know what's happening under the hood. In a personal simulation project, I only noticed some pretty inefficient solutions regarding performance and memory consumption because I happened to look at the implementation.

2. Read and review all the generated code: For this, I need to keep the tasks relatively small so I can properly understand and critically review the code. All those micro-decisions regarding ownership, data structures, unnecessary copies, etc. that I naturally think about while writing code now need to be understood retrospectively. But if I specify everything in great detail, it feels like I'm just programming in natural language and mostly saving myself the typing.

3. Use AI the way I already do at work: Mostly for rubber ducking, boilerplate, interfaces or implementations where I already know how I would write them myself.

But I constantly read about people becoming several times more productive through agentic coding, and I'm starting to wonder whether I'm fundamentally doing something wrong.

  • Do you still read and understand all the generated code?
  • How big are the tasks you delegate, and when do you decide to write something yourself?
  • How do you deal with comprehension debt and the potential technical debt resulting from it?
  • How much time do you actually save when factoring in code review, debugging and maintenance?

I'm not trying to argue against agentic coding. I'm genuinely trying to understand how other people work with it. Right now, it feels like a trade-off between development speed and my own understanding of the software.

I'd especially be interested in hearing from developers working on larger, long-lived software projects, e.g. systems programming, embedded software or simulation, rather than relatively simple CRUD applications or throwaway prototypes.


r/learnprogramming • • 1d ago

Tutorial Django tutorials

0 Upvotes

I have started practicing Django, I created a simple student admission page:
• ⁠Student fills form
• ⁠Django validation takes place
• ⁠After validation data is stored in database
I used DRF for the validation, and aws PostgreSQL and this is a simple thing I want to use to start my journey in backend dev.
Hosted it on render free tier and when I hit the submit button I used a stopwatch to check how it took to submit and it was 00:00:22.23.
Please I’m still learning and I want to know if it’s okay to have that time for submitting and if not what should I study next and I used the DRF for the form validation with an if statement.

Thank you for feedback and time.


r/learnprogramming • • 1d ago

Computer sci tips pls

5 Upvotes

Currently i’m learning DSA (Divide and conquer, stack and queue, Binary search, Greedy….etc) and Back End development (Express.js, node.js……etc) and I need some tips or maybe some resources that could help me.

Also i feel like computer science isn’t for me. I mean it’s normal to feel that way but i’m still trying to find ways to enjoy CS


r/learnprogramming • • 2d ago

If you had 3 months off this winter, what would you focus on?

30 Upvotes

Imagine you had three months completely free this winter.
You have some experience with competitive programming, a decent foundation in math and computer science, and enjoy solving problems on LeetCode and Codeforces.
You're still learning, don't have a particular area of interest yet, but you're disciplined and enjoy challenging yourself.
How would you spend those three months to become a better programmer and software engineer? What would you focus on?


r/learnprogramming • • 2d ago

I really need some advice / venting

6 Upvotes

So i'm a junior in college and i have no internships lined shit i barely have any projects and i just don't know what to do anymore. Majority of the time I've applied I get nothing or maybe I get a coding assessment where I fail it. I understand my resume is probably horrible but I don't know what to do to make it a better. I keep hearing the same things make something you care about, make it technical, do this that and wtv else. HOW??? I can barely keep manage both classes and actually make projects then to practice. It's not as if I spend my time outside of classes doing anything social. So I pretty much have 'unlimited' time to get better. I heard use ai to advance your projects but then I don't know what my project is even about, I heard don't use ai and write manually but then it takes me forever to even finish one stupid project, I heard use ai to prompt and learn along I tried that it feels so fucking boring. It feels like i'm child asking "hey is this good enough?" It's so fucking stupid man. I understand someone would say just "suck it up and continue" and I've been trying to. Outside of all of that look at how ai is advancing, how am i supposed to keep up? how am i supposed to be good enough? even if I am then i get laid off? I'm sorry if I'm coming off very negative but I felt like shit about this and I don't know what to do anymore. I don't want to fail but it feels like that's what going to happen. Anyone could please give me some advice or just reinsurancement idk. I tried to be positive about this in the beginning but I genuinely don't know what to do anymore. I'm so scared.


r/learnprogramming • • 2d ago

Topic [Homework] How is Go actually standardized if there's no ISO standard? (Conflicting answers)

31 Upvotes

Hola a todos,

Estoy trabajando en una tarea sobre la estandarización de lenguajes de programación. Dado que Go no está regulado por un organismo externo como ISO o ECMA, he estado investigando qué reglas sigue, pero encuentro respuestas contradictorias.

Algunas fuentes señalan la Especificación del Lenguaje Go como lo más parecido a un estándar formal. Otras enfatizan que no existe una base independiente y que el lenguaje está completamente dirigido por el Equipo Go de Google. Por otro lado, algunos argumentan que herramientas como gofmt y la Promesa de Compatibilidad de Go 1 son las que realmente normalizan el ecosistema.

Intento comprender el panorama general para mi tarea. ¿Podría alguien explicarme cómo encajan todas estas piezas?

¿Cuál es la respuesta definitiva? ¿Se considera la Especificación del Lenguaje el estándar oficial, o la estandarización en Go se logra únicamente a través de la gobernanza de Google y las herramientas de la comunidad?

No necesito un ensayo completo, solo una explicación clara de qué debo citar como el "estándar" para Go. ¡Gracias!

En resumen: Go no está estandarizado por la ISO. Si tuvieras que escribir un ensayo sobre cómo se estandariza Go actualmente, ¿qué documentos, entidades o herramientas citarías y por qué?


Thank you all so much for taking the time to answer this thread from a young university student who isn't very familiar with the topic. I truly appreciate it from the bottom of my heart. I'll leave this space open for anyone who wants to continue commenting or learn more about what's below. Without a doubt, I was able to answer my question. Thank you.



r/learnprogramming • • 2d ago

Topic Is Python -> JS -> C++ -> Java -> C -> Assembly a good order to learn?

11 Upvotes

I'm a Python beginner planning my learning path and want to know if this order makes sense:

Python -> JavaScript -> C -> Java -> C++ -> Assembly

Is this a good path, or is it a bad idea to learn this many languages? What do you think?
Edit: Swapped C++ and C (so C -> C++ instead of C++ -> C) based on your feedback. Thanks for all the advice!


r/learnprogramming • • 1d ago

i have a poblem

0 Upvotes

soo i crated my own script for a game to farm but i what the script to farm on the game soo i can do what ever i what on my pc but the script start to tipe on my drscktop can you help me pls

my script
import ctypes

import subprocess

import win32gui

import time

import random

import threading

import keyboard

import tkinter as tk

from tkinter import font as tkfont

import vgamepad as vg

# ── CONFIG ──────────────────────────────────────────────────────────────────

WINDOW_TITLE = "BongoCat" # adjust if title differs in your language

TOGGLE_KEY = "F8"

INTERVAL_MIN = 0.055 # pauza intre cicluri (~10-12 cicluri/sec)

INTERVAL_MAX = 0.085

HOLD_MIN = 0.015 # cat timp stau apasate simultan

HOLD_MAX = 0.025

DEBOUNCE = 0.26

# Ruleaza DOAR cand BongoCat este fereastra activa (evita deschiderea tastaturii cand scrii)

ONLY_WHEN_BONGO_FOCUSED = True

PAUSE_ON_WINDOWS_SEARCH = True

KILL_TOUCH_KEYBOARD = True

# Am scos X / Y / SHARE / OPTIONS pentru a evita scurtaturile tastaturii virtuale

# Disponibile: "CROSS", "CIRCLE", "SQUARE", "TRIANGLE", "L1", "R1", "DPAD_UP", "DPAD_DOWN", "DPAD_LEFT", "DPAD_RIGHT"

KEYS = [

"CROSS",

"CIRCLE",

]

# ────────────────────────────────────────────────────────────────────────────

def _ds4_dpad(attr_name: str):

return getattr(vg.DS4_DPAD_DIRECTIONS, attr_name, None)

DS4_DPAD_NONE_VAL = _ds4_dpad("DS4_DPAD_NONE")

BUTTON_MAP = {

"CROSS": vg.DS4_BUTTONS.DS4_BUTTON_CROSS,

"CIRCLE": vg.DS4_BUTTONS.DS4_BUTTON_CIRCLE,

"SQUARE": vg.DS4_BUTTONS.DS4_BUTTON_SQUARE,

"TRIANGLE": vg.DS4_BUTTONS.DS4_BUTTON_TRIANGLE,

"L1": vg.DS4_BUTTONS.DS4_BUTTON_SHOULDER_LEFT,

"R1": vg.DS4_BUTTONS.DS4_BUTTON_SHOULDER_RIGHT,

"DPAD_UP": _ds4_dpad("DS4_DPAD_NORTH") or _ds4_dpad("DPAD_UP"),

"DPAD_DOWN": _ds4_dpad("DS4_DPAD_SOUTH") or _ds4_dpad("DPAD_DOWN"),

"DPAD_LEFT": _ds4_dpad("DS4_DPAD_WEST") or _ds4_dpad("DPAD_LEFT"),

"DPAD_RIGHT": _ds4_dpad("DS4_DPAD_EAST") or _ds4_dpad("DPAD_RIGHT"),

}

DPAD_BUTTONS = {

"DPAD_UP",

"DPAD_DOWN",

"DPAD_LEFT",

"DPAD_RIGHT",

}

BG_MAIN = "#09090b"

BG_CARD = "#121216"

BG_BTN = "#18181f"

BG_BTN_ACT = "#241322"

BORDER_CLR = "#22222b"

FG_WHITE = "#ffffff"

FG_PINK = "#ff5ec4"

FG_MUTED = "#a1a1aa"

DWMWA_USE_IMMERSIVE_DARK_MODE = 20

DWMWA_CAPTION_COLOR = 35

DWMWA_TEXT_COLOR = 36

gamepad = None

running = False

paused_by_bg = False

lock = threading.Lock()

_last_toggle = 0.0

press_count = 0

elapsed_sec = 0

last_tick_time = None

status_label = None

btn_toggle = None

count_label = None

timer_label = None

title_label = None

root = None

def init_gamepad():

global gamepad

if gamepad is None:

gamepad = vg.VDS4Gamepad()

gamepad.reset()

gamepad.update()

def release_all_gamepad():

try:

if gamepad is not None:

gamepad.reset()

gamepad.update()

except Exception:

pass

def close_touch_keyboard():

if not KILL_TOUCH_KEYBOARD:

return

for proc_name in ("TabTip.exe", "TextInputHost.exe"):

try:

subprocess.run(

["taskkill", "/F", "/IM", proc_name],

stdout=subprocess.DEVNULL,

stderr=subprocess.DEVNULL,

creationflags=subprocess.CREATE_NO_WINDOW,

)

except Exception:

pass

def is_windows_search_active() -> bool:

if not PAUSE_ON_WINDOWS_SEARCH:

return False

try:

hwnd = win32gui.GetForegroundWindow()

if not hwnd:

return False

title = (win32gui.GetWindowText(hwnd) or "").strip().lower()

cls_name = (win32gui.GetClassName(hwnd) or "").strip().lower()

search_titles = {"search", "căutare", "start", "searchhost"}

search_classes = {

"windows.ui.core.corewindow",

"searchui.searchwindow",

"launcherframe",

}

if title in search_titles or cls_name in search_classes:

return True

if "search" in cls_name or "searchhost" in title:

return True

except Exception:

pass

return False

def get_target_hwnd():

hwnd = win32gui.FindWindow(None, WINDOW_TITLE)

if hwnd and win32gui.IsWindow(hwnd):

return hwnd

return None

def is_window_open() -> bool:

return get_target_hwnd() is not None

def is_target_focused() -> bool:

if not ONLY_WHEN_BONGO_FOCUSED:

return True

target_hwnd = get_target_hwnd()

if not target_hwnd or win32gui.IsIconic(target_hwnd):

return False

fg_hwnd = win32gui.GetForegroundWindow()

if not fg_hwnd:

return False

if fg_hwnd == target_hwnd:

return True

try:

parent = win32gui.GetParent(fg_hwnd)

while parent:

if parent == target_hwnd:

return True

parent = win32gui.GetParent(parent)

except Exception:

pass

return False

def hex_to_colorref(hex_color: str) -> int:

hex_color = hex_color.lstrip("#")

r = int(hex_color[0:2], 16)

g = int(hex_color[2:4], 16)

b = int(hex_color[4:6], 16)

return (b << 16) | (g << 8) | r

def style_title_bar(window, active_text_hex: str = FG_WHITE):

try:

window.update_idletasks()

hwnd = ctypes.windll.user32.GetParent(window.winfo_id())

if not hwnd:

hwnd = window.winfo_id()

dwm = ctypes.windll.dwmapi

dark_mode = ctypes.c_int(1)

dwm.DwmSetWindowAttribute(

hwnd,

DWMWA_USE_IMMERSIVE_DARK_MODE,

ctypes.byref(dark_mode),

ctypes.sizeof(dark_mode)

)

cap_color = ctypes.c_int(hex_to_colorref(BG_MAIN))

dwm.DwmSetWindowAttribute(

hwnd,

DWMWA_CAPTION_COLOR,

ctypes.byref(cap_color),

ctypes.sizeof(cap_color)

)

txt_color = ctypes.c_int(hex_to_colorref(active_text_hex))

dwm.DwmSetWindowAttribute(

hwnd,

DWMWA_TEXT_COLOR,

ctypes.byref(txt_color),

ctypes.sizeof(txt_color)

)

except Exception:

pass

def format_timer(seconds: int) -> str:

mins, secs = divmod(max(0, seconds), 60)

hours, mins = divmod(mins, 60)

if hours > 0:

return f"{hours:02d}:{mins:02d}:{secs:02d}"

return f"{mins:02d}:{secs:02d}"

def press_keys_simultaneously(key_names):

global press_count

std_buttons = []

dpad_dirs = []

for name in key_names:

upper = name.upper()

val = BUTTON_MAP.get(upper)

if val is None:

print(f"[press] Unknown or unsupported PS button '{name}'")

continue

if upper in DPAD_BUTTONS:

dpad_dirs.append(val)

else:

std_buttons.append(val)

if not std_buttons and not dpad_dirs:

return

try:

if gamepad is None:

init_gamepad()

for btn in std_buttons:

gamepad.press_button(button=btn)

if dpad_dirs:

gamepad.directional_pad(direction=dpad_dirs[-1])

gamepad.update()

hold = random.uniform(HOLD_MIN, HOLD_MAX)

if hold > 0:

time.sleep(hold)

for btn in std_buttons:

gamepad.release_button(button=btn)

if dpad_dirs and DS4_DPAD_NONE_VAL is not None:

gamepad.directional_pad(direction=DS4_DPAD_NONE_VAL)

gamepad.update()

with lock:

press_count += len(std_buttons) + len(dpad_dirs)

except Exception as e:

print(f"[press] Error on PS buttons {key_names}: {e}")

def auto_press_loop():

global running, paused_by_bg

cycle = 0

while True:

with lock:

is_running = running

if not is_running:

paused_by_bg = False

time.sleep(0.05)

continue

if not is_window_open():

release_all_gamepad()

time.sleep(0.2)

continue

if is_windows_search_active() or not is_target_focused():

if not paused_by_bg:

paused_by_bg = True

release_all_gamepad()

close_touch_keyboard()

apply_theme(True, bg_paused=True)

time.sleep(0.08)

continue

if paused_by_bg:

paused_by_bg = False

apply_theme(True, bg_paused=False)

try:

press_keys_simultaneously(KEYS)

cycle += 1

if cycle % 8 == 0:

close_touch_keyboard()

except Exception as e:

print(f"[loop] Error: {e}")

delay = random.uniform(INTERVAL_MIN, INTERVAL_MAX)

if delay > 0:

time.sleep(delay)

def apply_theme(is_active: bool, bg_paused: bool = False):

if not root:

return

active_fg = FG_PINK if (is_active and not bg_paused) else FG_WHITE

def _update():

style_title_bar(root, active_fg)

if title_label:

title_label.config(fg=active_fg)

if status_label:

if not is_active:

status_label.config(text="○ STOPPED", fg=FG_WHITE)

elif bg_paused:

status_label.config(text="⏸ PAUSED", fg=FG_MUTED)

else:

status_label.config(text="● RUNNING", fg=FG_PINK)

if count_label:

count_label.config(fg=active_fg)

if timer_label:

timer_label.config(fg=active_fg)

if btn_toggle:

btn_toggle.config(

text="■ STOP [F8]" if is_active else "▶ START [F8]",

fg=active_fg,

bg=BG_BTN_ACT if (is_active and not bg_paused) else BG_BTN,

activebackground=BG_BTN_ACT,

activeforeground=FG_PINK

)

root.after(0, _update)

def set_not_found_state():

if not root:

return

def _update():

style_title_bar(root, FG_WHITE)

if status_label:

status_label.config(text="✕ WINDOW NOT FOUND", fg=FG_WHITE)

if btn_toggle:

btn_toggle.config(text="▶ START [F8]", fg=FG_WHITE, bg=BG_BTN)

root.after(0, _update)

def toggle_running():

global running, paused_by_bg, _last_toggle, last_tick_time

now = time.time()

if now - _last_toggle < DEBOUNCE:

return

_last_toggle = now

with lock:

next_state = not running

if next_state:

if not is_window_open():

running = False

paused_by_bg = False

set_not_found_state()

return

init_gamepad()

running = True

paused_by_bg = not is_target_focused()

last_tick_time = time.time()

else:

running = False

paused_by_bg = False

last_tick_time = None

release_all_gamepad()

apply_theme(next_state, bg_paused=paused_by_bg if next_state else False)

def reset_stats():

global press_count, elapsed_sec, last_tick_time

with lock:

press_count = 0

elapsed_sec = 0

if running:

last_tick_time = time.time()

refresh_stats_ui()

def refresh_stats_ui():

with lock:

c = press_count

t = elapsed_sec

is_active = running and not paused_by_bg

fg = FG_PINK if is_active else FG_WHITE

if count_label:

count_label.config(text=f"{c:,}", fg=fg)

if timer_label:

timer_label.config(text=format_timer(t), fg=fg)

def ui_tick():

global elapsed_sec, last_tick_time

if not root:

return

with lock:

if running:

now = time.time()

if last_tick_time is not None:

elapsed_sec += int(now - last_tick_time)

last_tick_time = now - (now - last_tick_time - int(now - last_tick_time))

refresh_stats_ui()

root.after(200, ui_tick)

def on_hotkey(event):

toggle_running()

def on_close():

global running

with lock:

running = False

release_all_gamepad()

root.destroy()

def build_gui():

global root, status_label, btn_toggle, count_label, timer_label, title_label

root = tk.Tk()

root.title("LGF // Controller")

root.geometry("320x235")

root.resizable(False, False)

root.configure(bg=BG_MAIN)

root.protocol("WM_DELETE_WINDOW", on_close)

root.attributes("-topmost", True)

root.attributes("-alpha", 0.97)

style_title_bar(root, FG_WHITE)

f_title = tkfont.Font(family="Consolas", size=13, weight="bold")

f_stat = tkfont.Font(family="Consolas", size=9, weight="bold")

f_lbl = tkfont.Font(family="Segoe UI", size=8)

f_val = tkfont.Font(family="Consolas", size=14, weight="bold")

f_btn = tkfont.Font(family="Consolas", size=10, weight="bold")

f_mini = tkfont.Font(family="Consolas", size=8)

header = tk.Frame(root, bg=BG_MAIN)

header.pack(fill="x", padx=16, pady=(14, 8))

title_label = tk.Label(

header, text="LOCAL GAME FARM",

font=f_title, bg=BG_MAIN, fg=FG_WHITE

)

title_label.pack(side="left")

status_label = tk.Label(

header, text="○ STOPPED",

font=f_stat, bg=BG_MAIN, fg=FG_WHITE

)

status_label.pack(side="right", pady=(3, 0))

card = tk.Frame(

root, bg=BG_CARD,

highlightbackground=BORDER_CLR, highlightthickness=1

)

card.pack(fill="x", padx=16, pady=(2, 12))

left_box = tk.Frame(card, bg=BG_CARD)

left_box.pack(side="left", expand=True, fill="both", padx=12, pady=10)

tk.Label(

left_box, text="PRESSES / CLICKS",

font=f_lbl, bg=BG_CARD, fg=FG_MUTED

).pack()

count_label = tk.Label(

left_box, text="0",

font=f_val, bg=BG_CARD, fg=FG_WHITE

)

count_label.pack(pady=(2, 0))

divider = tk.Frame(card, bg=BORDER_CLR, width=1)

divider.pack(side="left", fill="y", pady=8)

right_box = tk.Frame(card, bg=BG_CARD)

right_box.pack(side="right", expand=True, fill="both", padx=12, pady=10)

tk.Label(

right_box, text="ACTIVE TIMER",

font=f_lbl, bg=BG_CARD, fg=FG_MUTED

).pack()

timer_label = tk.Label(

right_box, text="00:00",

font=f_val, bg=BG_CARD, fg=FG_WHITE

)

timer_label.pack(pady=(2, 0))

controls = tk.Frame(root, bg=BG_MAIN)

controls.pack(fill="x", padx=16)

btn_toggle = tk.Button(

controls,

text="▶ START [F8]",

font=f_btn,

bg=BG_BTN,

fg=FG_WHITE,

activebackground=BG_BTN_ACT,

activeforeground=FG_PINK,

relief="flat",

bd=0,

highlightthickness=1,

highlightbackground=BORDER_CLR,

pady=8,

cursor="hand2",

command=toggle_running

)

btn_toggle.pack(fill="x")

footer = tk.Frame(root, bg=BG_MAIN)

footer.pack(fill="x", padx=16, pady=(10, 0))

tk.Label(

footer, text=f"Target: {WINDOW_TITLE}",

font=f_mini, bg=BG_MAIN, fg=FG_WHITE

).pack(side="left")

btn_reset = tk.Button(

footer, text="RESET",

font=f_mini, bg=BG_MAIN, fg=FG_WHITE,

activebackground=BG_BTN, activeforeground=FG_PINK,

relief="flat", bd=0, cursor="hand2",

command=reset_stats

)

btn_reset.pack(side="right")

root.after(200, ui_tick)

return root

if __name__ == "__main__":

keyboard.on_press_key(TOGGLE_KEY, on_hotkey)

threading.Thread(target=auto_press_loop, daemon=True).start()

root = build_gui()

print("INFO F8 = Start/Stop | Close window to exit")

root.mainloop()


r/learnprogramming • • 2d ago

Best books to learn Python from scratch with lots of exercises and practice problems?

19 Upvotes

Hi everyone!

I want to learn Python programming from scratch and become really good at it.

I'm looking for book recommendations that

  1. Explain concepts clearly, starting from the basics.
  2. Have plenty of exercises and practice problems after each topic.
  3. Gradually increase from beginner to advanced difficulty.
  4. Focus on problem-solving and programming logic rather than just theory.
  5. Include practical projects to help apply what I've learned.

I don't mind working through lengthy books. My main goal is to practise extensively until I can write programs independently without relying on tutorials.

Which books would you recommend? Also, are there any websites or platforms with excellent Python practice problems?

I'd appreciate recommendations from people who have learned Python this way. Thank you!


r/learnprogramming • • 1d ago

Topic Please help me out with this?

0 Upvotes

Ok so I a am currently in my college 1st year 1st sem and interacted with one of my senior. Then I got to knew that backend engineer and Ai roles are different things. To be an ai engineer I don't need to be a backend engineer like I don't need to go in deep in backend or web dev. I asked me that I am currently learning flask and thinking of switching to spring boot and I am interested in ai role. The he cleared me with these differences between ai roles and backend. And suggest me to start backend with spring boot and continue In it. Is he right. I also watched a road map video and in that the creator told that exactly defination of ai engineer is not properly designed rather it depends on company what work they give you. In some companies the same person does both backend as well as designing ai . Before interacting with him I used to thought that main core of Ai that is llm is itself a backend system. Or good knowledge of backend is the first step in the ai industry. please anyone could clarify me here. And suggest me should I go with full stack web dev or Ai model designing and training.


r/learnprogramming • • 3d ago

Question (CS Student) Every Time I see AI code I Feel disencouraged

219 Upvotes

How is your day.
I'm currently a 2nd year CS student who genuinely enjoys learning coding. I can stay for hours studying a certain topic and usually all I need to be feel like continuing is less bugs showed by the compiler. but seeing AI being able to do the same thing I have been trying to learn for hours way faster and better than me always makes question myself. My question is...
Is it still worth it going through all of this


r/learnprogramming • • 2d ago

i feel so useless and divided

23 Upvotes

Final year CS student building embedded projects to land a real role. I genuinely love embedded systems and coding, and it feels weird right now because I barely have time to learn how to write things properly from scratch. Everything pushes you toward big, impressive projects nobody gets noticed for mastering the basics even though the basics are what actually build real understanding. Meanwhile, that understanding can feel almost pointless when AI agents can build things faster, bigger, and louder. I want to write my own code, yet I catch myself feeling stupid for wanting to actually know how to write scripts without an agent.

Do I just have to accept that coding from scratch is becoming a useless skill, that debugging on your own is a waste of time, and that being "good" now means handing that knowledge over to machines?

I don’t just want to ship demos. I want to be a real programmer like the engineers who came before me someone with genuine, deep mastery over the craft I love.

So I’m genuinely asking: what does mastery even look like in the age of AI?


r/learnprogramming • • 2d ago

Question on what I should focus

7 Upvotes

I'm in my fourth semester of my Information Systems degree, but I don't know what career I want to persue. I like coding in C/C++, Rust and even Haskell, I like complex things on computing like theory of computation and I really enjoy learning networking. However, I can't decide what I really want to work with. I've thought I would like working with web development, but unfortunaly I don't find it that cool when compared with the topics I mentioned earlier.

So, what would you guys recommend me?


r/learnprogramming • • 2d ago

Family Man With Limited Free Time: Is a Personal Offline Copy of Wyrm Wild Possible?

3 Upvotes

Hi everyone,

I currently play a game called Wyrm Wild. Because of my work schedule and family responsibilities, idle/automatic games are really the only type of games that fit into the limited free time I have.

The problem is that this game relies heavily on microtransactions. Almost every aspect of progression seems tied to spending money, and since the purchases are priced in US dollars while I earn in Brazilian reais, everything becomes very expensive for me.

So I was wondering: would it be possible to create a personal offline copy of the game just for myself, with no intention of distributing it, so I could play at my own pace and experience a sense of progression without constantly hitting paywalls?

I'm not looking to profit from it or share it with anyone, just to enjoy the gameplay offline. I'd appreciate any advice or information about whether this is technically possible and what would be involved.(i am not programmer)

Thanks!


r/learnprogramming • • 2d ago

Should I stick with Java for both backend and LeetCode if I have six months to prepare for an internship?

2 Upvotes

Hey folks, I’m a third-year CS student on the software engineering track. I have about six months to prepare for my required summer internship, and I’m aiming for a backend role.

I’ve used Java in my OOP course and I’m fairly comfortable with it, but I haven’t built a backend project yet. I also want to get better at data structures and problem solving. I’m considering two options.

  1. Stick with Java for both backend projects and LeetCode since I already know the language.
  2. Learn Python for backend and use C++ for problem solving. Python appeals to me because I’m interested in AI.

With six months to prepare, which approach would you take? How would you split your time between building a backend project and practicing data structures and algorithms?

Edit: Thanks to everyone who took the time to reply. I really appreciate all the advice


r/learnprogramming • • 2d ago

I don't know anything still.

3 Upvotes

I've been trying to learn programming, and I do open my IDE, and write up simple rpg mini-games and such, but I still don't know anything in programming, I literally don't know how to learn programming, or If I'm meant to learn it, I'm still stuck on level 0, and I'm not progressing at all, I feel stressed out because I have to land a job in IT, but it feels like a far-fetched dream, ATM I'm learning web-development using JS/CSS, I love the language, I'm enjoying my time building simple stuff, but everything feels too complex, and I'm not at good at coding as I am into other skills like art/drawing, and I'm not advancing at all.


r/learnprogramming • • 3d ago

Topic How to Develop interest in programming

23 Upvotes

Hello i am a bscs student 1st semester. I want to know how do i develop interest for programming cause all i do is play video games only i can't get out of this situation. When i was young i had a deep passion for learning rubiks cube so i used to spent day and night learning and solving it and i learnt it. How do i develop that kind of passion and obssession with this programming??

Thank you for your answer.


r/learnprogramming • • 3d ago

R advice

5 Upvotes

I’m newish to coding and learning latex and R for a project, how can I neatly display different graphs or information in a report-like style? I have my dataset I just don’t know what to do with it lol. I’m using R studio.
Anything that helped you learn or develop skills please recommend to me, I will appreciate it a lot.


r/learnprogramming • • 3d ago

Almost finished with Colt steele Web Dev course, what should I do next?

8 Upvotes

Just wanted to ask those who have finished colt steel web dev course or even any course/bootcamp in general on web development, what should be my next steps?


r/learnprogramming • • 4d ago

I think I'm fucked.

110 Upvotes

I'm a college student working toward an associate's degree in computer programming. I've had to take 2 semesters off for mental health breaks along the way, so completing my degree has taken longer than I originally expected. However, I think I've reached a point where I need to be honest about where I stand on my actual programming skills.

Due to my mental health and personal circumstances, I've relied heavily on AI throughout my coursework. I'd estimate that AI has done around 90% of the work for me, and some of my courses have even encouraged its use and are teaching us how to use ai agents. I do understand certain fundamentals, but the reality is that I haven't developed any independent projects or gained much experience actually writing code on my own.

What really brought this to my attention was a recent quiz where my professor asked us to write a function that returns a list of sorted numbers. I couldn't do it. I ended up having to leave the quiz and essentially relearn functions because I realized that, despite having encountered them in previous courses, I had never properly learned how to use them independently. Even when assignments required me to work with certain concepts, I was just throwing my assignment into the Ai and having it complete it for me.

There's just so much information to absorb, especially when we're being introduced to multiple programming languages every semester, databases, flasks, threads, etc. I feel like I'm constantly jumping between languages, concepts, frameworks, and tools without ever having enough time to properly internalize any of them. On top of that, relying on AI has made it difficult to distinguish between what I genuinely understand and what I've simply been able to get working with its help.

I've read a lot of discussions suggesting that writing code from scratch isn't as important as it used to be, and I can understand that AI is becoming an increasingly important part of software development. I do feel like I understand some of the fundamentals, but I honestly don't know where to go from here. I don't know what projects I should be building, how to structure my learning, or how to get out of what feels like an endless cycle of tutorials without actually developing practical skills. And the frustrating part is that I'm in college. I'm supposed to be graduating next year, yet I feel like I'm still at the beginning.

I'm also increasingly concerned about the job market. I've been seeing so much pessimistic discussion about companies hiring fewer junior developers and entry-level programmers because AI tools and agents can now handle an increasing amount of the work. It's difficult not to feel discouraged when I'm already questioning whether I have the skills to enter the industry in the first place.

When I initially enrolled in this degree in 2024, I remember seeing discussions about AI and how it wasn't expected to become nearly as capable as it is today, and I felt safe enough to go forth with pursuing this degree. Obviously, things have changed considerably in just 2 years. Maybe I'm consuming too much doomer content, or perhaps I'm looking at the wrong sources, but I genuinely don't know what to make of the current state of the industry.

At this point, I feel lost. I want to become a competent programmer and build my own projects and actually have the skills to get a job in the future. But I'm struggling to figure out how to get there, especially when I feel like I've spent so much of my time learning, getting assignments completed without developing the actual skills those assignments were supposed to teach me. I know the go to advice will be to just stop using AI and get to learning and making projects, but it's so hard, and it's everywhere, including in my courses.


r/learnprogramming • • 2d ago

Has anyone here actually started from zero and made money from programming within 6 months?

0 Upvotes

Hey everyone,

I'm 26 and recently started learning Python through Harvard's CS50 course. I'm going through a difficult financial period and trying to build a better future.

I'm willing to dedicate around 3 hours a day to learning, but I'm curious about real experiences rather than motivational advice.

Has anyone here started programming from scratch and managed to earn their first money within 3–6 months?

If so, what did you learn, what was your first paid project, and how did you find your first client or job?

I'm also curious whether AI tools made that journey easier, or whether the current market has made it harder for beginners.

I'm not expecting to become a professional developer in six months. I just want to know what's realistically possible.

I'd really appreciate hearing your stories. Thanks!


r/learnprogramming • • 3d ago

Advice Software Engineer Role Requirments

0 Upvotes

Finishing my associate in computer systems i have an interest in database and game development so
Im looking towards those industries but i have no clue on how to sell myself in a way my resume list languages i know and learned through college with some projects that i have worked on both in school and at home and i have not heard back and the jobs that im looking to apply seems way out of my league

So im looking for advice on what i can do to really achieve getting my foot in the door

To add im also continuing my education for bachelors with either a pathway in software engineering and or database administration


r/learnprogramming • • 3d ago

hi, i started learning cpp by myself since about 2 weeks ago, and i wrote my first useful simple program. the thing is that cause i learn by myself i don't know where my level is, so i wrote this program as a hope someone can judge me based on the simple first program i wrote.

21 Upvotes
/*
i learned file reading and writing
data types like int, strings
data saving, declaration, initializing, and defining
arrays and vectors
integrating vectors and file reading and writing
enums and the enum class
functions
calling functions and etc

so basically, this simple program asks you to write a password and a username and points you want to save
then it will save them in a text file called "users"
then it will ask you to write the pasword and username
then it will dispaly a comment depending on your points count
and if you run the program again and wrote a new saved password and username, then used the old passwerd and username, it will judge you based on that

and thanks!!
*/

#include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
#include <vector>
struct user {
std::string username;
std::string password;
int points;
};

enum class Ranking {
Trash,
Intermediate,
Advanced,
Legendary,
Mr_VIP
};

Ranking getrank(int points)
{
if (points < 250) return Ranking::Trash;
if (points < 500) return Ranking::Intermediate;
if (points < 750) return Ranking::Advanced;
if (points < 1000) return Ranking::Legendary;
return Ranking::Mr_VIP;
}

void addUser(std::string username, std::string password, int points)
{
std::ofstream file("users.txt", std::ios::app);
file << username << " ";
file << password  << " ";
file << points << " " << "\n";
}

std::vector<user> loadUsers()
{
std::vector<user> users;
std::ifstream file("users.txt");
user u;
while (file >> u.username >> u.password >> u.points)
{
users.push_back(u);
}
return users;
}

int main()
{
std::string savedUser;
std::string savedPass;
int savedPoints;

std::cout << "Enter the username you wanna save: ";
std::cin >> savedUser;
std::cout << "\n";

std::cout << "Enter the password you wanna save: ";
std::cin >> savedPass;
std::cout << "\n";

std::cout << "Enter the points you wanna save: ";
std::cin >> savedPoints;
std::cout << "\n";
if (std::cin.fail() || savedPoints < 0)
{
std::cout << "Error!!!\n";
return 0;
}

user u;
u.username = savedUser;
u.password = savedPass;
u.points = savedPoints;

system("cls");

addUser(savedUser, savedPass, savedPoints);

std::vector<user> users = loadUsers();

for (int attempt = 0; attempt < 3; attempt++)
{
std::string iusername;
std::string ipassword;
std::cout << "Enter your username: ";
std::cin >> iusername;
std::cout << "\n";
std::cout << "Enter your password: ";
std::cin >> ipassword;
std::cout << "\n";

bool found = false;
int foundPoints = 0;

for (const user& u : users)
{
if (u.username == iusername && u.password == ipassword)
{
found = true;
foundPoints = u.points;
break;
}
}

if (found)
{
std::cout << "logged in successfully!\n\n";

Ranking rank = getrank(foundPoints);

switch (rank)
{
case Ranking::Trash:
std::cout << "You are trash\n";
break;
case Ranking::Intermediate:
std::cout << "You are intermediate\n";
break;
case Ranking::Advanced:
std::cout << "You are advanced\n";
break;
case Ranking::Legendary:
std::cout << "You are legendary\n";
break;
case Ranking::Mr_VIP:
std::cout << "You are Mr. VIP\n";
break;
}
return 0;
}
else
{
std::cout << "wrong password or username, try again\n\n";
}
}

std::cout << "too many failed attempts!!!\n";
return 0;
}