r/AskProgramming • u/UnluckyIntellect4095 • Apr 13 '25
r/AskProgramming • u/Zd_27 • Mar 20 '25
Why is Java considered bad?
I recently got into programming and chose to begin with Java. I see a lot of experienced programmers calling Java outdated and straight up bad and I can't seem to understand why. The biggest complaint I hear is that Java is verbose and has a lot of boilerplate but besides for getters setters equals and hashcode (which can be done in a split second by IDE's) I haven't really encountered any problems yet. The way I see it, objects and how they interact with each other feels very intuitive. Can anyone shine a light on why Java isn't that good in the grand scheme of things?
r/AskProgramming • u/Human-Platypus6227 • Aug 05 '24
Career/Edu Do i suck at coding if i google often?
So been a software engineer for 1 year and saw a video said programmers has lots of imposter syndrome and should stop saying "i have no idea what I'm doing". The guy said "if you can't code on a notepad in your fav language without looking up you probably don't know the language".
Rn i think i suck at it especially been doing lot of QA testing in a few months. It's not i couldn't do coding if i got the task to do it since office task is mostly copy existing project coding functions and modify a little, unless it's about networking related stuff because i never understood that.
So just asking if the statement is true for most programmer?
r/AskProgramming • u/Capomaco • Mar 23 '26
I've just heard a Senior Engineer state that if you say AI is good at coding, then you know nothing about coding, what do you think?
r/AskProgramming • u/nicknoxx • Oct 15 '25
Architecture How feasible would it be to create a personal search engine that actually works like Google did say 20 years ago with no ads and decent ranking? I'm so fed up with enshittification.
r/AskProgramming • u/Confused_AF_Help • Nov 16 '25
Other How ready is the whole world for Y2K38?
It just randomly hit me that Y2K38 is just over 12 years from now. Has the entire world, especially those legacy industries like banking, updated their stuff to run on 64 bit time yet? Is there any scenario/codebase out there that for some reason still struggling to fix the issue?
r/AskProgramming • u/[deleted] • Dec 08 '20
Is it normal to do 4 hours of research for like 10 minutes of coding?
I've been trying to improve the speed of some code and I spent like 4 hours reading through documentation and figured it out and it only took 10 minutes to implement and I got like a 500% speed up which I'm very proud of. But again Is it normal to just spend more time on documentation than actual coding?
r/AskProgramming • u/Fritz-Ferdinand • Apr 24 '26
Why is VSCode so popular?
I'm used to using JetBrains' IDEs and enjoy it's well-made UI and auto-completion. My new employer now doesn't have any JetBrains licences and instead let's us use VSCode and frankly, I have the impression it's basically unusable without GitHub Copilot or an equivalent AI companion. Example with Python projects:
Ctrl-Click on a method name usually takes a while, sometimes, a popup window opens with references, sometimes nothing at all, but it always takes a few seconds.
You have to edit a JSON file to setup run configurations
You first have to go to "Run/Debug" to run the app. Then, you can't see your file tree anymore.
VSCode's debug module sends a Ctrl+C interrupt about one, two seconds after opening the terminal, then activates the local virtual environment. At this point, I already typed half of my command and it throws me out mentally. It also interferes with running the app.
Auto-complete is inferior to JetBrains
GitHub Copilot is implemented so annoyingly, always suggesting whole code chunks that are often wrong and it's just too easy to accidentally accept them.
A lot functionality is only available after installing add-ons, like Markdown viewer, and those aren't easy to use as well.
The only positive is that it's free, but to me, it really feels like a hurdle.
Looking forward to reading some positive experiences.
r/AskProgramming • u/crypticaITA • Mar 11 '24
Career/Edu Friend quitting his current programming job because "AI will make human programmers useless". Is he exaggerating?
Me and a friend of mine both work on programming in Angular for web apps. I find myself cool with my current position (been working for 3 years and it's my first job, 24 y.o.), but my friend (been working for around 10 years, 30 y.o.) decided to quit his job to start studying for a job in AI managment/programming. He did so because, in his opinion, there'll soon be a time where AI will make human programmers useless since they'll program everything you'll tell them to program.
If it was someone I didn't know and hadn't any background I really wouldn't believe them, but he has tons of experience both inside and outside his job. He was one of the best in his class when it comes to IT and programming is a passion for him, so perhaps he know what he's talking about?
What do you think? I don't blame his for his decision, if he wants to do another job he's completely free to do so. But is it fair to think that AIs can take the place of humans when it comes to programming? Would it be fair for each of us, to be on the safe side, to undertake studies in the field of AI management, even if a job in that field is not in our future plans? My question might be prompted by an irrational fear that my studies and experience might become vain in the near future, but I preferred to ask those who know more about programming than I do.
r/AskProgramming • u/S-E-M • Oct 14 '23
Other What are some useful things every programmer should own?
TBH I'm looking for a useful gift for my boyfriend, but have no real idea what his job actually looks/feels like. I just see him spending a lot of time at his desk and being frustrated, then happy, then frustrated again. So I thought I'd ask some people who are more familiar with it. Feel free to redirect me if I'm in the wrong subreddit. I have very limited knowledge about tech stuff and don't want to blindly buy something. So what items do you guys keep at your desk that you think other programmers could benefit from?
Edit: Thank you so much for your help guys, and also so quick. I've compiled your suggestions into a list and I think I'm going with an entire set of nicer stationary, whiteboard, rubber duck, mug, organizers/stand and add a personal touch to it. Basically a little makeover to hopefully help him with his work.
r/AskProgramming • u/Parafault • Jan 27 '24
What’s up with Linux?
Throughout my education and career, I have never used Linux. No one I know has ever used Linux. No classes I took ever used or mentioned Linux. No computers at the companies I’ve worked at used Linux. Basically everything was 100% windows, with a few Mac/apple products thrown in the mix.
However, I’ve recently gotten involved with some scientific computing, and in that realm, it seems like EVERYTHING is 100% Linux-based. Windows programs often don’t even exist, or if they do, they aren’t really supported as much as the Linux versions. As a lifelong windows user, this adds a lot of hurdles to using these tools - through learning weird Linux things like bash scripts, to having to use remote/virtual environments vs. just doing stuff on my own machine.
This got me wondering: why? I thought that Linux was just an operating system, so is there something that makes it better than windows for calculating things? Or is windows fundamentally unable to handle the types of problems that a Linux system can?
Can anyone help shed some light on this?
r/AskProgramming • u/bmocore • Feb 06 '25
Why I am always told to NOT use terminal?
edit: People are assuming many things I didn’t say. I don’t think I am better than anyone else for doing some processes the way I like. I neither think they can force me to do processes their way. Just simple as that. I know I am learning and for sure I listen to all that my seniors have to say. But if the only thing they say is: ‘Why you do that’ and they literally don’t explain the reason I should do anything, I just don’t like it. We are engineers and we should know what are we doing and why.
—
I’m still a junior backend developer and I still got much to learn from my coworkers, but Ive been told many times to not use a terminal and use the GUI option instead.
For example: I need to look for an error on a log file. Then I go to the corresponding directory and “grep -C 3 error” on the file, or vi and search for the “error” word. Then my coworker says why dont you just open the log file with notepad++?
This happened a lot at my current work and I don’t understand why.
r/AskProgramming • u/Jashan_31 • Feb 11 '26
Why is Linux bash commands are so simple compared to powershell
I am wondering this because I have a both windows and Linux on my laptop and own Linux using terminal is like really easy but windows powershell weird Syntex.
r/AskProgramming • u/zynix • Jul 24 '24
Career/Edu What do senior programmers wish juniors and students knew or did?
Disclaimer: I've been a code monkey since the mid to early 90's.
For myself, something that still gets to me is when someone comes to me with "X is broken!" and my response is always, "What was the error message? Was their a stack trace?" I kinda expect non-tech-savvy people to not include the error but not code monkeys in training.
A slightly lesser pet peeve, "Don't ask if you can ask a question," just ask the question!
What else do supervisory/management/tech lead tier people wish their minions knew?
r/AskProgramming • u/barrenground • Nov 11 '25
Is the LeetCode grind just screwing over new grads for no reason?
Hey everyone, I'm a recent grad, and I've been grinding LeetCode for months, and I'm just so done and burnt out. I'm wasting hours every single day on abstract puzzles that have nothing to do with an actual developer job.
My portfolio's getting no love because I'm too busy memorizing how to reverse a linked list in 3 different ways. Then you get into the interview, and it's this high-pressure, 45-minute timer to write perfect, bug-free code. No one ever codes like that in real life. It's a complete joke.
It all just feels so fake and designed to make you fail. Is this system just completely broken, or am I missing something? How are you guys actually getting jobs without losing your minds over this?
r/AskProgramming • u/BlockOfDiamond • May 12 '26
Other Why do some people write redundant if statements to return a boolean?
Why do some people write:
if (x > 10) {
return true;
} else {
return false;
}Instead of:
return x > 10;Performance aside, I think the shorter version is actually more readable due to not having as much visual clutter to parse, and is the most direct way to express the intent of "return the result of the comparison."
However, some people write the first version. Why is that?
r/AskProgramming • u/TakingTheBiscuit90 • Mar 03 '21
Other Should I give away my software to my company for free?
I’ve been working at my current manufacturing company now for 4 years (non-tech). For size, the company employs around 400 people and makes about $50m/y ($5m/y net). They’re an old company who haven’t invested that much in technology. I noticed over the past few years how much the company was needing both a project management tool and an asset management tool. Information is spread by word of mouth and a lot of work is still paper-based which is then manually entered to a computer. I tried to get them to buy some of these softwares a while back, but they were reluctant to pay ~$15 per license per month, even though they admitted it would greatly improve their operation.
Over the last 18 months, I brushed up on some of my coding knowledge and made a software that combined a project management software with an asset management software, tailored to the company. I pitched this last week and the executives were blown away by it.
They asked at the end of the meeting quite cheerfully how quickly could I get this implemented. I told them not long, however we’d need to negotiate a price, either as an ongoing fee with support, or a fixed price with no support, or an agreed price per hour for any future updates and maintenance. They were horrified. One of the executives said it was rude of me to ask for money for a software that was tailored towards them. None of the work was done while I was on shift. All of the work has been done at home during my own time. He said he didn’t care and it was my job to come up with new ideas that benefited the company. I said that if it’s as useful to the company that he said 10 minutes ago that it was, then he shouldn’t mind paying for it. I left it there and I’ve had little communication with them since. Am I being unreasonable here?
r/AskProgramming • u/H1BNOT4ME • Aug 16 '24
Which programming language you find aesthetically attractive?
For me, Ada is perhaps the most aesthetically pleasing language to write and read. It has a pleasant visual structure with sections nicely organized into blocks.
package State_Machine is
type Fan_State is (Stop, Slow, Medium, Fast) with Size => 2; -- needs only 2 bits
type Buttons_State is (None, Up, Down, Both) with Size => 2; -- needs only 2 bits
type Speed is mod 3; -- wraps around to 0
procedure Run;
private
type Transition_Table is array (Fan_State, Buttons_State) of Fan_State;
Transitions : constant Transition_Table :=
(Stop => (Stop, Slow, Stop, Stop),
Slow => (Slow, Medium, Stop, Stop),
Medium => (Medium, Fast, Slow, Stop),
Fast => (Fast, Fast, Medium, Stop));
end package State_Machine;
package body State_Machine is
procedure Run is
Current_State : Fan_State;
Fan_Speed : Speed := 0;
begin
loop -- repeat control loop forever
Read_Buttons (Buttons);
Current_State := Transitions (Current_State, Buttons);
Control_Motor (Current_State);
Fan_Speed := Fan_Speed + 1; -- will not exceed maximum speed
end loop;
end Run;
end package body State_Machiner/AskProgramming • u/dimaghnakhardt001 • Oct 21 '26
Other Has vibe coding exposed people who never actually enjoyed programming
This made me think of people who lost weight after claiming to be happy with their bodies for number of years until the weight loss drugs showed up. When this happened some said that these people were never actually happy and that they just pretended to be.
After seeing some colleagues and friends make fun of me for not giving into vibe coding and now using AI to code all the time themselves, I now think that they probably never liked programming in the first place either. It was probably the only way to get and/or keep their jobs.
Are there people here who have had similar experience and reached the same conclusion? Apologies if i offended anyone with the initial bit. I just used that as an example.
Edit:
Thanks for your sharing your thoughts on this everyone. I must say it was quite interesting to see how some people look at software development. I used the term software development here intentionally because one thing i learned from the comments here is that not everybody sees programming as the only way to build software. At least not anymore.
I obviously didn’t realize that and always assumed that in order to build a good piece of software one must be good at programming. I personally look at programming as something more than just writing code. It’s the problem solving, writing easy to manage, performant and scalable code and possible a lot of other things that I think are important when it comes to writing software. All those times when I would get into discussions with people on which programming language is better and what’s the best way to write a solution for a particular problem was very interesting and a very good learning opportunity. Now after all these AI tools talking to the very same people seems like they never cared about these things and were just doing it to fit in with the rest of us. Or maybe they were genuinely into it back then and either fell out of love or just got tired of it in the end. Maybe it will happen to the rest of us too or maybe it won’t.
Thank you once again everybody.
r/AskProgramming • u/BlossomingBeelz • Nov 12 '25
Other If you could remake the modern internet entirely with no backwards compat required, how would you design it?
When I'm thinking about web security, sometimes I have moments where I'm just like... "Why didn't we just f-ing design this to be secure?!" Obviously, it's not that easy.
But I was thinking, complete rug pull situation, and lets say you have a magic parser that will convert everyone's content so that it will work on this new ideal platform (or not, up to you). If you could redesign the internet (or an aspect of it), how would you do it? Or what would it look like? How would you want to do things differently?
Potential topics: Security, network protocols, pervasivity of bots, AI slop, consolidation under AWS (and other broligarchs), social media, web v. desktop platforms.
r/AskProgramming • u/TheWanderingAnimimo • Oct 16 '26
Why are all vibecoded programs and games I see coded in Rust?
Is there a particular reason why specifically Rust is used? Is it the new C++?
edit; thank you all for the comments, I've learnt alot!
r/AskProgramming • u/Mammoth_Noise_3834 • Aug 12 '24
Is Stack Overflow going downhill ?
(Throwaway account)
Hello everyone,
I'm writing this post because I've faced something really sad with Stack Overflow moderation yesterday.
TBH, I never really liked this website. My first experience was around 2016 when I started programming. I often felt rejected and mocked so much that I ended up deleting my account and used the site as a read only documentation.
Since that, I got my Master Degree, GCP and Terraform Cert and I'm close to celebrate my 10th year of professional experience. I'm now a Lead Dev and feel very confortable with GCP enough to help people, mainly on Reddit actually.
Last week, a friend of mine told me that I should definitely use Stack Overflow and after so many years, I was willing to try again. I even felt ready for that.
I answer my first question, fix the problem. Then a second one, about a beta feature from GCP, I spent 2h coding and testing, I made it work on my own GCP project and then I share the code. Yesterday, a generic post about Terraform from a newbie, clearly lost. I explain to him how it works and what he should do in his situation.
I did use Chat GPT for this one, only to rephrase part of my english which is not my main language. Don't get me wrong, I did wrote the whole content, sourced every sentence with the appropriate link when needed.
On the evening, my 3 post got removed by the same moderator. They asked me to flag post if I was not okay with that, so I did and said that I did write everything myself, instantly refused, for the 3. That felt weird and really bad.
So I ended up talking with the mods team and said that I used Chat GPT to rephrase some of my english only in one post only. The post doesn't even contains any code. Here is their answer :
Please note that using AI in any form is not allowed.
It is not permitted for you to use generative AI to create content on Stack Overflow during this ban. This also includes rewording, translating or explaining text or code written by you.
Regards,
Stack Overflow Moderation Team
It felt weird because the only post where I used Chat GPT was a really verbose one, without code, where I did write the whole content first. It took me almost 1h to explain to the user and backlinking everything, not just "hey GPT, answer that" which would be terrible. I thought I was doing my best to offer the highest quality answer possible but it seems that it was not allowed.
Which, imo, makes no sens at all, looks arbitrary as hell and terribly hypocrite knowing that Stack Overflow has a partnership with Open AI. Guess they don't want GPT to be trained on itself.
I answered to them that I do understand and that I won't rephrase my english again, that deleting my whole tested content (the 2 other answers) feel like a very hard punishment and doesn't help the community. They ended up undeleting just one answer, the other one about the beta feature of GCP will forever stay dead and my time forever wasted.
I can't help but feel sorry for Stack Overflow, it used to be a sometime toxic but incredible website and now I feel like that it's just terrible. Only 33% of GCP question are answered under 24h, even Stack Overflow say it's pretty low.
Well, I'm deleting my account and will stick to Reddit. I can't see myself supporting this kind of behaviour.
Once again, you won Stack Overflow. But at what cost ?
r/AskProgramming • u/fms224 • Aug 28 '25
Productive coders with a life, tell me what your day looks like.
I used to be a very productive coder, my "special" ability was to get complete tunnel vision into what I was doing. Often times I could go for 4+ or even more hours without even coming up for air on a singular problem and working 10 - 14 hours didn't bother me at all.
Then I got married, bought a house, and had kids. My interest in work has waned a lot. My house gave me space and my career gave me money (but not time) to pursue some hobbies I had been neglecting for years. Now I feel like I'm flailing at all of it, never really making substantial progress.
Time management was never a skill I developed because tbh I had more success when my time was not managed. That type of work is no longer an option.
I'm looking for a variety of opinions and specifics.
What routines do you have for work and what routines do you have outside of work, how do you decide what to do next, do you use any apps/programs, what emotions do you feel, do you ever feel on top of it all?
r/AskProgramming • u/[deleted] • Dec 05 '24
Career/Edu Software developers say that coding is the easiest part of the job. How do i even reach the point where coding is easy?
Because coding is the hardest thing for me right now