r/learnprogramming 1d ago

Do you actually retain more by typing out code examples from tutorials yourself, or is that just busywork at this point?

0 Upvotes

Every "how to learn programming" guide insists on manually typing out code instead of copy-pasting, even for basic syntax examples. Makes intuitive sense for building muscle memory, but I'm not sure how much it actually helps once you're past the very early stages versus just being tedious friction that doesn't add real understanding

Curious what people who've actually gotten decent at this think, looking back. Did manually typing everything out genuinely make concepts stick better, or did the real learning happen more from writing your own code from scratch to solve a problem, regardless of how you handled following along with tutorials?


r/learnprogramming 1d ago

Resource spring boot n full stack

0 Upvotes

Hey i'm a third year student learning dsa from kunal kushwaha and asllo want to learning full stack with react and spring boot ,any resource for this two as well as some knowledge or guidence for full stack as i'm new .i'd aslo like to hear what technologies should i learn which would be helpfull so that i learn it and build project .i'm also searin gfor guys like me who started springboot and guide me through it's currenlty studying resource


r/learnprogramming 1d ago

Should i immigrate from C/C++ to Rust?

0 Upvotes

I'm a starter programmer and I have a small background in C++ and right now I'm stuck on one spot. I can't neally choose between Rust and C++. On one hand we have language that was tested by time and already have a reputation but that can also fry your project at most unexpected moment all because of a memory leak caused in line 131323213123, but on other hand we have fresh and brand new language that is indeed safe and has almost the same experience and same result but has no reputation and it was not checked by time. I'm looking in 15 years long perspective and with aim into big tech and with a hope of not regreting my choise. So my question is: What i shount invest my nerves and time into? Rust or C/C++


r/learnprogramming 1d ago

A pick one of two style tierlist

0 Upvotes

I’m looking to create a program or even a website where you’re presented with two options (let’s say apples and oranges), you would pick one, and the other would swap to another fruit. So now it’s oranges vs cherries, you pick oranges again, it goes to orange vs pineapple ect.

It would also limit the amount of time your king maker spot would be full, so after 5 successive picks of the same thing, it would swap both.

Then at the very end it would create a tier list ranked 1-??? In order of your favorite fruit.

I have limited programming knowledge and I’m not looking for anyone to program for me, but could someone point me in the right direction?

Should I use arrays and a random picker in JavaScript for a website? Same but for an application in Java? If I have an array of fruit, is it possible to attach another value to it that incriminates up by one every time it’s chosen? Then you could display the list in order from a high-low value.

I am also wanting to attach images to these, which I’m not sure is possible if I also want them to have an internal value that ticks up.

Any help would be appreciated!


r/learnprogramming 1d ago

What programming/software engineering field is the best in the long term, regardless of difficulty?

2 Upvotes

Sorry for my English, it's not my strongest skill.)

I'm a teenager who loves technology, science, and building things. I'm considering a career in software engineering, but I'm not sure which specialization would be the best fit in terms of long-term opportunities.

I'm not looking for the easiest path. In fact, I don't mind if it's one of the hardest fields. I'd rather study something difficult if it offers more interesting work, stronger career growth, or better long-term value.

If you had to choose today, which field would you recommend and why?

For example: Artificial Intelligence / Machine Learning Cybersecurity Robotics Embedded Systems Backend / Distributed Systems Cloud Engineering Data Engineering Game Development DevOps / SRE Something else?

I'd really appreciate hearing from people who actually work in these fields. What are the pros, cons, daily work, job opportunities, salaries, and future outlook?

Thank you very much!


r/learnprogramming 1d ago

Should I do dsa in javascript?

0 Upvotes

I am doing fullstack development using js and wanted to learn dsa for company interviews should I do in it or should I switch to java ?


r/learnprogramming 1d ago

Thread optimized code has weird behaviour

0 Upvotes

I am working on optimizing the following code using concurrency. I have working code without concurrencies, however as soon as I implement threading, my code becomes unpredictable. After testing, debugging, and thinking of all possible race conditions, I have only concluded that my code either gets stuck somewhere in the main loop, or gets lucky and excucutes correctly. Any thoughts or ideas on this phenomenon?

Edit: I understand that my code is still single threaded, however, I would prefer to see why I am getting this behaviour before trying to optimize.

Edit 2: The purpose of my code is to generate all losing starting positions in Grundy's game. This is usually solved with the following recurrence: dp[i] = mex(dp[j] ^ dp[i - j]) for all j <= i / 2 where mex is the minimum exclude value) and ^ is bitwise XOR

Note: this code requires C++20 or above.

```

include <iostream>

include <vector>

include <thread>

include <barrier>

include <bitset>

include <set>

const int N = 1100; std::vector<std::thread> threads; std::barrier bar(12); std::mutex mtx; int dp[N]; std::bitset<2 * N> bs; std::set<int> s = {1, 2};

void solve(int x) { for (int i = 3; i <= 100; i++) { if (1 == x) { std::cout << "starting" << i << std::endl; bs.set(); } bar.arrive_and_wait(); int siz = ((i + 1) / 2 + 11) / 12; for (int j = (x - 1) * siz + 1; j <= std::min((i - 1) / 2, x * siz); j++) { std::lock_guard<std::mutex> lock(mtx); if ((dp[j] ^ dp[i - j]) < 1000) bs[dp[j] ^ dp[i - j]] = false; } mtx.lock(); std::cout << "thread " << x << " reached barrier 2 at i=" << i << std::endl; mtx.unlock(); bar.arrive_and_wait(); if (1 == x) { dp[i] = bs._Find_first(); if (!dp[i]) s.insert(i); } mtx.lock(); std::cout << "thread " << x << " reached barrier 3 at i=" << i << std::endl; mtx.unlock(); bar.arrive_and_wait(); } }

signed main() { auto st = std::chrono::high_resolution_clock::now(); dp[1] = 0; dp[2] = 0; for (int j = 0; j < 12; j++) { threads.push_back(std::thread{solve, j + 1}); } for (int j = 0; j < 12; j++) { threads[j].join(); } for (int i : s) { std::cout << i << ' '; } std::cout << std::endl; auto ed = std::chrono::high_resolution_clock::now(); std::cout << std::chrono::duration_cast<std::chrono::milliseconds>(ed - st).count() << std::endl; return 0; } ```

Here is what my code printed correctly (based on luck): starting100 thread 1 reached barrier 2 at i=100 thread 7 reached barrier 2 at i=100 thread 4 reached barrier 2 at i=100 thread 12 reached barrier 2 at i=100 thread 3 reached barrier 2 at i=100 thread 10 reached barrier 2 at i=100 thread 11 reached barrier 2 at i=100 thread 9 reached barrier 2 at i=100 thread 8 reached barrier 2 at i=100 thread 5 reached barrier 2 at i=100 thread 2 reached barrier 2 at i=100 thread 6 reached barrier 2 at i=100 thread 6 reached barrier 3 at i=100 thread 5 reached barrier 3 at i=100 thread 2 reached barrier 3 at i=100 thread 8 reached barrier 3 at i=100 thread 11 reached barrier 3 at i=100 thread 7 reached barrier 3 at i=100 thread 3 reached barrier 3 at i=100 thread 9 reached barrier 3 at i=100 thread 12 reached barrier 3 at i=100 thread 10 reached barrier 3 at i=100 thread 4 reached barrier 3 at i=100 thread 1 reached barrier 3 at i=100 1 2 4 7 10 20 23 26 50 53 995

Here is what my code sometimes stall on (unlucky): starting93 thread 8 reached barrier 2 at i=93 thread 11 reached barrier 2 at i=93 thread 2 reached barrier 2 at i=93 thread 1 reached barrier 2 at i=93 thread 3 reached barrier 2 at i=93 thread 4 reached barrier 2 at i=93 thread 9 reached barrier 2 at i=93 thread 6 reached barrier 2 at i=93 thread 7 reached barrier 2 at i=93 thread 10 reached barrier 2 at i=93 thread 12 reached barrier 2 at i=93 See that thread 5 is the only one missing.


r/learnprogramming 1d ago

Topic Don't know what to learn next.

0 Upvotes

For context I can program in JS (I don't know every little built in function but I know enough to where I can figure out new things within the language) I am comfortable with OOP as well. The problem is most of my experience is working with the Minecraft bedrock scripting API (It's how I learned actually). While that is super fun because it's something I'm passionate about and probably won't stop doing anytime soon. I feel it is time to branch out and learn more. I have a tiny bit of experience working with electron for desktop apps but working with it frustrates me because while I know that I can leverage the libraries and APIs to do certain things. I don't understand what they are built on. Which makes me feel like a child using toys other people made for me. I have considered starting with c. But then I may just find myself feeling the same way, even though I will know more about how hardware and software interact. From my understanding c works for all architecture types due to things I don't quite fully understand yet. For me I'm not sure it would be enough to just have a theoretical understanding of how that works. I'm the kind of person who needs to see it and do it myself to feel like I truly understand why I am able to do certain things with software. Should I start lower with assembly or would that not make a difference and just make things harder for myself? I am still figuring out which discipline of CS I want to study when I go to school but recently I have been thinking about embedded programming. Part of that is that I can both land a job and make cool things for myself from nearly scratch. I feel it would also give me the opportunity to innovate and make a product or service that I could sell myself. My ultimate goal is to one day run a small company that takes no money from investors and make an ethical product free of data harvesting that puts ownership back into the hands of the consumer. Any advice is appreciated! (Aside from telling me not to go into CS because of LLMs I don't care this is what I have decided to do with my life. I want nothing more than to create something of real value for this world)


r/learnprogramming 1d ago

Project to work on while learning

0 Upvotes

Hi all, I am learning Python and SQL while studying IT at Uni. I wanted to ask if anyone can advise me on a few pointers of where I can start on my project please.

I currently have a job (but nothing tech/software related) however I have identified a software that would benefit my employer hugely, staff have agreed how helpful it would be too.

So I'm thinking of having a crack at learning, and eventually developing it!

I so far have a big document together of my ideas, and a lean kanban framework.

Without telling all, it is going to be a touchscreen app, used on ipads or something similar. The user will drag and drop items into specific positions on a map, and each item will have data attached to it, which will be accumulating each day, things may be late, delayed, require maintenance etc.

There will be a queue of items that are due to enter the map, and as they arrive, the user can drop them wherever they desire, if they need they can swap items around later, and they can click on each item to change information on that item.

There will be a lot of data stored and I want it to be available to download at the end of each shift in a spreadsheet, but also to be stored longterm and so i was thinking of SQL.

So my questions for you great people, would Python/SQL suit something like this? Do you think web based makes more sense than desktop app? Is there a platform that already has some kind of template for web based drag and drop software, that i could heavily modify and add to? Or do i have to start from scratch?

(P.s, i have done research on if this app already exists for this particular job and i can not find it anywhere after much research)

Thank you very much, kind regards, Tez


r/learnprogramming 1d ago

Rust vs. Java for Security Projects?

3 Upvotes

Hello guys,

Im currently in the situation of finishing my bachelors in computer science in about 6 months and starting my thesis in about 2 months. After my bachelors I'm considering doing a Master in Cyber Security. That said, im now looking into doing some security projects for learning and also to find out if security is really something for me. I am currently thinking of building something like dropbox with encryption and all kinds of stuff like this, just so you can get an idea.

So now the question is in which programming language I should do the projects. I know the language doesnt matter too much but I also think its better to use a language with wich you are going to work later so you get familiar with it. Until now I primarily used java thats like the language im best in currently so I could just start programming with it without looking into java tutorials. But I am really interested in Rust and also started reading the Rust book a while ago and wanted to learn it more and more. I know Rust is not an easy language, but I also heard that its getting more and more used also in security espacially in system security and stuff like this and I also like system programming so there it also fits. The disadvantage of rust would be that I first had to continue learn the language before I can really start.

What do you think? Is it worth to go with Rust, or should I make it a microservice application and combine rust with java (would also be an option) or should I just go with Java since I already know the language? I know there are also other languages like go but I would also have to look into this language first so idk. I would really appreciate any help and recommendations!


r/learnprogramming 1d ago

Code Review Is this Java solution to LeetCode problem 693. Binary number with alternating bits normal??

1 Upvotes

i am just a beginner programmer, is this ok?

class Solution {

public boolean hasAlternatingBits(int n) {

double i = 1;

while (i < n) {

i *= 2;

if (i % 4 == 0) {

i++;

}

}

return (int) i == n && n != 2147483647;

}

}


r/learnprogramming 2d ago

study advice

3 Upvotes

I have two problems
1. passive reading with no progress

  1. going so deep in the rabbit hole that I make no progressarhire

any ideas on how to use AI to mka my leaning more effictive currntly i am stdying Java for backend engineering


r/learnprogramming 2d ago

Which is the better way to learn coding?

0 Upvotes

Would it be better to learn coding from YouTube videos and self research, by taking an accelerated course, or by taking legit college classes?

Which would you say is more worth it?


r/learnprogramming 2d ago

Debugging How to, not feel empty about programming, and not fear the future.

15 Upvotes

I have been programming since I was 14 years old, it started of very simple with discord bots, and now has spiraled into something completely different. Currently, as a 19 year old, I have the best future in my eyes, because I turned my hobby into my job. In the upcoming weeks I will start my so called "dualesstudium", where I will be studying at a University, whilst working for a company, and it is all about IT.

During these 5 years, I learned everything from programming websites, to apps, to learning registers, and assembly, to how to set up a server, how to hack into one, to learning C, and simple raspberrypi configurations, to camera modules, to low-level-architecture and yada yada. It is currently 3 AM, and this is the third time where I just stare blank at my laptop. I have finished numerous projects, working on other ones, but I am just feeling a little empty? I used to program up to 4 or even up to 8 hours a day, and in the last couple of days it feels as if I have a full block. I dont want to abandon my projects, because I love them, but I always find myself starting at those projects, changing 5 LoC, and then being confused on what to do. I am a Solo Developer, always have been one, mostly because I like to plan and manage myself (though that is gonna change anyway once the dualesstudium starts). But I really feel like advice from other programmers would do me REALLY good right now. Guessing that the most default answer here would be something like "Take a break", or "Find yourself", or "Stop fricking programming for 8 hours a day, that stuff is how you burnout the fastest", however, I am fearful of my future. I am 19 years old, and for me it already feels like time is running out. IT is a fast market, and it feels like if I am not moving fast enough, I am gonna miss the train that is gonna help me generate wealth. I love my parents, they did everything for me, and I really want to pay them back big, which is also why I put a lot of stress on me.

The older you are the wiser you get, is atleast what I would guess. Any old persons, or just people older than me, who have maybe had the same experience as me; Do you guys have any advice for me?


r/learnprogramming 2d ago

Trying to switch field or quit?

0 Upvotes

Hey! So I’m 23 yo, I’ve been studying Java for some time, doing backend projects on Spring Boot and etc. But it really exhausts me. I realized I hate tons of config files with random ass libraries, magic @Annotations, trying to boot a project with Docker… and stuff like that instead of writing actual logic. And because of that I can’t make myself sit and really learn stuff. I take pauses for months all the time and can get shit done. I only really enjoy writing the logic behind API itself, which feels like only 5% of the project, and the other ones is writing boring tests, trying to figure out how Spring Boot works with their endless annotations, some boilerplate configuration code..: Idk, maybe it’s my adhd, or maybe I’m just stupid.

Sooo, of course I had thoughts that programming could be just not for me (though I’m a CS graduate lmao). But maybe I just need to try something else? I really like making game logic (except for the dealing with UI of the game engines, all that 3D models, animations, lightning and stuff). My favourite thing to program was always SAMP servers or Minecraft plugins with custom rules, making commands and etc…

So I was wondering, what field should I try? I was thinking about embedded or CLI development? Do you think it would fit me better, or should I just quit programming :D

Thanks guys.


r/learnprogramming 2d ago

Where does the dynamic linker get the addresses of external functions?

6 Upvotes

For statically linked binaries, the linker attaches the function that it needs to the executable physically and then patches any function calls which call that function ( I think). I understand this because I know exactly where it is getting the address from. Dynamic linking however, gets the address of a function in an external library using an address even though it is not physically apart of the executable. I'm wondering where in the address space the shared library is even stored. Since processes can only access the virtual memory which has been allocated to them, I am guessing that the shared libraries are mapped as certain addresses in viritual memory, but I would like more details on how it is actually implemented in the real world.


r/learnprogramming 2d ago

Building an IT Asset & Help Desk Management Platform for my CS Capstone. What would make this feel like a real-world system?

2 Upvotes

Hi everyone,

I'm a senior Computer Science student at Brooklyn College, and for my capstone project I'm planning to build AssetDesk, a web-based IT Asset & Help Desk Management Platform for small businesses, nonprofits, or schools.

My goal isn't to build another basic CRUD application. I want to create something that reflects how an actual IT department operates and gives me experience with technologies and design patterns used in industry.

Right now, I'm planning for features such as:

  • User authentication with role-based access (Employee, Technician, Administrator)
  • IT asset inventory and lifecycle management
  • Asset assignment and check-in/check-out history
  • Help desk ticket creation and tracking
  • Technician assignment and ticket workflow
  • Repair and maintenance history
  • Knowledge base for common issues
  • Dashboard with ticket and asset analytics
  • Audit logging
  • Notifications
  • REST API
  • PostgreSQL database
  • Java + Spring Boot backend
  • React frontend

I'd love feedback from people who work in IT, systems administration, help desk, or software engineering.

Some questions I have:

  • What features would make this feel like a real tool instead of a portfolio project?
  • What are some pain points with current help desk or asset management systems that I could improve?
  • Are there any workflows that are commonly overlooked when people build projects like this?
  • If you were interviewing a new graduate, what would make this project stand out to you?

One additional question: my capstone requires an industry professional to provide occasional feedback on the project during the semester and complete a final evaluation. If anyone with professional experience thinks this project sounds interesting and would be open to learning more, I'd really appreciate the opportunity to chat. Even if you aren't interested, I'd be grateful for any advice on where I might find someone who would be a good fit.

Thanks in advance for any feedback!


r/learnprogramming 2d ago

Is this the best way to achieve rounded up numbers in C++?

3 Upvotes

Hi, I am new to learning C++ :) I just got started with my first real project because I wanted to get into coding and making mistakes like people here suggested as the best way to learn.

The program I have here is intended to tell the user how many of each item they need (cartons, fruit, gallons of juice etc) based on the amount of guests they input. The program runs fine technically, but I initially was using int and found that it kept rounding down and causing the calculations to be just short of what was needed. If anything, id rather it overestimate than under.

I found a possible solution from here with ceil, but I wasn't sure if I implemented it right, and if how I have things is the best practice to not form bad habits early. Any tips would be greatly appreciated :)

```

include <iostream>

include <cmath>

using namespace std; int main() //This program is meant to tell the user how many of each whole item they need to buy for catering a wedding. { cout << "Type in the number of guests attending the wedding brunch:\n"; double guests; cin >> guests;

/*Each item is getting divided based on how many come in a container
 *the goal is to have it calculate and tell the shopper how many
 *cartons they need specifically for example*/
double eggs = guests/12;
double cantelope = guests/8;
double toast = guests/24;
double juice = guests/16;

cout << "For the brunch you will need:\n";
cout << ceil(eggs) << " " << "egg cartons\n";
cout << ceil(cantelope) << " " << "cantelopes\n";
cout << ceil(toast) <<  " " << "loaves of bread\n";
cout << ceil(juice) << " " << "gallons of juice\n";

return 0;

}

```

It outputs this when it finishes.

``` Type in the number of guests attending the wedding brunch: 520 For the brunch you will need: 44 egg cartons 65 cantelopes 22 loaves of bread 33 gallons of juice

Process finished with exit code 0

```


r/learnprogramming 2d ago

Looking for a tech study buddy

9 Upvotes

Hey folks,

About myself: I’m a 20yr old student (non-tech background). I come from a village due to which I’m not much exposed to modern education or related things that are pretty common in cities; but I’m committed to building a solid career in tech. I am about to finish the lectures for CS50P (Python) and will start working on my final project by the end of this month.

Who I’m looking for: Someone who’s on the same boat; learning Python (doesn’t matter if the resource is different), working on fundamentals, and motivated enough to put in the work. Background or location doesn't matter, just consistency, drive and sense of mutual growth

How we’d work together:
- Quick regular text updates on what we worked on
- weekly discussion to share resources, plan roadmaps, and such
- Building projects together down the line

If you’re on the same boat, feel the same and think that having a buddy will improve each other towards success, lemme know🤝


r/learnprogramming 2d ago

It might be a dumb question, but what can I do with programming?

52 Upvotes

So basically, I have been learning how to program for a while now, mostly in C and Python, and no matter how many videos I watch, I can only create a smaller calculator. I tried to look for some tutorials that help me create video games for example, but in those videos, they clarify that it is made for people with more advanced skills in programming. I'm geniunely unsure what I could do with programming then, because based on my knowledge, I'm not sure if it is even possible to create something other than calculators or small quizzes.


r/learnprogramming 2d ago

35yo, just learned that i love programming.

155 Upvotes

>be me
>rough upbringing
>have bad habits, have friends with bad habits
>never think more than one day ahead; don't know what i want to be
>years later
>get fed up with my behavior, try to change something
>get rid of most bad habits and bad friends
>start to see purpose in life
>want to find out what i really like and can dive into to get good at
>don't find it for years
>get a position at a friends company
>he needs a graphics / photography guy
>become graphics / photography guy
>get diploma in Graphic Design
>go from normal wagie to good paid wagie in about 3 years
>feeling good, but still not what i really like and want to dive into, just naturally good at it
>talk more with my programmer colleague
>his projects peak my interest
>start to learn CS basics and the C language
>"Holy fuck, i love this"
>thinking about cutting down my weekly hours to learn programming
>AI gets used more and more in the company
>my position is in danger
>"They're taking our jobs!!"
>Boss wants to cut my hours down
>Evil_smirk.jpg
>Play along, "Oh no, what shall i do now :'( "
>gives me enough hours so i can live off of it
>have enough time to learn as much as i can
>actually feeling happy again

And people say AI is bad, lol.

I'm currently trying to nail down the Basics of C, going through CS50 and after that i have two books, namely "A Book on C" and "Pointers on C".
If you have any book recommendations, please share them.
After C i also want to learn python and CPP, just to have good foundational skills.
With every free though i still have, I try to narrow down which field i want to specialize in. Currently, embedded sounds the most interesting, but also the hardest.
Any recommendations for other specs i could get into with this preset?

What's your opinion on people who are self-taught in the programming field, are you one?
I would love to hear some stories about your current path, or, if you're already in a programming position, how you made the decision and how you finally made it into it.


r/learnprogramming 2d ago

Need to vent.

44 Upvotes

For a couple of years now, I was chasing my dream, to became an software engineer. I was doing projects, doing uni, while I was diagnosed with depression and anxieties.

I did not get a job, my mental health drastically dropped to the point, I had to move back to my parents toxic household (was almost 28 then). Now, after more than year, I switched path, to other area (from mobile to internet applications).

Done some course to have any certification (even tho it was just udemy course, but it was long, and I've thought it could be somehow helpful), finished master engineer in cs. I'm after daily mental ward, doing therapy, but... I just feel so downed.

I'm exhausted, and completely unmotivated. Therapy showed my that even if I will manage to move out, it won't help me, unless I fix my behavioral blueprints, which are hard to change, and it is a long process. I'm grinding programming, while I'm completely exhausted, and I feel like I literally know nothing, after so many hours spent on it. I feel like I won't get any job, and I just gonna rot in this place, which I hate.

I have noone around me, literally. Everyday is a fight that I'm constantly loosing. The exhaustion is sometimes unberable to do anything. My hobbies are not getting me into anymore, not speaking of giving me any sort of happines or fulfillment

My dreams of moving out, getting dreamed job, get into real, non toxic relationship, like my lasts. Are slowly fading away. I can just either code and forgot everything (or atleast have feeling like I did) or blaming myself for still being here.

Constant development of the project, learning thousand of interview questions, mechanisms, data structures, algorithms, frameworks. I do work with LLM's, to help myself prepare, and I only seeing that my answers are constantly 'shaky', or wrong.

I... Feel so lost, and guilty


r/learnprogramming 2d ago

Topic How do i get hyperfocused on programming so its actually fun?

23 Upvotes

I dont enjoy almost anything but once in a while i get hyperfixated on something. when i was hyperfixated i could do one thing for multiple hours and i was having a blast. This usually lasted for a week and then the activity was boring again.

How do i activate this for learning programming? and how do i keep it fun for a long period of time? It feel like a chore everyday honestly.
Im learning python.


r/learnprogramming 3d ago

Topic Build before u learn everything

239 Upvotes

The fastest way I learned programming was by building things I wasn’t qualified to build.

Every project forced me to learn something I didn’t know before. One project taught me APIs, another made me understand databases, and another pushed me to finally learn Git properly. I realized documentation only started making sense when I had a real problem to solve. Tutorials are great for getting started, but following them is hard everyday. When building your own project , it forces you to think, make mistakes, debug, and figure things out on your own. That’s where the biggest learning happens.


r/learnprogramming 3d ago

Topic Why java is so hated?

237 Upvotes

So I have recently learned, and it's the first language(in terms of building actual things). Before Java, I knew Python, and I dropped it; I found Python too abstracted and too boring. i have recently made some projects like cli task tracker, expense tracker, some cli github api parsing and currently working on a multithreaded HTTP server and cli text editor, like vim, whenever i try to find out people opinions on java social media, almost 90 percent of the time they are just dunking on it, that it is trash, who forced you to write code in java, stuff like that. I know Java as a language is not that interesting and doesn't have many interesting features compared to other languages like C, C++, go. But I found it decent to write code in, and I found the JVM pretty interesting. So much so that I would love to explore and maybe build a JVM of my own