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

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

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

A language to do what?

That is just programming with extra steps

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

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

[-] cx40@programming.dev 1 points 11 months 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 11 months ago

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

[-] cx40@programming.dev 2 points 11 months ago

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

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

Programmer Humor

30852 readers
1512 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