3 ms·
>>I wonder if my coding skill will deteriorate in the years to come... Well that's not how LLMs work. Don't use an LLM to do thinking for you. You use LLMs to
by kamaal 2y ago
>>I wonder if my coding skill will deteriorate in the years to come...
Well that's not how LLMs work. Don't use an LLM to do thinking for you. You use LLMs to work for you, while you tell(after thinking) it what's to be done.
Basically things like-
. Attach a click handler to this button with x, y, z params and on click route it to the path /a/b/c
. Change the color of this header to purple.
. Parse the json in param 'payload' and pick up the value under this>then>that and return
etc. kind of dictation.
You don't ask big questions like 'Write me a todo app', or 'Write me this dashboard'. Those are too broad questions.
You will still continue to code and work like you always have. Except that you now have a good coding assistant that will do the chore of typing for you.
- skydhash 2y agoMaybe I'm too good at my editor (currently Emacs, previously Vim), but the fact is that I can type all of this faster than dictating it to an AI and verifying its output.
- kamaal 2y agoYes, editor proficiency is something that beats these things any day. In fact if you are familiar with keyboard macros, in both vim and emacs you can do a lot of text heavy lifting tasks. I don't see these as opposing traits. One can use both the goodness of vim AND LLMs at the same time. Why pick one, when you can pick both?
- skydhash 2y ago> One can use both the goodness of vim AND LLMs at the same time. Why pick one, when you can pick both? I mostly use manuals, books, and the occasional forum searches. And the advantage is that you pick surrounding knowledge. And more consistent writing. And today, I know where some of the good stuff are. You're not supposed to learn everything in one go. I built a knowledge map where I can find what I want in a more straightforward manner. No need to enter in a symbiosis with an LLM.
- kamaal 2y agoWell its entirely an individual choice to make. But I don't generally view the world in terms of ORs I view them in terms of ANDs. One can do pick and use multiple good things at a time. Using vim doesn't mean, I won't use vscode, or vice versa. Or that if you use vscode code you must not use AI with it. Having access to a library doesn't mean, one must not use Google. One can use both or many at one time. There are no rules here, the idea is to build something.
- dawidloubser 2y agoI think that anybody who finds the process of clumsily describing the above examples to an LLM in some text box using english and waiting for it to spit out some code which you hope is suitable for your given programming context and codebase more efficient than just expressing the logic directly in your programming language in an efficient editor, probably suffers from multiple weaknesses: - Poor editor / editing setup - Poor programming language and knowledge thereof - Poor APIs and/or knowledge thereof Mankind has worked for decades to develop elegant and succinct programming languages within which to express problems and solutions, and compilers with deterministic behaviour to "do the work for us". I am surprised that so many people in the software engineering field are prepared to just throw all of this away (never mind develop it further) in exchange for using a poor "programming language" (say, english) to express problems clumsily in a roudabout way, and then throw away the "source code" (the LLM prompt) entirely such to simply paste the "compiler output" (code the LLM spewed out which may or may not be suitable or correct) into some heterogenous mess of multiple different LLM outputs pasted together in a codebase held together by nothing more than the law of averages, and hope. Then there's the fun fact that every single LLM prompt interaction consumes a ridiculous amount of energy - I heard figures such as the total amount required to recharge a smartphone battery - in an era where mankind is racing towards an energy cliff. Vast, remote data centres filled with GPUs spewing tonnes of CO₂ and massive amounts of heat to power your "programming experience". In my opinion, LLMs are a momentous achievement with some very interesting use-cases, but they are just about the most ass-backwards and illogical way of advancing the field of programming possible.
- dasKrokodil 2y agoAt the time I'm writing this, there are over 260 comments to this article and yours is still the only one that mentions the enormous energy consumption. I wonder whether this is because people don't know about it or because they simply don't care... But I, for one, try to use AI as sparingly as possible for this reason.
- ctrl4th 2y agoYou're not alone. With the inclusion of gemini generated answers in google search, its going down the road of most capitalistic things. Where you see something is wrong, but you have no option to use it even if you don't want it.
- Auracle 2y agoI asked o1 to make an entire save system for a game/app I’m working on in Unity with some pretty big gotchas (Minecraft-like chunk system, etc) and it got pretty close to nailing it first try - and what it didn’t get was due to me not writing out some specifics. I honestly don’t think we’re far out from people being able to write “Write me a todo app” and then telling it what changes to make after. I recently switched back to software development from professional photography and I’m not sure if that’s a mistake or not.