r/programming • • Jul 15 '26

SQLite should have (Rust-style) editions

https://mort.coffee/home/sqlite-editions/
155 Upvotes

75 comments sorted by

View all comments

Show parent comment

-13

u/Big_Combination9890 Jul 16 '26

New installations start from some different-than-today baseline

That means changing the default behavior. Which isn't gonna happen on sqlite for the reasons mentioned.

And again: if you don't like it: fork the project and change it yourself.

8

u/dontquestionmyaction Jul 16 '26

That means changing the default behavior.

No? What?

-2

u/ThatSwedishBastard Jul 17 '26

Actually, it does. The default should be edition-original, if you want the changed behavior you must specify edition-2026. Other than that, I’m with you.

1

u/DrShocker Jul 19 '26

Isn't it just effectively asking them to essentially include a 1 line "sensible_defaults_v1.2.3" So you get a reasonable bundle of default behavior but it's also locked to a version so you get backwards compatibility. That way the advice to people starting to use sqlite would just be to "add this 1 line"

Ultimately as long as it's documented well adding a few lines is also fine of course, but it is a little more work to research what those lines should be.