news.ycombinator.com• May 31, 2022• 1 min read
Ask HN: Will creative people have jobs in 10 years?I've been a skeptic of AI replacing top-level art directors, designers, illustrators, SWEs, etc. for a long time, because I think it can copy well but can't create or interpret.Today was my first full day of coding inducted into Copilot. I know a lot of you folks have had the fun of playing with it for a long time.I have a particular way of writing code after 25 years, certain idiosyncrasies. Just as a cheap shot example, I write mysql queries in PHP by defining the whole string first as a variable named $someQ = "SELECT * FROM table WHERE id=:id;" and then, rather than binding the variables, I prefer to compile the query as $someZ = $conn->prepare($someQ); and then $someZ->execute(array(":id"=>$id)).This isn't a usual way of doing things. Copilot tried to bind the vars the first time I did it. The second time, it set up the array. The third time, when I wrote $insQ as the name of the an insertion string, and $insZ as the query that would execute it, Copilot wrote $updQ and $updZ by it