1181
you are viewing a single comment's thread
view the rest of the comments
[-] toastmeister@lemmy.ca -2 points 3 days ago

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

[-] cx40@programming.dev 1 points 2 days ago

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?

[-] toastmeister@lemmy.ca 1 points 2 days ago

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

[-] cx40@programming.dev 2 points 2 days ago

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

[-] russjr08@bitforged.space 1 points 2 days 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.

[-] Honytawk@feddit.nl 1 points 2 days ago* (last edited 2 days ago)

A language to do what?

That is just programming with extra steps

[-] toastmeister@lemmy.ca 1 points 2 days ago* (last edited 2 days 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.

this post was submitted on 06 May 2025
1181 points (96.8% liked)

Programmer Humor

23133 readers
1170 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