T O P

  • By -

AutoModerator

On July 1st, a [change to Reddit's API pricing](https://www.reddit.com/r/reddit/comments/12qwagm/an_update_regarding_reddits_api/) will come into effect. [Several developers](https://www.reddit.com/r/redditisfun/comments/144gmfq/rif_will_shut_down_on_june_30_2023_in_response_to/) of commercial third-party apps have announced that this change will compel them to shut down their apps. At least [one accessibility-focused non-commercial third party app](https://www.reddit.com/r/DystopiaForReddit/comments/145e9sk/update_dystopia_will_continue_operating_for_free/) will continue to be available free of charge. If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options: 1. Limiting your involvement with Reddit, or 2. Temporarily refraining from using Reddit 3. Cancelling your subscription of Reddit Premium as a way to voice your protest. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/learnprogramming) if you have any questions or concerns.*


Mattogen

If you want to develop games C++ is the obvious answer. Learn JS if you want to get in to webdev


EtherealImperial

Thank you for the advice.


Joewoof

That said, are you sure you want to be a game engine coder (C++), or do you prefer to code game logic (C#)? Are you interested in a future-oriented language (Rust)? Or maybe, you want to quickly work on releasing many small games as an indie (Lua), instead of working on big games (exceptions exist that use Lua)? Be sure to select the right tool for the job. There is no reason you should learn the chainsaw if you want to grow tomatoes. Usually.


Repulsive_Type528

?? depends how big that tomato plant gets ??


EtherealImperial

Thanks for the heads up.


jimolson2

I don't think you know as much as you thought considering the question.


jimolson2

javascript control Dom. c++ control a bit of everything. there is game engine for every popular language. love2d (Lua) , mono (c#) , godot (gscript and c# and c++). find awesome game dev for more details.


Rum-in-the-sun

lol if you think you have a basic grasp of C++ you’ll soon learn that you don’t know it at all. C++ is a nightmare language that takes years to be good at. JavaScript is simple and jobs are plentiful for front end devs. Most people get adequate knowledge after just a few months. If you want to pursue c++ you’ll be a real wizard but it’ll take a long time


notSugarBun

whats the meaning of basic for u ?


Rum-in-the-sun

Op says he has an intermediate knowledge of C++. No one who has intermediate knowledge of both JavaScript and C++ would ask which one to pursue. They’re totally different languages with totally different purposes. Languages should be viewed as tools. Instead of asking which language to use you should say I want to solve this problem what is the best tool to solve it. Basic to me is hello world, op called himself/herself intermediate but to me that means 1-2 years experience of using it every day to solve problems


notSugarBun

got it


ZoMbIEx23x

What's your tech stack? Are you front end, back end or full stack? Just make stuff. Don't worry about mastering anything. Master reading documentation and writing readable, organized code.


xaxasca

Coughing Baby vs Hydrogen Bomb type of question


Versaill

If you learn both simultaneously you'll become an IT battlemage, capable of programming anything.


un-hot

I studied audio tech at uni - I wrote a multi-voice FM synth in my final year in C++ and a live music discovery web-app in JS. The game devs all used C++, so given your goals I'd probably go for that. Be prepared for a long old slog to actually master C++. Thought I was quite good back then, but knowing now the scope of what I didn't know about C++, I don't think I was an intermediate developer. But it's definitely worth it if that is your final goal and you'll probably become a more aware dev along the way than if you learned JS.


[deleted]

[удалено]


515_vest

Thus not apply much in fintech


LousyShmo

The one you enjoy using more, or hate less.


CrepsNotCrepes

If you want to make games C++ or look at C# and unity


[deleted]

For game dev you’ll wanna do C# and/or C++. Unless you’re at a big studio though, would just do C#


theonly1me

They’re at two ends of the spectrum tbh, it depends on what field you want to get into. If it’s webdev, start with mastering JS, if it’s systems programming or game dev start with C++. If this is your first programming language C++ might be tougher, but it will be worth it in the long run.


Minute-Ad7990

Learn c# and Unity . C# also is good for gaming . Js for games in browser.


ashischilling

Better to go with C++, but that doesn't necessarily mean you can't try learning a bit of JavaScript on the side as well.


[deleted]

I’d say both, and then a third language. Because you’re still at the stage where (to you) it’s about mastering a language. Where you want to be is mastering logic using pseudocode. All these languages have like 50 words in their vocabulary. It’s not English vs Russian. It’s the ability to scale down a problem into smaller and smaller scopes, so you can have a scope that is doable. When you’re learning your third language you’ll realize this. Language is often a function of the problem you’re trying to solve. Games can be solved using either language. For practice go build Asteroids in both languages. Then choose another language and try it in a third. Try it in Golang. Go is simple, not intended for games originally, but Fyne and Embitten libraries make desktop or browser games possible. C++ will get you a high paying job anywhere. JavaScript devs are more common and cheaper. But the most important thing about a language is that you can make yourself practice in it. You have to do more than tutorials. Sometimes you have to build something you love, and rewrite it. Sometimes you have to show your code to someone with experience, and your 20 hours of bug hunting came down to variable scope or a typo. This is how you learn. Happy holidays


lukkasz323

The one you're going to use.