Dilmurod Yangiboev | DYDO :)
1.38K subscribers
294 photos
35 videos
6 files
287 links
Hello World!
FAQ: @Dilmurods_bot
I am Dilmurod, A Software Engineer at Tesla Motors.

Crafting the software for robots building Model Y at Giga Berlin, the pinnacle of automotive innovation.

Breathing life into tech, one line of code at a time.
Download Telegram
Group members are so active!

Keep it up!πŸ”₯
Live reloading golang applications!

Personally, I use nodemon.

If you do not have nodemon installed:

- npm install -g nodemon

Then, run:

- nodemon --exec go run cmd/main.go --signal SIGTERM

Note: I do not recommend to use for huge project ;)

The Go Gopher!
Hello πŸ‘‹!

As your project grows, some find hard when it comes to debugging.

I would like to suggest.

πŸ‘‰: github.com/pkg/errors

If you like it, please, leave start* on github.

#advise
πŸ‘2
FAQ:

What makes you get to the next level?

One thing I believe, while coding, ask yourself, why am I doing it?

If you want to know your progress, please, take a look at your previous projects.

If you find better options and solutions, that means that your progress is going well.

β€œDo not settle, stay hungry and stay foolishβ€œ - Steve Jobs.

#faq
πŸ‘3
The most common question in the interview:

1. What is the difference between slice and array in golang?
You might hear people say that Go is a call by value language and wonder what that means. It means that when you supply a variable for a parameter to a function, Go always makes a copy of the value of the variable.

Reference: Learning Go Book
#resourse
πŸ‘2
Dilmurod Yangiboev | DYDO :)
Photo
But in this case, the first value is going to change even though function makes a copy of it. The reason is β€œ Slices, Maps, and Channels are reference types. ”

#useful
πŸ‘3
One of the best approaches to concatinate string!)

#bestpractice
πŸ‘1
One of the best resourses that I have used! πŸ˜‰

https://talks.golang.org/2013/bestpractices.slide#1

for more: https://t.me/golang_dells

#resourse
What will be the output?

#challenge
πŸ‘2
What will be the output?

#challenge
I really like the document that golang team has provided in a page you can get a lot.

https://go.dev/doc/effective_go

#resourse
0. Robert Griesemer, Rob Pike, and Ken Thompson designed Go at Google in 2007.
1. Google wants an alternative to C++ and solves the issues of software engineering, this gives rise to the development of the Go programming language.
2. Go is supported on almost every Operating system like DragonFly BSD, FreeBSD, Linux, macOS, NetBSD, OpenBSD, Plan 9, Solaris, and Windows.
3. Go provides 2 features that are capable of replacing Class inheritance. The first is embedding and the other is interfaces.

source: https://www.geeksforgeeks.org/interesting-facts-about-golang
#facts
0. Go has garbage collection which automatically performs memory management and permits deferred execution of functions.
1.There is a special Keyword in Go called β€˜deferβ€˜, which delays the execution of method or function until the nearby function returns.

2. Go has a special built-in function known as β€˜makeβ€˜, which is used to create slices, maps, and channels.
3. If any variable or package is declared but not used then, the Go compiler will show an error.
4. In Go, there is a new data type known as β€˜sliceβ€˜, which has a more powerful interface to sequences as compared to Arrays.


source: https://www.geeksforgeeks.org/interesting-facts-about-golang
#facts
If you like working with AWS and go, here we β€œgo”:

https://www.go-on-aws.com

#resourse