News for hackers. Stuff that matters.
Re:Architecture Notes: Datasette by beebmam on Friday May 27, 2022 @01:43PM (#31532463)
I have a hard time believing people feel comfortable using Python applications in production for anything other than prototyping. I have seen some shit over my career, across many kinds of interpreted languages, that will never let me approve of that.

Unless one simply doesn't care about runtime quality.

Re:Architecture Notes: Datasette by simonw on Friday May 27, 2022 @01:50PM (#31532546)
Believe it. I've spent almost my entire career running Python applications in production, as have many of my friends, and many large companies that I've worked for or worked with.

Given the number of terrible, buggy sites I've seen built using Java or .NET I personally have trouble believing companies run those in production, but evidently they do!

Re:Architecture Notes: Datasette by simonw on Friday May 27, 2022 @02:09PM (#31532791)
A slightly less snarky answer: the thing I care about isn't the language, it's the process and environment around the project.

If I'm going to put something in production, I want it to have:

- Comprehensive tests, protected by CI

- Thorough, up-to-date documentation

- Code that lives in version control, with good commit messages that help answer "why" questions about how it works

- Good development environments

- A robust deployment process

The language influences these in as much as different languages have different cultures and tooling around them, but conceptually they are pretty language agnostic.

I know how to do all of these things well in Python, which is why I tend to continue to spend my time in Python land.

Re:Architecture Notes: Datasette by getpost on Friday May 27, 2022 @02:05PM (#31532737)
Production sites like YouTube, Instagram, Netflix, Reddit, ...? https://www.botreetechnologies.com/blog/top-15-websites-buil...
Re:Architecture Notes: Datasette by sontek on Friday May 27, 2022 @04:43PM (#31534635)
Yeah, it'd be crazy if sites like Reddit, SurveyMonkey, Dropbox, Spotify, Instagram, Pinterest, Lyft, and Sentry were built on a silly little prototyping language like Python instead of a real programming language. Right?
Re:Architecture Notes: Datasette by googletron on Friday May 27, 2022 @02:10PM (#31532802)
I am surprised how this hot take still has legs. World's biggest site's use Python.
Re:Architecture Notes: Datasette by SonOfLilit on Friday May 27, 2022 @07:26PM (#31536084)
A python web app with the wonderful Django ORM shows a lot more care about runtime quality than any Java or C# app that contains strings to query an SQL database, or worse, Mongo, which - while not the norm anymore, thank god - I've seen way too many of.

(And I haven't seen any ORM to match Django's, in any language. Java and C# have horrible popular ORMs).

Re:Architecture Notes: Datasette by noSyncCloud on Friday May 27, 2022 @02:16PM (#31532872)
What about production apps running on scripting languages like JS?