What is Nostr?
Slashdot (RSS Feed) /
npub1rk3…8w8z
2024-03-24 15:34:00

Slashdot (RSS Feed) on Nostr: Ask Slashdot: DuckDB Queries JSON with SQL. But Will AI Change Code Syntax? Long-time ...

Ask Slashdot: DuckDB Queries JSON with SQL. But Will AI Change Code Syntax?

Long-time Slashdot reader theodp writes: Among the amazing features of the in-process analytical database DuckDB, writes software engineer Paul Gross in DuckDB as the New jq, is that it has many data importers included without requiring extra dependencies. This means it can natively read and parse JSON as a database table, among many other formats. "Once I learned DuckDB could read JSON files directly into memory," Gross explains, "I realized that I could use it for many of the things where I'm currently using jq. In contrast to the complicated and custom jq syntax, I'm very familiar with SQL and use it almost daily."

The stark difference of the two programming approaches to the same problem — terse-but-cryptic jq vs. more-straightforward-to-most SQL — also raises some interesting questions: Will the use of Generative AI coding assistants more firmly entrench the status quo of the existing programming paradigms on whose codebases it's been trained? Or could it help bootstrap the acceptance of new, more approachable programming paradigms?

Had something like ChatGPT been around back in the Programming Windows 95 days, might people have been content to use Copilot to generate reams of difficult-to-maintain-and-enhance Windows C code using models trained on the existing codebases instead of exploring easier approaches to Windows programming like Visual BASIC?
<a href="http://twitter.com/home?status=Ask+Slashdot%3A++DuckDB+Queries+JSON+with+SQL.++But+Will+AI+Change+Code+Syntax%3F%3A+https%3A%2F%2Fdevelopers.slashdot.org%2Fstory%2F24%2F03%2F23%2F170217%2F%3Futm_source%3Dtwitter%26utm_medium%3Dtwitter"; rel="nofollow"><img src="https://a.fsdn.com/sd/twitter_icon_large.png"></a>;
<a href="http://www.facebook.com/sharer.php?u=https%3A%2F%2Fdevelopers.slashdot.org%2Fstory%2F24%2F03%2F23%2F170217%2Fask-slashdot-duckdb-queries-json-with-sql-but-will-ai-change-code-syntax%3Futm_source%3Dslashdot%26utm_medium%3Dfacebook"; rel="nofollow"><img src="https://a.fsdn.com/sd/facebook_icon_large.png"></a>;



https://developers.slashdot.org/story/24/03/23/170217/ask-slashdot-duckdb-queries-json-with-sql-but-will-ai-change-code-syntax?utm_source=rss1.0moreanon&utm_medium=feed
at Slashdot.

https://developers.slashdot.org/story/24/03/23/170217/ask-slashdot-duckdb-queries-json-with-sql-but-will-ai-change-code-syntax?utm_source=rss1.0mainlinkanon&utm_medium=feed
Author Public Key
npub1rk3j5fc4ew5w9zd7kx5zfqt04tew0kan9swrr63ctn6k8wp8f65qwd8w8z