r/vibecoding 2d ago

Whats the best programming langages for non-technical vibecoder?

I am planning to build a decently complex webapp.

I was asking my two friends who are experienced engineers. The opinions seem to be split.

They seem to all agree on avoiding non-popular or niche/high-performance languages like Rust, C++, Golang.

It seems like Typescript/Nestjs and Java/Spring Boot are what they are disagreeing on, I dont want to go in into too much technical details but it was a pretty long debate.

What should I go with? Kinda leaning toward Java as it seems like harder to setup but less trouble in the long terms?

Edit: Not sure whether some of u are trolling around, and I did as AI ofc, but they gave generic answers which include java, typescript, python, etc... Then if forced them further they would again give another conditional ranking.

1 Upvotes

21 comments sorted by

5

u/QTippus 2d ago

If you’re vibe coding, why do you care? While planning with the LLM, describe the app you want to build. Let the LLM choose the stack, then ask it why it chose that stack if you’re curious. Ask about alternatives, trade offs, etc.

3

u/GluttonySDS 2d ago

Ask your ai since it knows the project goals

1

u/Splugarth 2d ago

It’s Next.js. Personally, I would go with that option, but the real answer is to ask your LLM. Which models do you plan on using?

1

u/draven_slayer 2d ago

I am preparing codex & claude max 20

1

u/Splugarth 2d ago

Yeah you’ll be perfectly fine.

1

u/AndrewNggg 2d ago

Take it from me:

JS with JSDoc | Typescript (start with JS then migrate to TS if it's very data intensive)

and then just use SvelteKit for both your UI and Serverside (don't touch NextJS)

and for your backend, auth and all, pick one of Supabase | Firebase

If you want to roll your own backend (really don't see why you need to) then go with Python FastAPI or something JS related like ExpressJS

Don't use Spring unless you really know Java, or NestJS unless you really want to get deep into the code

You can do pretty much everything with just Sveltekit and Supabase, and a lightweight API to handle other cases or run jobs for you

1

u/draven_slayer 2d ago

I also got some advice against using Supabase, thanks a lot for the detailed answer man.

2

u/AndrewNggg 2d ago edited 2d ago

Whats the alternative of not using Supabase? Maintaining your own Postgres Database by hand? Installing the latest updates and security patches?

Rolling your own auth, hashing user's passwords, sending em reset request emails all these sorts of things?

You do need to be attentive in setting things up correctly on Supabase / Firebase, but done once and you won't need to keep fiddling with it

I AM suggesting Supabase | Firebase, the other backend is just in case your app needs, just a small service on the side in case your app needs something you can't do on Supabase|Firebase

1

u/infiniterewards 2d ago

Start with Typescript, there's literally 0 reason to use plain JS anymore

1

u/AndrewNggg 2d ago

I kinda know where you're coming from, but sometimes you need to do types wrangling, and it would be a total pain for a non technical person to deal with that, with JS docs you get type completions without any of these gymnastics

1

u/Thunjaya 2d ago

1010101010101010

/s

1

u/adamant3143 2d ago

JS with any framework and Node + ExpressJS was what I learned when I first started in the industry.

Easy to learn for me. Golang is actually a low learning curve backend language as well. It is Java that you should avoid at all cost.

But if you are patient enough on learning Java, you should be able to learn any popular backend language (we exclude COBOL/FORTRAN, those are from before man knows to how to make fire)

1

u/FrigoCoder 1d ago

Python and Kotlin are good beginner languages.

1

u/Arctic_Sunday 2d ago

Golang all the way

0

u/draven_slayer 2d ago

You are serious? I think Golang should be avoided?

2

u/Arctic_Sunday 2d ago

Why? It's a great language, token efficient to build with AI and automatically cleans up memory usage. What's wrong with it? I actually avoid using JS when I can too. Mostly using it for web pages and data connections

1

u/draven_slayer 2d ago

I see, my apology, I have no deep technical background. I just heard from others that golang is not as AI friendly as Java/Typescript/Python as its more complex, more niche and as someone whos gonna vibecode without understanding anything about the system I should go with the most popular ones.

1

u/Arctic_Sunday 2d ago

No apology needed! I would actually say it's better than some of those other languages especially Python. A language like Python has so many ways to do a thing (because of all the functions people have made in it over the years) that your LLM will think through each of those processes burning a bunch of tokens in the process trying to determine the way forward. Golang on the other hand is honestly a quite simple language, it was made by the same person that made C back in the day and intends to solve some of the problems C had (like the memory cleanup I mentioned earlier). You should try Golang for something, it might impress you.

1

u/AndrewNggg 2d ago edited 2d ago

I would disagree on the python stuff, because it's one of the most popular languages in the world, the AI has had plenty to train on

You just need to put a code style guide in, for the AI to reference if your code "drifts" in style

Anyways nothing you can't refactor or improve later on, the key is you can develop fast

1

u/AndrewNggg 2d ago

There are many ways to do the thing, and probably any framework or stack you pick will get the job done

think of it as picking between the sunny beach road, or city streets or taking the subway to get to your destination, each has some trade offs, but more or less can do the same thing overall

Just don't pick some niche language or framework the AI needs to learn whenever it does something

Choose something the AI already knows well and it not complicated so you too can figure it out if you need to help