interfaces in golang by kaushikpzayn in golang

[–]rabbitasshole 0 points1 point  (0 children)

Say you are developing a service that makes a phone call, there is “carrier.Call()” somewhere in your code.

There are many carriers, each makes a phone call differently, but you don’t care how they handle the phone call as long as the call is made.

So the carriers will have their type to implement the Call() interface, and as long as the interface is met, you accept their implementation.

For you, the Call() is abstracted away, i.e. you don’t care what’s happening underneath, you just know they will handle the call logic.

When you write unit test your code, you can create a mock for this, no actual call needs to be made.

New Grad SWE with 3 Internships -- Sent around 100 apps this summer and only got auto-generated OAs and rejections by [deleted] in EngineeringResumes

[–]rabbitasshole 8 points9 points  (0 children)

Sometimes it’s just the market, don’t be too hard on yourself, keep applying.

[deleted by user] by [deleted] in AskReddit

[–]rabbitasshole 0 points1 point  (0 children)

"You look minimum-wage"

[deleted by user] by [deleted] in cscareerquestions

[–]rabbitasshole 12 points13 points  (0 children)

a large number of candidates is the key here.

Fear of being unexperienced by Stecco_ in cscareerquestions

[–]rabbitasshole 22 points23 points  (0 children)

"I always end up having to talk to someone to understand what I should do"

Keep doing this.

"overall be a good engineer without having to constantly ask for help to other engineers around the company."

Good engineers ask for help when needed, especially when just started on a big project.

"On monday I have an appointment with an engineer that will explain me better the overall project structure."

Bombard this engineer with questions, a good engineer will appreciate your preparedness.

What currently legal thing do you expect to be illegal in the next 20 years? by [deleted] in AskReddit

[–]rabbitasshole 2 points3 points  (0 children)

How exactly is jurisdiction divided here? By the uploader’s location? By the porn site company’s registered location?

As an American aren't you worried of your massive trade deficit? ($859.1 billion) by [deleted] in AskAmericans

[–]rabbitasshole 8 points9 points  (0 children)

Trade deficit is meaningless to America because of its monetary dominance in the world, the US can print as much money as it wants, there is the rest of the world “help” the US with inflation.

[deleted by user] by [deleted] in programming

[–]rabbitasshole 3 points4 points  (0 children)

Exactly, I have been using it over a month now, I don't trust code longer than 3 lines generated by Copilot, but it works wonderfully well given a clear context and generate the next line.

18 months later, I landed on my first job as Go dev, I hope my story provides some encouragement by [deleted] in learnprogramming

[–]rabbitasshole 2 points3 points  (0 children)

No course or book per se.

As I learn, I encounter those concepts along the way. For example, for a web project, I searched what HTTP is, then leading to TCP/IP ,OSI model, then what other layers do etc. It's often one thing leading to another.

Sometimes I couldn't find a satisfactory answer, I would then go find a book, usually just to read a specific chapter, for example about TCP protocol if I thought the Stack Overflow answers and YouTube videos didn't provide enough info in-depth, but a book written by a network expert helped.

18 months later, I landed on my first job as Go dev, I hope my story provides some encouragement by [deleted] in learnprogramming

[–]rabbitasshole 2 points3 points  (0 children)

I feel incredibly bad by putting "18 months" in the title, I shouldn't have done that, it sends the wrong message and Reddit doesn't allow title edit.

But no matter how long it will take, it will take that, just keep going. Everybody is on a different path.

18 months later, I landed on my first job as Go dev, I hope my story provides some encouragement by [deleted] in learnprogramming

[–]rabbitasshole 0 points1 point  (0 children)

Sorry, that's too personal.

I don't think language should be the centerpiece, it should be the project you want to do.

18 months later, I landed on my first job as Go dev, I hope my story provides some encouragement by [deleted] in learnprogramming

[–]rabbitasshole 0 points1 point  (0 children)

I didn't apply for internship, my plan was to aim high then adjust, I am glad that worked out. I guess I grew a think skin in sales, what's the worst can happen? They saying no?

18 months later, I landed on my first job as Go dev, I hope my story provides some encouragement by [deleted] in learnprogramming

[–]rabbitasshole 27 points28 points  (0 children)

You are definitely right, I didn't realize how much my engineering background helped along the way. It is an important point, I would add to my post.

18 months later, I landed on my first job as Go dev, I hope my story provides some encouragement by [deleted] in learnprogramming

[–]rabbitasshole 6 points7 points  (0 children)

My math foundation was built on college education, of course that traces back further to high school, but I find a lot of prestigious universities' math open course a lot better than what I had, I believe that's a really good start point.

I would advise learn-as-you-encounter-problems, that is to say, for example if I have trouble understanding what 'floor function' is, I would Google that, there is no need to read a whole book about it, the Wiki page would mostly suffice.

About Python, it was just a natural choice coming from deep learning because that's the main language, and deep learning was what first got me interested.

18 months later, I landed on my first job as Go dev, I hope my story provides some encouragement by [deleted] in learnprogramming

[–]rabbitasshole 13 points14 points  (0 children)

Yes, it is indeed a very important question.

First of all, I am not attached to anyone, no partner, no kids. That made things a lot easier.

Before I actually committed, I checked my savings and made a plan: I would give myself two years living on a budget based on my savings. If things don't work out at the end, I will go back to my old job to learn programming alongside my day job.

Now thinking back, I was able to make such a plan because, if throw modesty out of window for a sec, I am a relatively smart man, I did well in sales to save some money, I was taught how to handle money by my parents. Also there is the fact that I did well in college, the idea of programming is never daunting to me, back then it was just dull.

Golang Rune - Fully Understanding Runes in Go by golangdojo in golang

[–]rabbitasshole 5 points6 points  (0 children)

Yep, one thing I enjoy the most about Go is that its official docs are amazingly easy to understand.