Jump to content

Recommended Posts

Posted

I hate coding, even though I do appreciate what can be achieved with it.

But as computer coding is a logical processes, is AI not showing up it's weakness but not being able to write some scripts easily? Or is it that most programming languages are so full of contradictions that the whole industry needs to have a word with itself.

Posted
1 hour ago, SteamyTea said:

I hate coding, even though I do appreciate what can be achieved with it.

But as computer coding is a logical processes, is AI not showing up it's weakness but not being able to write some scripts easily? Or is it that most programming languages are so full of contradictions that the whole industry needs to have a word with itself.

Thats actually an extremely good point. AI coding isn't like mine at all. The style, the way AI usually over engineers. As models are trained off existing code bases then it loses the "human" element of coding i.e. elegance . Ask 50 competent programmers to write pac-man and you'll get 50 packman games - the code though will vary wildly on how they solve issues and do things - infinite variation in fact. The future will be IMHO AI checking other AI written code no human coding. Of course that's what I do now! Chat checks codex suggestions but when chat gets in a mess I literally say STOP!. We then uncommit previous code so we are back to a known state. Though I have not looked still at 1 line of code I can see where it's getting stuck. Then I can direct it better on what to do.

Posted
5 hours ago, SteamyTea said:

so full of contradictions that the whole industry needs to have a word with itself.


That probably sums it up rather nicely. It's random. Having been out of the game for over 2 decades, I'm not massively surprised by the short cuts and poor approaches to design that I'm seeing in programming generally. I've pulled Claude up on that a few times but we have a chat about it and then take an informed decision. Probably one of the best aspects to using AI for coding is the commenting. As long as the prompts specify the extent of commenting, it is miles above what you usually find with human produced code because it takes a lot of effort to think about and formulate comments if you're the programmer. So this makes life so much easier.

Generally though, it's actually one of the good things the AI does and I'm blown away by what it can do, even if it does have its moments. You just have to learn how to compartmentalise the work, slicing it up into smaller components and formulate your prompts.

Posted (edited)
7 minutes ago, SimonD said:

You just have to learn how to compartmentalise the work, slicing it up into smaller components and formulate your prompts.

Which is what I was taught to do in the early 1980s.

Does it recognise flow diagrams, assuming they are done correctly?

 

  

7 minutes ago, SimonD said:

Probably one of the best aspects to using AI for coding is the commenting. As long as the prompts specify the extent of commenting, it is miles above what you usually find with human produced code because it takes a lot of effort to think about and formulate comments if you're the programmer

Once saw a comment in a database that said "this is shit code"

Edited by SteamyTea
Posted
33 minutes ago, SteamyTea said:

Once saw a comment in a database that said "this is shit code"

That nothing to what we would do 

 

"turn back , its a (expletive deleted)ing mess"

"this wont work"

"(expletive deleted) knows"

"Jesus this is not going well"

"WTF is this?"

"Why?"

 

etc etc etc. Sega failed us once because they wanted the obj files for a game. It had comemnts in. That means all the bad lanugauge. Took ages to find all the abuse.

The thing was back then when you wrote a game likelyhood of reusing code (unless maybe AI at the time or render engine) was very low. Re invented the wheel each time.

Posted
1 hour ago, SteamyTea said:

Once saw a comment in a database that said "this is shit code"

 

1 hour ago, Pocster said:

That nothing to what we would do 

 

"turn back , its a (expletive deleted)ing mess"

"this wont work"

"(expletive deleted) knows"

"Jesus this is not going well"

"WTF is this?"

"Why?

 

Perhaps I should rephrase to considered commenting that is helpful rather than just crap coming out of the numb brain of a programmer who's had enough and bored!

  • Haha 1
Posted (edited)
24 minutes ago, SimonD said:

 

 

Perhaps I should rephrase to considered commenting that is helpful rather than just crap coming out of the numb brain of a programmer who's had enough and bored!

Once in a certain game if you did a key combo on level 1 my true opinions scrolled up the screen.

 

@SimonD clearly a professional. But when your'e a creative under pressue constantly you aint got time to straighten your tie 

Edited by Pocster
  • Haha 1
Posted
7 hours ago, Pocster said:

The future will be IMHO AI checking other AI written code no human coding. Of course that's what I do now!


I was listening to Linus Torvalds speaking about AI during an interview where he was saying how useful AI is and its power to identify bugs and vulnerabilities. But he also said that AI wasn't capable enough to fix them - that needed humans. I kind of agree. The problem is that AI can only look backwards to harvest stuff that already exists and then regurgitate that - it doesn't have any imagination at all and certainly can't see a path or opportunity ahead (I think this is a limitation inherent in the cognitive models used to develop the llms and will probably also seriously limit the function of agi unless they change tack) . To develop this functionality, just imagine the size of the required context window, we'd be building a data centre or 2, if not more, dedicated to each and every user.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...