Тёмный

Is C# Better than JavaScript? 

Gavin Lon
Подписаться 20 тыс.
Просмотров 3,5 тыс.
50% 1

In this video we compare two excellent software technologies, C# and JavaScript.
🕐 Video Time Indexes
-------------------------------------
00:00:00 - Introduction
00:01:16 - A brief Overview of JavaScript
00:02:56 - A brief Overview of C#
00:06:38 - The similarities between C# and JavaScript
00:11:09 - The differences between C# and JavaScript
00:13:34 - Who wins C# or JavaScript?
00:14:38 - Conclusion
Blazor Courses
------------------------
Build a Shopping Cart Application using Blazor WASM and Web API
🔗 • Blazor (WebAssembly) a...
Build a Sales Management Application using Blazor Server and Syncfusion Compoments
🔗 • Blazor Server App with...
React Courses
------------------------
Project Based React Course for Beginners
🔗 • React JavaScript Frame...
Ranking App using React with .NET (C#)
🔗 • React with .NET Web AP...
.NET 8 Playlist - Blazor's new Featurs and Enhancements
🔗 • What's New in .NET 8 ?
Is Blazor Better than React Video?
🔗 • Is Blazor Better than ...
Support the Channel 👍
------------------------------------
Buy me a Coffee ☕️
🔗 www.buymeacoffee.com/GavinLon
PayPal
🔗 www.paypal.com/paypalme/GavinLon
🪙 BitCoin
12JZYMiRq5YRDN5R5zuyYt7jMN8eTpkgns
Please follow me on Twitter @GavinLonDigital
Links Referenced in this video
-------------------------------------------------
Nuget Packages
🔗learn.microsoft.com/en-us/dot...
.NET Assemblies
🔗learn.microsoft.com/en-us/dot...
CIL Code - Common Intermediate Code
🔗learn.microsoft.com/en-us/dot...
AOT - Ahead-of-Time Compilation
🔗learn.microsoft.com/en-us/dot...
Full Playlist - C# for Beginners Course
------------------------------------------------------------
🔗 • Unity for Beginners (C...
Free Courses and Educational Videos - Gavin Lon
-------------------------------------------------------------------------------
Blazor (Webassembly) Shopping Cart Application full playlist
🔗 • Blazor (WebAssembly) a...
Full playlist - Let's Build an ASP .NET Core MVC Web Application on .Net 5
🔗 • Part 1 - Overview - Le...
Full playlist - Advanced C# Course
🔗 • Introduction - Advance...
Full playlist - C# for Beginners Course
🔗 • C# for Beginners - Par...
Blazor Server App on .NET 6 Course - FreeCodeCamp
🔗 • Blazor Server App with...
🎶All Music in this Video was Created by Gavin Lon

Опубликовано:

 

27 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@mohamedfazrin4172
@mohamedfazrin4172 6 месяцев назад
Even though it is not suitable languages for a neck-to-neck comparison, C# can do almost everything that JS does (of course through WA), but JS can't stand closer in terms of performance and features
@GavinLon
@GavinLon 6 месяцев назад
Absolutely! I debated with myself whether to release this video but thought its worth doing so because it does provide a clear overview of both languages and makes it clear why C# is superior.
@coollobsterr
@coollobsterr 17 дней назад
i got mad noone told me about C# when i first discovered it.
@hammeedabdo.82
@hammeedabdo.82 6 месяцев назад
Hi Gavin, You always favor C# because you fell in love with it. But I think the language that can knock C# out in the sixth round is C++.
@GavinLon
@GavinLon 6 месяцев назад
Hi! LOL- this is the first time I've been accused of falling in love with a programming language. C# is certainly my preferred language because of its power, simplicity, strong typing, versatility, and flexibility. C++ may have some exotic features and can be very fast when written correctly. It can also be very complex. C# is an easier language to learn and you can get up and running and creating powerful full-stack applications fairly quickly. C++, of course has its place and a face off between C# and C++ must happen on this channel at some point :) The combat between these two top contenders could be quite brutal!
@davidtaylor3771
@davidtaylor3771 6 месяцев назад
Some languages do warm your loins. Others make you feel like you have been kicked in the nuts.🤞👨‍💻
@coollobsterr
@coollobsterr 17 дней назад
c# is comfort food while c++ is dangling swords
@randyriegel8553
@randyriegel8553 6 месяцев назад
I just started watching this and 5 seconds in I say YES C# is better.
@GavinLon
@GavinLon 6 месяцев назад
Absolutely! 🙂
@lyudmilpetrov79
@lyudmilpetrov79 6 месяцев назад
I believe in coexistence for example C# is great for speed but think about is it scalable, can it handle millions of users, well you will say Web Assembly, Blazor and so on but still given complexity I believe for front end use SPA pages in Vue, Angular, or React with their JS or TS and on the back end simple is better just plain web API fast and resilient, so in my opinion use both
@GavinLon
@GavinLon 6 месяцев назад
I definitely think that using .NET on the backed and for e.g. React on the front-end is a great solution for a full-stack web application, although Blazor is still an excellent option in my opinion (then you are able to stick with one technology on the backend and frontend)
@ScaerieTale
@ScaerieTale 6 месяцев назад
I like vanilla JS for small proof of concept or MVP apps, but I'm learning to use C# for its AOT. C# has some things that annoy me coming from JS though. Creating lists in C# is more complicated syntax than in JS/TS for example, but that's just a matter of relearning syntax really, no worse than going from JS to Python in that regard
@GavinLon
@GavinLon 6 месяцев назад
I agree vanilla JS can be good for MVP apps. Dynamically typed languages can be easier for creating code faster and dynamically typed languages are generally easier to learn - but I think the benefits you get from statically typed languages like C# makes it a much better choice than dynamically typed languages like Python or JavaScript :) Statically typed languages are far better in terms of better performance and robustness at runtime. :)
@davidtaylor3771
@davidtaylor3771 6 месяцев назад
You would be happy this had improved in dotnet 8. You can declare a list of the various types like this: List list = ["First", "Second", "Third"]; string[] list = ["First", "Second", "Third"]; HashSet set = ["First", "Second", "Third"]; IEnumerable list = ["First", "Second", "Third"]; (etc) If passing a list as a parameter, you can now just so: myClass.MyMethod1([1,2,3,4]); myClass.MyMethod2(["First", "Second", "Third"]); It doesn't matter what the destination type is as the syntax will be the same. You cannot type this yet: var list = ["First", "Second", "Third"]; Because the team has not yet agreed if the default should be an array or a List. These are all great enhancements. You should try it.
@randyriegel8553
@randyriegel8553 6 месяцев назад
I'm a C# / SQL software engineer. I HATE JavaScript but have to use it. Even in Blazor in edge cases I've had to write some JS code. Although I did have one client that wanted Angular application. TypeScript is way better than JS :) I just charged them more per hour because Angular would take me longer than C# LOL
@GavinLon
@GavinLon 6 месяцев назад
So in this case, Angular's complexity benefited your bank balance lol. Blazor is far more pleasurable to use than Angular in my humble opinion.
@zimcoder
@zimcoder 6 месяцев назад
Short answer, YES!
@GavinLon
@GavinLon 6 месяцев назад
lol - it doesn't look like anyone here is going to argue with you about that :)
@thelist5677
@thelist5677 6 месяцев назад
Lovely Video Demo Gavin Lon. I still say C# is just Easier and much more fun to use. Vanilla JavaScript is cool until you get to the Frameworks....then you in an ever loud-Gentle voice "what the hell" is going on here...lol
@GavinLon
@GavinLon 6 месяцев назад
I know what you mean about the JavaScript frameworks lol. Thank you for complimenting the video! It is greatly appreciated :)
@ew8016
@ew8016 6 месяцев назад
I'm going to nitpick but the reason the JavaScript "ecosystem" appears to be larger is because .NET has the BCL which is one of the most robust inclusions for any language in existence. You simply don't need a large ecosystem in C# development because of what you get in the .NET box. I would almost go so far as to say that the JavaScript ecosystem is a disadvantage because of NPM and dependency hell. Plus, JavaScript frameworks tend to radically change every few years while C# maintains robust backwards compatibility.
@GavinLon
@GavinLon 6 месяцев назад
You make an interesting point there. I enjoyed reading your comment. Thank you!
@alexveremeenko
@alexveremeenko 6 месяцев назад
Yes, better
@GavinLon
@GavinLon 6 месяцев назад
I totally agree! :)
@charlesssgraham
@charlesssgraham 6 месяцев назад
Lol I wonder how many people absolutely lost it at the title + thumbnail 😂😂😂
@GavinLon
@GavinLon 6 месяцев назад
LOL - these videos are primarily for the purpose of providing overviews for the relevant programming languages being compared. I know, obviously there is not much of a contest between JavaScript and C#.:)
@compman73
@compman73 6 месяцев назад
You have to compare C# with Java not Javascript
@GavinLon
@GavinLon 6 месяцев назад
I have already done that video :) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-E-tSUHEOf-U.html
@CoolestPossibleName
@CoolestPossibleName 6 месяцев назад
Next golang
@GavinLon
@GavinLon 6 месяцев назад
We'll get to Golang at some point :) Thank you for your suggestion!
@hsabatino
@hsabatino 6 месяцев назад
I started to learn coding with C# has a hobby, lather then I entered in a bootcamp and was full JS. Now I work for a small ISP company, and I use JS and Python almost every day, but I'm re-leaning C# again! Because now in my work I use lot of NestsJs and Angular, they are OOP framework and help me to understand some basic of OOP that I dint realize before and I believe that C# could be a great tool.
@GavinLon
@GavinLon 6 месяцев назад
C# is an excellent object oriented programming language - also great to learn SOLID principles and design patterns for implementing your C# code.
@hsabatino
@hsabatino 6 месяцев назад
@@GavinLon thanks for the advice, I will look a course on design patter right away!
@carosan3719
@carosan3719 6 месяцев назад
Kotlin ?
@GavinLon
@GavinLon 6 месяцев назад
Yeah - I definitely want to create a video on C# vs Kotlin! I'll get there sometime :)
Далее
Is C# Better than Java?
18:41
Просмотров 12 тыс.
Is React Better than Angular?
19:22
Просмотров 2,6 тыс.
Recycled Car Tyres Get a Second Life! ♻️
00:58
Просмотров 2,8 млн
Самоприкорм с сестрой 😂
00:19
Просмотров 264 тыс.
Is Blazor Better than Next.js?
13:24
Просмотров 4,3 тыс.
How does .NET Work?
13:28
Просмотров 7 тыс.
C# vs Python
1:55
Просмотров 1,5 тыс.
Java is Declining and C# is Gaining - How Do We know??
11:39
Is C# better than Python?
10:47
Просмотров 10 тыс.
How to Become a Highly Employable C# Developer in 2024
17:47
Microsoft FINALLY killed it
6:45
Просмотров 567 тыс.
C# vs JS syntax - Unity Official Tutorials
1:55
Просмотров 129 тыс.
Five New C# Features All C# Developers should know
23:15
Top 10 Reasons to Learn C# 2020 - 2024
2:28:13
Просмотров 2,6 тыс.
Recycled Car Tyres Get a Second Life! ♻️
00:58
Просмотров 2,8 млн