this post was submitted on 06 May 2025
1174 points (96.9% liked)

Programmer Humor

23119 readers
1790 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -2 points 1 day ago (3 children)

Could AI allow you to write code in python, and then turn the python into a static language with static variables at least?

[–] [email protected] 1 points 1 day ago (1 children)

But the main benefits of static typing is in making the programming part easier. What do you gain from translating dynamically typed languages into a statically typed language?

[–] [email protected] 1 points 1 day ago (1 children)

Well that can't be true, why would anyone have ever made a dynamic typing system?

[–] [email protected] 2 points 1 day ago

That's also to make programming easier. Different programmers have different needs.

[–] [email protected] 1 points 1 day ago

I don't see how that's going to work out well. That's asking to end up with a mess that you're just going to have to rewrite anyways.

I do not even have a complete hatred for AI like a lot of folks do, but I don't trust it that much (nor should anyone).

You'd be better off with an actual deterministic transpiler for that (think TypeScript -> JS but the other way around I suppose), not something with a ton of random variables like an AI.

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago) (1 children)

A language to do what?

That is just programming with extra steps

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago)

Well python is slow due to garbage collection and dynamic types, if AI could fill those in it would make programming far easier at least.

You could write low level drivers in python.