Live data from Hacker News

English as the new programming language for Apache spark

databricks.com

51–53 of 53 posts

Re: English as the new programming language for Apache spark

#51

I've found ChatGPT useful – I want to write some code to do X, and I often find it is a less mentally taxing to write an English prompt and let ChatGPT do the rest than to write the code myself. But I don't just trust ChatGPT's code – I always modify it, refactor it a bit. ChatGPT is rather human in that sometimes it makes the kind of dumb mistakes that humans do–like inverting a test. I know how to catch those mista…

Agreed but remember we're only looking at the first iteration of this stuff, like the internet in 1999.

By 2030 I would not be surprised if programming was mostly a human telling a computer what to do via text prompts. That is certainly the direction things have been moving.

Re: English as the new programming language for Apache spark

#52
I love their reasoning of "Copilot is great, but the code it generates can sometimes be hard to understand or contain bugs - therefore, let's just hide away the code so users won't even try to understand it in the first place! And surely the bugs too will just miraculously vanish if they are hidden below another abstraction layer!"

Re: English as the new programming language for Apache spark

#53
post #5

"Moving four week average using only calendar weeks with complete data" "Moving four week average to today inclusive" "Moving four week average to today exclusive (or to yesterday)" "Moving four week daily average" "Moving four week weekly average" "Moving four week daily average, but the denominator should only count days with data" "Moving four week average, but I actually mean week-to-date total as of today" And t…

The amount of Ambiguity in the English language is going to cause all kinds of headaches. Is "Week" Monday to Friday, Sunday to Saturday, Monday to Sunday or some other period. Is "Week-to-date Total" Total Sales (pre or post tax??), Total Customers, Total Inventory or some other total Even "Moving Average" is full of ambiguity is it a Centered Moving Average a Rolling Moving Average, Is it Weighted? To counter all o…

That’s precisely the promise of going down this path. Today you have to be ultra specific and hit go. Maybe tomorrow, you just say what you want and it’s asks you follow up questions like the ones you mentioned.
Post reply on HN