"You will have to worry about people who are using AI replacing you" Oh yes. I should be very very afraid of the flying copypasta monster. As if my productivity is reduced to the mere rate at which I can write code! What's even project planning? Why even have meetings if it's all down to "is it done yet"? Who works at these coding sweatshops that are so afraid of AI? If they get fired and find a better place to work,…
Tips for programmers to stay ahead of generative AI
251–260 of 319 posts
Re: Tips for programmers to stay ahead of generative AI
#252Re: Tips for programmers to stay ahead of generative AI
#253the next 5+ years will see software proliferate rapidly as a result of things like chatgpt and llm augmented documentation pages. Building things end to end just got easier and will become more so soon.
> a result of things like chatgpt and llm augmented documentation pages. You mean like this? https://github.com/mdn/yari/issues/9208 https://news.ycombinator.com/item?id=36542267
Re: Tips for programmers to stay ahead of generative AI
#254Earlier quoted context omitted.
> a result of things like chatgpt and llm augmented documentation pages. You mean like this? https://github.com/mdn/yari/issues/9208 https://news.ycombinator.com/item?id=36542267
those links are great counterarguments. But we are still in early stages, which i dont think is indicative of the end state of these tools (though that can be debated of course).
Re: Tips for programmers to stay ahead of generative AI
#255Occurs to me as a retired 69 year old former coder that AI makes us old geezers and geezesses somewhat competitive again with our younger colleagues. Need to learn yet another new framework? Let AI do the nitty gritty bit. Capitalize on your experience and higher level know how.
It doesn't work. I asked GPT-4 to migrate the following PHP code to JS: $csv = array_map('str_getcsv', file($argv[1])); And this is the result: const csv = readFileSync(filename, 'utf-8').split('\n').map(line => line.split(',')); You can't parse CSV this way, because you need to respect delimiters. Counter example: 1,"1,5",2 "1,5" being the German notation for "1.5". Hence, a simple split(',') will break this thing.…
Re: Tips for programmers to stay ahead of generative AI
#256Earlier quoted context omitted.
It doesn't work. I asked GPT-4 to migrate the following PHP code to JS: $csv = array_map('str_getcsv', file($argv[1])); And this is the result: const csv = readFileSync(filename, 'utf-8').split('\n').map(line => line.split(',')); You can't parse CSV this way, because you need to respect delimiters. Counter example: 1,"1,5",2 "1,5" being the German notation for "1.5". Hence, a simple split(',') will break this thing.…
I wonder if inputting an explicit function call $csv = str_getcsv(file($argv[1])) Would make it easier.
Re: Tips for programmers to stay ahead of generative AI
#257Earlier quoted context omitted.
The thing is the hallucinations, I also wasted few hours trying to work on solutions with GPT where it just kept making up parameters and random functions.
It referenced a made up a function I needed (that should probably exist lol) in BrightScript, the letdown after realizing as much was painful.
Re: Tips for programmers to stay ahead of generative AI
#258Is programming even the hard part about programming? In all seriousness, what we would really need from an AI to start really saving me time would be for it to interview all the customers/partners involved on the project, determine the scope of function needed, boil all that down to a set of sensible domain models that make sense to everyone, identify where/when messages need to be passed, determine which things can…
AI is not going to each my lunch. But it sure is handy being able to make sense of some old logic and syntax. It literally saves me hours in having to figure out strange code snippets and such.
GPT is very impressive. But we'll be fine. There's plenty more complexity to come, so be smart, be a part of that complexity.
Re: Tips for programmers to stay ahead of generative AI
#259I now consider that ChatGPT for programming is a confirmation of my intuition back then.
Now, I understand that article as being too shallow again, by defining short term strategies for working with ChatGPT without considering a long term view on what it means for programming overall.
And I'm sure I'm not alone in finding the impact of ChatGPT (and future generative AI) on programming as obvious...
Re: Tips for programmers to stay ahead of generative AI
#260Earlier quoted context omitted.
It doesn't work. I asked GPT-4 to migrate the following PHP code to JS: $csv = array_map('str_getcsv', file($argv[1])); And this is the result: const csv = readFileSync(filename, 'utf-8').split('\n').map(line => line.split(',')); You can't parse CSV this way, because you need to respect delimiters. Counter example: 1,"1,5",2 "1,5" being the German notation for "1.5". Hence, a simple split(',') will break this thing.…
One shot code translation is very… September 2023