261

No AI, Stack Overflow is dying, and tech posts get removed. How are we supposed to code?
u/Doomgriever  in  r/godot •  22d ago

"...those of you who are completely against AI-assisted coding, how are you actually solving problems these days?"

I mean, I've been a gamedev over 20 years, without using AI. Learn the basics of the programming language, and the basics of how to use the engine/tools. It's not like learning was this impossible task before AI. I honestly think people have become dumber in just a couple of years by relying more and more on AI solving every problem. The more you learn how to solve problems yourself, the better you become at it. The more you ask an AI to solve it for you, the less efficient you become.

All the knowledge (YouTube tutorials, etc.) are still available to us. I think it's a 100 times better to support these people with views and follows, than to cut their income by choosing AI over them. Over time you look up tutorials less and less, because you learn. But, the contrary is true if you export your thinking and agency to a machine.

361

modernCppVsOldCpp
u/joncrompy  in  r/ProgrammerHumor •  26d ago

This is, ironically, the exact reason C++ is the standard in some industries. Students can learn the OOP C++ then work in the same codebase as someone programming "touching the metal" low level C.

Most languages make trade-offs between performance, structure, memory safety, and ease of writing. Every language might have their use, but very few cover all use cases.

C++ lets each programmers choose those trade-offs individually, but that also allows them to choose none of the above.

114

On endangered crafts
u/TheComplimentarian  in  r/CuratedTumblr •  12d ago

COBOL guy here! Well, I was one, starting during Y2K remediation, and being shackled to the cross of it for the next 10 years or so until I stopped putting it on my resume anymore, so I could move on to something that didn't suck.

It's not that it's hard to do. Programming is programming, and if you can program in one language, then you just have to pick up the quirks and syntax to program in another. It's that what they want is you to learn this monstrous thing that they've spent decades creating, and then to spend the rest of your life keeping it going. Not fixing it. The audit requirements are too crazy for that. You can't fix anything without a business case, and a long audit trail.

They want you to maintain it. They want you to spend your whole life mucking out the mess of generations, without addressing the root causes of said mess.

It's a shit job, and the only thing it prepares you for is doing that shit job.

100

I don’t even hate AI, I just feel a little sad about being obsolete
u/grady_vuckovic  in  r/cpp •  2d ago

I think you and I are at the same place right now OP.

Programming isa huge part of my life and identity.

"I'm a codemonkey" I'd jokingly say when introducing myself.

Not just professionally, it was my 'thing' in my social circles, among my friends, etc. That and graphic design (essentially already killed by Gen AI) and 3D graphics (which is about to get hit by Gen AI too it seems).

Yeah I know some folks would say, "That's sad, go touch grass.".

No! Why should I have to apologise for being me?

I don't like sport, or parties or clubs or dancing, I don't drink alcohol, I hate a lot of mainstream entertainment, etc. I've been out there, I've tried those things, I don't like them. Yes a walk along a beach is nice and all, but if I'm being honest, I have a way better time at home at 4am on my PC writing a cool project. And I have zero capacity to even pretend to be interested in someone telling me about little susie's dancing lessons, I hate being around large crowds of people.

Why should I have to pretend to be interested in these things if I'm not? No one has ever pretended to be interested in what I like! My whole life when it's my turn to express what I'm into, I tell someone about the exciting fun I had on the weekend writing a raytracer from scratch and they look at me like I'm from another fucking planet and have 6 eyes and tentacles for hair!

"Wow that sounds very boring you're weird". Thanks for your input. I'll remember to use that exact phrasing the next time you waste 10 minutes of my life talking to me about how you went camping on the weekend.

I didn't get a job writing software 'just to make money'. I got a job writing software and doing 3D graphics so I could get paid to do it rather than doing it for free.

And now suddenly... , anyone can just type a prompt into an AI and get whatever they need from it. Is it perfect? No. Do they care? No. Do they even understand why it's flawed? No. Will it be better in 12 months? Probably.

18 months ago I was adament that AI would never replace programmers or 3D artists because I viewed what we do as too complex for 'a stochastic digital parrot' to ever handle. My miscalculation was assuming that people would judge AI generated code by my standards and not by the standard of 'Did it work?'.

But seeing things like some idiot punk kids trying to port GTA 6 from consoles to PC with nothing but 'make no mistakes' 'work faster' 'it's not working yet fix it!' style prompts in a coding agent... and seeing it actually work well enough to have almost playable frame rates? Seeing the buckets of Gen AI slop uploaded to Steam? The folks (even many developers!) dismissively saying code doesn't matter and no one needs to read or write it any more. The CEOs boasting about how much of their code is AI generated. Peers in the industry telling me about their AI minimum quotas, and needing written approval from a manager before they can write code themselves without it..

It's all starting to wear me down.

I just don't know. I don't know where we're going, what we're doing, I don't know how any of this is meant to be sustainable, none of it makes any sense to me. How can a profession which has been about nothing but deep analytical thought, personal development, complex problem solving and deep understanding of low level technology, ... invert to ... 'No one needs to learn anything any more' ? ... hUuh?!

And worse, it's all 'thanks to' a technology built off stolen IP, technology that is backward facing, that can't learn anything new unless they find new IP to steal.

And I'm seeing artists, programmers, musicians, journalists, writers, and more, all suffering as they lose work to this @#$%ing stochastic digital parrot, and seeing AI boosters smugly declaring "It's already smarter than any human being on the planet, you can't possibly hope to compete!".

CEOs, influencers, youtubers, tech reporters saying shit like, "Good news! No one has to think any more! No one has to learn anything! No one has to understand how something works! You never have to solve another problem ever again! HAH I haven't opened a text editor or IDE in a year! Everything can be built by typing a brief description of what you want into a coding agent! Soon your grandma will just prompt her phone apps into existence!".

... and then people act like I'm weird for being upset or annoyed or angry at this bullshit?

How is this even meant to be sustainable long term, having no one pay attention to the details of how things actually work? No one reading code or thinking about how we're solving problems, just letting coding agents figure out everything for them? You can't just ignore these details, and you can't skip over understanding the low level stuff, it's understanding the lower level that helps you solve problems at a higher level.

Programming languages, libraries, documentation sites, IDEs, .. these things only exist and work the way they do BECAUSE humans had to invent/use them. We made new languages because the old ones sucked, who is going to make a new language if 'no one' is using the current ones? Where will we be in 10 years? 20 years?

What happens when all the people who know how shit works are gone?

The industry has never felt more lost than it does right now. And every day I bounce back and forth between "This is all hype and isn't real, this is all bullshit and they're trying to con us" and "I'm in denial this is really happening, I can't believe we're doing this".

And.. it's.. exhausting...

Personally... I'm trying to look for anything else I can do where human thought and problem solving, is still valued. Something I can do where I don't have to read/hear/watch DAILY someone insisting I'm doomed to become a meat proxy for an AI. Something I can do while waiting to see if the software industry is going to bounce back from this or crash and burn completely. I'm just gonna shift careers until this nonsense starts to make sense again.

86

Last prompt given by hyphenn before going to sleep, keep going until fps is capped at 30
u/GoldSrc  in  r/pcmasterrace •  8d ago

On the surface, sure, it looks silly and laughable.

But once you dig just a little, the computer will do as instructed. Just as it has always has been doing.

For decades. Humans have been telling computers to do X thing, and they did it.

Computer languages evolved to become easier to use because that was the main goal. You really don't see many people programming in Assembly, do you? No.

As soon as programming languages became easier, people flocked to them because it was less work and less time wasted. Which is what computers were made for. Humans were slow, computers were faster.

Using natural language to instruct a computer program to do something, in a language it understands better than any other thing, was something inevitable.

Asking someone who speaks only Chinese, to speak English, can be done but it would take them time to learn.

Asking someone who already speaks English, to speak English? Piece of cake.

129

Is this a dream? The new proposed homepage is gorgeous
u/marktheprogrammer  in  r/PHP •  14d ago

Member of the marketing SIG here, replying in a personal capacity. I'm in no way associated with the foundation beyond being in the community group.

Don't hyper-focus on the design. Instead, focus on what the change *represents*.

We're trying to solve a problem: The current PHP website landing is utterly terrible at "selling" PHP.

A new person visiting php.net will take one look at the current landing page and immediately get the idea that PHP is outdated, doesn't take itself seriously, and doesn't care what other people think about it.

That only reinforces the all-too-common perception about what PHP is, when the reality is that perception is almost entirely wrong for modern PHP.

Regardless of the pros and cons of the outsourced design, this is the first small step to changing that perception.

The main beneficiaries of this work will be *you*. The people reading this. The people using PHP as their day-to-day language, building careers on it.

We want to start to fight back against this outdated idea that PHP isn't a viable, modern language.

We want PHP to be considered a perfectly valid choice when companies are deciding what their next piece of software is going to be written in.

If PHP is seen to have more value, then your skills with it will be seen to have more value, and the demand for those skills will hopefully increase.

Making the landing page be slightly less terrible is one small step towards that, even if it does look a bit homogeneous with a lot of other stuff out there. Consider asking yourself what your CTO is likely to think of the proposed design, or a new developer first looking into PHP.

Again, it's the beginning of the site overhaul, not the end.

If we can use this initial version to convince internals on the importance of this work, and the content on it, then we can stand to get a lot more creative in the design.

---------------------

Combining multiple pieces of feedback:

Firstly, I cannot comment on how long it took to make, or if AI was involved; I was not involved in its actual coding or principle design as it was outsourced at Matt's request. That said, it's not set in stone and if you have visual changes to recommend, please take them over to the GitHub issue.

Do people really choose their programming language based on that language’s homepage?

People may not actively choose a language based on its homepage, but they will absolutely dismiss any further investigation into a language based on its homepage.

First impressions count, and if the first impression is poor, then there's a much greater chance that an individual won't get so far as to learn about the benefits of the language, because they'll have hit the back button on their browser and be looking for something else.

I like that most code examples are from Symfony.

Technically, they just look like Symfony, but they could come from any suitable framework (I've created attribute-based routing like this in several projects). At the moment, official PHP policy prevents us from showing 'real' frameworks due to impartiality rules, so we tried to show what modern code looks like, without tying it to any particular framework.

New users will love these nonworking examples.

PHP is heavily dependent on its ecosystem to make for a good developer experience. Where as something like Node has an inbuilt http server, with request/response objects, routing etc, PHP has none of these, and a modern experience requires them being brought in via Composer.

As explained above, we believe official policy prohibits us from showing frameworks at this time, that leaves us with a few options:

  1. Show the "Plain PHP" way, accessing things through superglobals, creating responses by calling header functions, echoing out HTML, a .php file for every path in the webroot etc, 2002 style. I believe doing so would be a terrible idea, it's an antiquated design that we should not be promoting in 2026, and risks giving the impression that it's the best PHP has, which is absolutely not the case.
  2. Make examples of what code could look like, if using modern PHP development practices, when taking advantage of the tools and frameworks provided by the ecosystem, but without showing bias towards any particular one (hide dependencies, skip fully qualified class references). The downside is, this comes at the cost of the example not being directly runnable.
  3. Try and include code for an entire micro-framework in all the examples, or make one available via some other mechanism. This would bury the user under potentially hundreds of lines of framework code that they're realistically never going to need to look at.

We went for option 2 - It was our compromise that would allow us to show "Modern PHP" while avoiding getting the whole thing derailed with arguments about framework bias.

The bottom line is: focus on the language itself, and the product will sell itself.

The marketing team are separate from the C developers. The marketing team is comprised almost entirely of highly experienced userland developers, with a tilt towards management / corporate / gov. I assure you, our group working on this is not taking any time away from the development of the language.

Where's the elephant? WHAT DID YOU DO TO THE ELEPHANT?!

Good question o_O At our last SIG meeting we'd talked about putting it in place of that fancy outline logo thing at the top.

Various comments about liking the old site because it shows PHP's age.

A huge part of the problem we're facing is that people are holding on to ideas that PHP is still like it was 15, 20 years ago, when it was a much, much weaker language. We are actively trying to undercut that belief with this work. Emphasising the bad-ol-days is not a good strategy. As far as I am concerned, anything before 8.2 is irrelevant beyond providing some basic history.