Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDominik Huber
4,631 PointsC# beginner thinking about switching to Javascript
Hi guys,
I have following story to tell:
I took the teamtreehouse C# track and completed it and made a few projects on my own. While it's very great I figured out that the language is not capable of doing things the way I thought.
My idea was to create blackjack in the console (I did it was very much work) and then moving on and learn ASP.Net MVC. Here I can write code to have the game in the browser with C#.
But that's not possible because only Javascript works on Clients. C# is just for backend if I want to connect to my server and make backend stuff (databases etc.). So I think while it was not a bad decision to take this track, I chose the wrong track. Because I want to make Guis and Games with logic. I already know a good portion about HTML and CSS so the logical next step to learn would be Javascript right? Because with these 3 languages combined I could make browser games like blackjack, am I right?
What ressources could you recommend? I did Odin Project until ruby section. I really don't like ruby on rails and ruby in general. So my idea is to take the big Front End Web Developer Track on TeamTreeHouse to learn this kind of things.
What is your feedback to my idea?
Thank you guys!
2 Answers
Samuel Ferree
31,722 PointsIf you are more interested in the front-end, JavaScript, (and HTML and CSS) are definitely more for you.
JavaScript can also be used on the back-end, so if you wanted to focus on primarly on that instead of learning C# as well, It would still allow you to work in the full stack space.
That being said, C# is a great language. As Microsofts golden child, it opens up a lot of career opportunities that pay very well, and there's no reason you can't learn both C# and JavaScript.
Additionally, with frameworks like Xamarin, you can use C# to make mobile apps for both iOS and Android.
It sounds like your passion is Front End development, so focusing on JavaScript is a good choice, but I don't see any reason to abandon C# entirely, the more tools in your toolbox, the easier it is to use the right one for the job.
Ari Misha
19,323 PointsHiya Dominik! I think what you're looking for is React. Combine your knowledge of .NET backend architecture with your React and you'll have everything you need. You see React divides your UI into components and in your front end these components interact with each other and track the state of the whole application. The best thing about React is you could create reusable, fast and elegant codes that might come handy in future. So with your knowledge of .NET MVC architecture , CSS(especially bootstrap) , HTML, DOM and React, you'll have whatever you want to achieve. I'd say you should continue with .NET learning path but learn JS and React parallely. (:
Dominik Huber
4,631 PointsHi thanks for your answer. What if I tell you that I never learned ASP.Net MVC. I just took the C# track. And now I'm thinking about taking MVC or Web Dev track. I think I will go with Javascript. It's much more appealing to me + I have the bonus because I already very familiar with HTML + CSS (bootstrap).
Ari Misha
19,323 PointsUhm its not actually a bonus lol just give ya a bit headstart , a teeny tiny head start. JavaScript will surprise you. I can code backend in 4 languages and 5 frameworks but yet i find Front end difficult sometimes. But its not impossible. Im currently taking React course and found incredibly helpful like React is everything in front end. Its just my opinion lol. (:
Dominik Huber
4,631 PointsWhy isn't this a bonus? :D I can design how I want it to look with css and just need to learn to code to make it more interactive. And I know that will be difficult to learn but for example I won't have to learn 2 new languages too that are new for me (css + html) because I already know it.
It wold be the same when I want to create an app with C# + Gui -> I would have to learn WPF (XAML) first but with HTML and CSS I already know how to design.
I think React might be also in the track I'm currently doing. The track is about 60 hours long if I remember correctly :D Though I skipped all the html and css basic courses.
Dominik Huber
4,631 PointsDominik Huber
4,631 PointsHi thanks for your comment. No I will not abandon C#. It's more likely that I lay it byside and come back to it when I actually need a backend for it. Then I think it will get usefull again to me. But right now there is nothing I wanna build right now with that langauge.
I build Blackjacke and a Translator both with the console. I will now start the Frontend Track :)