Is it okay to learn a second programming language like HTML while stuck on C++?

0
7
Asked By CuriousCoder42 On

I've been learning C++ for about 300 days, but I'm hitting a serious wall with SFML 3.0. I've been struggling to understand things like 'window.pollEvent()' and 'std::optional', and it's really frustrating. It feels like I'm just stuck on a library that doesn't even help me fully grasp C++. I thought about learning HTML as a 'secondary' language since I've seen videos showing how HTML can work with C++, but I'm not sure if that's a good idea. Is it wise to start learning another language like HTML when I'm not making progress with C++?

5 Answers

Answered By GameDevGuru On

It really depends on your goals. If you're focused on game development, you may want to stick with C++ and explore advanced game frameworks like Unreal Engine instead of SFML, which can be restrictive. If your goal is just to learn programming generally, try working on simple projects without SFML for now. HTML is more about web design and doesn't really fit into game dev, but it's worth learning if you're interested in websites!

Answered By WebDevNinja99 On

If you're aiming for front-end web development, diving into HTML is definitely a good idea. C++ isn't typically used for front-end stuff. Just keep in mind that HTML is a markup language, so it's pretty easy to pick up!

TechieMcGee -

Have you heard of CGI? It can tie HTML with back-end programming like C++!

Answered By CodingAdventurer On

You might find that learning libraries and different languages is necessary in programming. If SFML and C++ are causing you frustration, consider switching gears to something like C# with MonoGame or Lua, which could give you a different but refreshing perspective.

Answered By LanguageExplorer On

I say go for it! Learning multiple languages can really enhance your understanding of programming concepts. Each new language gives you unique insights that can help you with the ones you already know. Just be sure to solidify your base skills in C++ first!

Answered By TheMultiLangPro On

Honestly, if you've got C++ down, HTML might feel a bit dull. Consider jumping into a modern web framework, like React or Angular, that will blend front and back-end development instead of just learning HTML. You'll likely pick up HTML along the way!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.