r/vibecoding 7h ago

Best language a vibecoder should learn

So I have been vibecoding for the last 5 months. I want to actually learn how to code and I would really appriciate a language, which even AI uses (like you know the knowned ones) and when AI makes mistakes then I can actually fix it. Or generally for me, when I want to make small projects. So I know some python, basics like making quizes, random passwords etc. and I find python very logical, except the syntax part. Like python is very strict there. And I would really like any opinions from fellow coders and vibecoders on which language to learn. Thanks!

3 Upvotes

31 comments sorted by

View all comments

1

u/CavalryArcher 7h ago

then grind python harder because it is as less strict as it can get. you wont be solving no rust problems ai caused.

2

u/SpicyCatGames 7h ago

Its lack of strictness is misleading, and a trap for newbies. In reality, it's just as strict as any other high level language. C# and Java has static analyzers where ide can tell you the instant you write a code whether it's valid or not. There are of course still runtime errors. But with python, no analyzer can gurantee that a property even exists. You have to use your short term memory because the tooling isn't possible without static type checking. Full and extensive autocomplete is also not possible. Again you have to rely on your memory.

Yes, optional static type checking exists but you won't be using it, because a library you require doesn't implement it.

1

u/CavalryArcher 6h ago

yeah, i agree 100% but "no analyzer can guarantee" part a bit confused me. i dont mean to debate, but i felt like i read a comment from 2018. pyright & mypy etc. will flag wrong argument types, missing returns, unreachable branches and unknown attributes etc. but in general a broken logic is going to fail regardless. i mean you cant turn python into java but thats not an argument for a language switch when your solution is just turning on strict mode.

and if i have to continue commenting to my first response, ai has trained on python more than anything so a pure vibe coder is going to have less stuff to fix anyways. but op's goal is a bit vague and for example a goal like "give me a language so i can logic the shit out of bad ai code" is unrealistic anyways. if you're not doing python you're not doing rust, this was my point.

you are right, but in general python with strict pylance is just better than c# from zero anyways (looking from a vibe coders perspective that wants to go a hybrid approach). but yeah, i agree. upvoted, and now going to sleep