Creating Classes in 5 Languages: Python, Java, JavaScript, PHP and C#

preview_player
Показать описание
Comparing class creating with 5 programming languages:

Python, Java, JavaScript, PHP and C#

Learn Python 3:

Learn web development fast:

My Instagram:

Thanks!

Stef
Рекомендации по теме
Комментарии
Автор

Steff, using getters and setters in C# is very Java like, I can now see you haven't lied about your Java background 😀

petrzurek
Автор

Nice vlog! I'm glad these languages have commonalities.

Ibiscyclist
Автор

When comparing specific code implementation by language, you should have used the same var and func for all 5 languages.

tesukim
Автор

Sir,
Which macbook are you using.
Iam on to buy one but is dual core worth it for heavy developing purpose.

durveshnavande
Автор

Totally off topic, but I think I am becoming a coffee drinker and when I stopped putting sugar in it I can taste the richness of it.

Do you put sugar in yours?

lukaszwalczak
Автор

it is not about does or doesnt CLASS keyword is present or not .If the similarity is
hidden just behind, (in), that must mean something special to the compiler...

dimitargetsov
Автор

I went thru a Swift tutorial that is supposed to take 200 hrs, finished it in 5 :lol:

alb
Автор

I think it will be more comparable if ya create a the same classes in every language. By the way, everybody says python is so clear and easy and I really hate it. It is so messy for me.

wBacz
Автор


For extra bonus points here is a Kotlin class example:


class Point(var x: Int = 0, var y: Int = 0)
// Since data is being modelled here is the alternative way:
data class Point(var x: Int = 0, var y: Int = 0)

// Create an instance of Point.
val point = Point(y = 10, x = 20)
// Object deconstruction (automatically works with data classes; doesn't work with ordinary classes without extra work).
val (x, y) = point

pixelPlex