• 89 Posts
  • 1.59K Comments
Joined 2 years ago
cake
Cake day: September 1st, 2023

help-circle




  • There will always be stuff to code. Even if the task of coding itself were completely removed, being able to use AI for coding will require knowledge of the subject matter and an ability to express one’s needs.

    If you go onto any bug list, most people are unable to express the most basic information to dill in a bug report form. “What are you using”, “What did you do”, “What did you expect to happen”, “What happened instead”. Just that. It doesn’t require any technical knowledge, just the rudimentary ability to describe events and desires and yet they still fail.

    AI assisted coding requires the ability to understand ambiguity too. “Solve world hunger” can be solved by killing all of humanity so that nobody is hungry anymore, putting porridge in front of evey human being until the end of time, hooking up every human to a feeding tube and harnessing energy from it, modifying human genes to not know what hunger is, or rebuilding society to give everybody equal access to nutrition that they enjoy.








  • Before reading it: why not make it the default?

    I read the PEP and couldn’t find why it’s a proposal for an explicit keyword only. Probably backwards compatibility, but maybe it’ll become the norm.

    It wouldn’t surprise me if it became a keyword for module local things too like functions. Then it would make declaring a class that uses other classes in read order i.e class A uses class B which uses class C >>> declaration order is A, B, C instead of the current C, B, A.







  • That video showed him saying that it’s good for autocomplete. But speaking from experience testing it on Rust, Python, JS, HTML and CSS, it performed the worst on Rust. It wrote tests well, but sucked at features or refactoring. Whether the problem is between the chair and the screen, I don’t know.

    Whether AI will be able to write secure code, I dunno, I haven’t tried. It could be put into the rules to consider security and add tests relating to security or add an adversarial agent that tries to find flaws in the code which can be exploited. That could probably do more than a developer who has no time assigned to care about testing, much less security.

    What it does to the IT sector in the long run - who knows…

    Agreed. Things are moving so quickly, it’s impossible to predict. There are lots of people on LinkedIn screaming about obsoletion of humans or other bold claims, but to me they are like drunk fortune tellers: tell enough fortunes and one is bound to be right.