Wow i am number one to like your post.. Keep up the good work
@danielvega6466 ай бұрын
This is like the step that Javascript wanted to do but well done: javascript tried to replace the classical paradigm of languages being based on prototypes, which provides to the language a lot of freedom being outside the 4 pillars of OOP and when you do classes on JS all is syntactic sugar for closured functions, but still its root is linked to classes since prototypes are just clones of already existent instances of classes, they just don't provide access to those classes to the developers, that's all. Golang, in change, have a real new propose: NO CLASSES. NO PROTOTYPES. JUST TYPES. The thing that is naturally part of any programming language: types! and Go just goes and augment their utilities. structs are nothing but syntactic sugar for closured functions types, and you don't even have to limit or relate your code to the OOP paradigm since there's not even inheritance, this is brilliant!
@rikunjsindhwad75973 жыл бұрын
possible for you to brief your video editing and recording process, I like it as it neat clear and clean, thanks in advance
@SriHarshaChilakapati3 жыл бұрын
Name some characters who grow younger over time: 1) Aunt May in Spider Man movies 2) Hitesh Choudhary (from 19 and half to 16)
@yogeshukidwe91333 жыл бұрын
Superb, abhi picture ka hero aya
@rohandas55633 жыл бұрын
I think struct is a more of a user defined datatype than a class replacement..is it?
@himanshubanerji88004 күн бұрын
I want to go back to Java already, this Go gets more and more complex as I learn
@utkarshtyagi33052 жыл бұрын
A question.Do we keep the first letter capital because it's a good practice that everything that needs to be publicly available should be like this or it's like a complusion without which it would not be possible to access these publicly?
@yadneshkhode3091 Жыл бұрын
compulsion
@sahilkachhap3 жыл бұрын
Sir, I kept age and status starting with lowercase (age, status), still it's getting exported while printing each value, I didn't get what is the difference between naming with uppercase (Age) and lowercase (age)
@viganeshsmac12692 жыл бұрын
Try exporting the struct to different package and access the fields inside it. You will get to know the difference :-).
@hiteshbavskar51212 жыл бұрын
it will give u blank values if u try to access it from out side like in lambda functions in aws
@ashishpradhan10279 ай бұрын
In case anyone wants to automate the process of creating the folder and all. package main import ( "bufio" "fmt" "log" "os" "runtime" "strings" ) func main() { fmt.Println("Welcome to a fun project!!") fmt.Println("It allows you to create a boiler plate go folder") reader := bufio.NewReader(os.Stdin) fmt.Println("What would you like to name the folder") inputFoler, err := reader.ReadString(' ') if err != nil { fmt.Printf("Not able to get user input") } inputFoler = strings.TrimSpace(inputFoler) err = os.Mkdir(inputFoler, 0750) if err != nil { log.Fatal("Not able to create folder, cannot proceed") } err = os.WriteFile(inputFoler+"/main.go", []byte("package main func main() { }"), 0660) if err != nil { log.Fatal("Not able to create folder, cannot proceed") } err = os.WriteFile(inputFoler+"/go.mod", []byte("module "+inputFoler+" "+"go "+strings.Join(strings.Split( runtime.Version(), "go")," ")), 0660) if err != nil { log.Fatal("Not able to create folder, cannot proceed") } }
@a3393962 Жыл бұрын
Hi, would you add interface in this tutorial?
@shrianshagarwal9238 Жыл бұрын
Auto-Formatting not happening for me, what can be the reason for it ?
@davida.75863 жыл бұрын
The usage of Printf( ... ) will confuse learners. It would be good to first show how to access Struct values by name like : hitesh.Name ... then try to use it in other methods like Printf... Thanks anyway !
@FaerdKamrat2 жыл бұрын
i dont agree
@swapniljain34903 жыл бұрын
Thank you so much😍😍
@MuhammedMuhammed-of5bd4 ай бұрын
thankyou sir
@doctype1918 Жыл бұрын
this is like interface in typescript
@photoshopwebflippy28703 жыл бұрын
Hey I run a movie app so I have a question regarding copyright what if I use an webview app to upload on playstore Which is redirected to my movie app's downloading website can I still get copyright on my app?