MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
duckdb
Search

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

Sunday March 24, 2024. 04:34 PM , from Slashdot
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?

Read more of this story at Slashdot.
https://developers.slashdot.org/story/24/03/23/170217/ask-slashdot-duckdb-queries-json-with-sql-but-...

Related News

News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Apr, Sat 27 - 11:20 CEST