woohaaha

woohaaha OP

Sorry if I’m overthinking this.

To date, Elixir is my favorite language. I don’t think of reaching for another language if I don’t have to… until recently.

Have ya’ll seen how good ChatGPT and Github Copilot are? People are just writing their boilerplate code, and even nuanced code lightning fast :astonished: Only catch is, it’s usually Python or Javascript. I don’t want to use those languages today, but I do want to ship apps ASAP. Seeing how fast these AI tools are generating mostly correct code that is easily tweaked has me reconsidering using Python and Javascript :person_shrugging:

Also, once businesses catch on to the productivity improvements, there may just be a mandate to use only AI supported languages in the office.

I think Elixir should find a way to be properly generated by AI tools lest organizations/developers will start using whatever language is most productive.

First 10 of 86 Posts Switch mode

D4no0

D4no0

The question is: how much boilerplate code do you really write? Elixir compared to other languages has little to none boilerplate, and for moments such as phoenix things, there are configurable generators.

I wouldn’t want an AI incapable of problem solving to generate complex code for me, because as tempting as it seems, the productivity decreases a lot if we talk about refactoring generated code compared to creating your own new code.

Productivity is about solving a problem in the most efficient way, not about generating code the fastest, so I frankly don’t understand this argument.

dimitarvp

dimitarvp

You are giving both of these tools too much credit.

As @D4no0 mentioned, generating code just so you can get started with task X is not such a huge deal as people make it out to be. Emacs and VIM have had “snippet managers” for decades where you press a particular combo of keys and e.g. get a function with a for-loop over a list written for you.

GitHub Copilot and ChatGPT are better in that for sure – but not by much.

98% of all commercial programming is reading, understanding and modifying code. Improving the 2% that are the writing of the initial code is not impressive by any stretch of the imagination.

And finally, having something generate bigger scaffolds for you comes with the severe disadvantage that you might not understand that initial code and then you’ll lose more time first trying to understand it and then actually extending it or even using it on a basic level.

19
Post #2
wanton7

wanton7

I’m wondering about this. I mean lot of time at least in our company’s software I first have to think about how to implement a feature because it might effect many places in the app. Lot of time is going into design then usually writing the code is just small part of the equation. It’s really hard for me to believe that 50% productivity claim from Copilot. I write TypeScript and I think it support that and maybe I’ll try it out.

Edit: It wasn’t 50% it was close to 30% source: Research: How GitHub Copilot helps improve developer productivity - The GitHub Blog

Raees678

Raees678

In my experience Copilot in elixir is pretty good. I’ve even found it to be better with elixir than with typescript.

Sebb

Sebb

I agree, it will be mandatory that code can be generated by AI.
The fact that chatGPT is so much better - at a task it is not made for - than copilot lets us guess where Microsoft will go with it in the future. In a few years all code will be written in dialog with a bot, no loc will be entered by hand.

cmo

cmo

And all progress will halt. Who is going to come up with new ideas then, the chatbot?

In this future I imagine it all eventually converges and every app ends up becoming a to-do app, styled using bootstrap, of course.

Sebb

Sebb

You’ll still have to think (for a while) and tell the bot what to do, what you want.

dmitriid

dmitriid

They… Really aren’t. After two weeks of running Copilot on a JS codebase

  • it managed to suggest autocompletion maybe 5% of the time
  • maybe another 5% of the time it was actually useful or correct

All other cases IDEA’s autocompletion was better, and actually correct.

Both Copilot and ChatGPT are barely competent for the smallest and easiest of use cases. For the absolute vast majority of cases it’s a junior developer misunderstanding the assignment and spitting out some code that you have to thoroughly review to catch all the mistakes.

Don’t mistake raving reviews on Youtube/Twitter that are result of an early honeymoon period for actual usability of the products.

al2o3cr

al2o3cr

If you don’t want to work in a circus, don’t work for clowns.

17
Post #9
musialny.dev

musialny.dev

For what tbh, AI code generation is currently garbage technology. You also mentioned ChatGPT as code generation AI / tool. It’s not. It’s a text generation AI and nothing else. Use correct tool for correct job and try not believing in stupid marketing phrases :smiley:

Where Next? Top

Trending in AI / LLMs Top

AstonJ
Anyone vibe-converted a Rails app to Phoenix? How did it go? Which tools did you use? Any tips? Asking for a friend :sweat_smile:
New
SyntaxSorcerer
Hi all :waving_hand: I’m presenting “Building a Harness for Fun and Profit” at Colorado Startup Week on September 14, 2026. tl;dr - I b...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

We're in Beta

About us Mission Statement