r/programming_funny • • Mar 08 '22

Golang part 3

3 Upvotes

Hello, Dear team :)
Today we will talk about some very important and specific things in golang:
Defer function calls
Error handling
Panics
Maybe structures if we have time.
Maybe tests if we have time
We will continue with our grep-like application and I will show you a few tricks about go-style in structuring our application.
See you all soon!


r/programming_funny • • Mar 01 '22

Golang part 2

3 Upvotes

Hello, Dear team! Finally, I'm here again :)

Today we will talk more about golang syntax and the basic features of the language as:

- Functions (args, return values, function arguments)

- Error handling

- Comments

- panics

I'd like to talk about best practices and good code style as well. See you all in an hour!


r/programming_funny • • Feb 16 '22

The dev tools homework

3 Upvotes

Hello, dear team!
It's time for feedback and homework:
Here https://docs.google.com/presentation/d/1_MiifzuWUUrKXuRguEYRJNq0d_C3V27sj9ImA8qyD-g/edit?usp=sharing you can find the slides (homework itself on the last slide).
Here https://github.com/programmingpleasure/gobackend you will find our repository (dev_tools) folder related to the lesson we had. There you can find an examples.txt file and everything related to the homework.
Also, here is the google class assigment: https://classroom.google.com/c/NDQ0NzM0NzIxMzQ1/a/NDMxOTk0ODQzMjQz/details . There is nothing to commit, but I'd like to see the link to your repository on GitHub + text feedback about the lessons we had. There is a deadline :)

Good luck!
Here in the comments, you can add the questions for the QA session (if you will ask nothing, I will tell you smth random, so I suggest to ask smth, hehe)


r/programming_funny • • Feb 07 '22

Lesson #0 "First meeting"

3 Upvotes

Hey team, I hope everyone is doing great :) From tomorrow we'll start our lessons (6 PM CET). Everyone should see the meeting/links in the calendar, please, let me know if something going wrong with that. We'll use google meet, let's see how good it will be.

The basic  agenda:

  1. We meet each other and do an intro.

  2. I will tell you about the content of the course and the workflow we'll use.

  3. We review the main things we will learn and which results should be expected. Also, I will answer my favorite question: "why golang?" :)

No preparations are required.

Note that I expect your webcams to be enabled (it's very good for a team spirit) so be prepared, please.

See you all tomorrow!


r/programming_funny • • Sep 26 '21

How will we continue

3 Upvotes

Hello, guys :)

After some issues on the last session, I realized that we need to change the flow.

What would I propose:

  1. Send me a PM with your email me if you would like to continue learning. It would be good also to have a list of your homeworks in the message: I will review homeworks I missed for now.

  2. For the new guys: message me with your email + motivation + short description of your current skills + how much time you can develop daily. Than we maybe make a call or discuss the details in PM

Today there will be no session:

For the next time I will send you the link in the email that you send me to PM.

Also, I finally pushed the homework. Good luck!


r/programming_funny • • Sep 13 '21

Time to learn Collections

3 Upvotes

https://en.wikipedia.org/wiki/Collection_%28abstract_data_type%29

Hello, guys :)

I can give you a 90% guarantee that on interviews you will have some questions about collections: maps, linked lists, trees etc.

Every developer should know about use cases of every collection and how to implement some of them: at least map, LinkedList, and an ArrayList. So, next time we'll try to develop some of them, check their internal structure, and some situations when we should prefer some of them.

While as backend developers we work very close to the data part (not really data engineering, but sometimes it's close to that), we must have the best way to store a data: the best way usually simple and quick way. It is why we have a list of structures that helps us in this way - collections.

Will we insert an item in the middle of the list frequently? Do we need to get something by its key? How frequently we're going to start a "range" over some list? Do we need a queue?

And then - if we need some of that, which is the best way to implement it?

So, this Sunday we're going to answer this questions.

Good luck with your homeworks! :)


r/programming_funny • • Sep 10 '21

Let's continue :)

3 Upvotes

Hello, dear guys! So, currently I got better and we can continue. The last lessons was about bit&tricks and basic application.

This Sunday (12.09) we will talk about dependencies - and it's a good thing to know before we started to talk about really fun apps. We will learn how to use external libraries and about best practises in this direction!

I also wanna say a big thanks for your patience and I hope hard work while I was ill.

See you all on Sunday (I will announce the session properly soon)

Can't wait to meet you guys again!


r/programming_funny • • Aug 01 '21

3. Programming "language" source code

3 Upvotes

https://github.com/programmingpleasure/gobackend/tree/main/programming_language

Homework in a homework.txt.

Please, send me your github repo with homework you will do :)

Good luck!


r/programming_funny • • Aug 01 '21

3. Programming "language" links

3 Upvotes

r/programming_funny • • Jul 17 '21

The first QA session (18.07.2021 Sunday 5.00PM CEST)

3 Upvotes

Hello, dear guys :)

So, while I'm still working on the video about "The programming machine" (I will post that this weekend), I believe it's a good idea to have a QA session tomorrow: you can ask anything related to programming, last session etc.

Maybe if you have no questions, I will use this time for some of you guys that did not attend the last session - so, I can tell you the things.

Also: if some of you guys have some questions that you wanna discuss with me personally (like one 2 one), ping me, and we'll do that!

Happy coding and a good weekend for everyone :) I hope u have already installed Go, hah

See you all tomorrow!


r/programming_funny • • Jul 15 '21

ProLog (if someone bored) :)

3 Upvotes

Hello, Dear guys :)

A few points:

  1. Slides with a homework in a comments to the session #2 Programming machine

  2. The next session will be on Sunday - if I will have a chance to make a slides - we'll talk about the devs toolkit, if not - we'll make a QA session.

  3. If someone bored - https://www.tutorialspoint.com/prolog/prolog_introduction.htm - some years ago I was very impressed with ProLog (aka Programming Logic). The idea is to give a facts to machine, and machine will be able to answer a questions. Very interesting idea and it's not a usual programming we all get used to. So, if you wanna open new horizons - you can check, it's out of go/backend topic, but very interesting :)

What do you think about ProLog? :)


r/programming_funny • • Jul 15 '21

Linux from a USB stick

3 Upvotes

Hi! this short tutorial shows how to install linux on a USB drive and use it without affecting the windows installation. I hope it helps LINK


r/programming_funny • • Jul 13 '21

Community calendar

3 Upvotes

I see that we started to have some amount of events here :) We need a calendar! Here is a link for programming_funny calendar, guys! It's available for the public, so, should be no problem to add. I will post there every event. The link for a call in the event description.

+ I will always do an announcement in the subreddit :)

Happy coding!

https://calendar.google.com/calendar/u/0?cid=cHJvZ3JhbW1pbmdmdW5ueUBnbWFpbC5jb20


r/programming_funny • • Jul 11 '21

Feedbacks about the intro/learning plang

3 Upvotes

So, many thanks for coming!

Soon I will post a youtube video with a learning plan overview and a sign-up form.

I would very happy to see your feedbacks!


r/programming_funny • • Jul 10 '21

UPDATED session time

3 Upvotes

UPDATE Due to a small number of applicants I decided to postpone the session for a ONE day. So, July, 11.

I'm still trying to find the best date/time, so let's see how will that work in this way.

Please, make a comment here who will 100% be there, thanks in advance :) and sorry for inconveniences with rescheduling


r/programming_funny • • Jul 04 '21

intro/QA session time

3 Upvotes

Hello, guys. Our QA sessions scheduled on July, 10

I would like to share a few details about the intro/QA session:

We'll use ZOOM (https://zoom.us/) - it's free to install, and I will share a link for a group session in the thread.

The Agenda:

  1. Let's introduce each other.

  2. I will present to you my learning plan: things we r going to learn, themes, timings, etc

  3. More details about the learning process (how much session per week, how to submit homework, where to find some info for additional reading)

  4. QA

The one problem is time: I'm on Central European Summer Time (CEST) and I will be available from 1 PM till 11 PM. So, here is a poll where u can choose the best time for u!

Here is a time zone converter -> https://www.worldtimebuddy.com/?pl=1&lid=11,2950159,1273294,4140963&h=11&hf=1

I very appreciate your activity (it's motivating me)!

17 votes, Jul 10 '21
3 1 PM
4 3 PM
8 5 PM
1 8 PM
1 10 PM

r/programming_funny • • Jan 29 '23

Our Shared Pain

2 Upvotes

In my programming course my professor is kind enough to record classes and post them for later review.

Fantastic decision 10/10 highly recommend.

So no shit there I was, watching this class learning about the marvels of programming. During this lesson the professor has a flawless program that has been building all class. The strings are clean and orderly, equations all balanced and the professor is leading us to the crescendo of this program. Runs it.

Fails, errors all over the place. Nothing makes sense.

The audible sigh of this professor was so profound I felt the will to live leaving their body from the screen. It was magnificent, haven’t laughed that hard in a while.

rip


r/programming_funny • • May 15 '22

Does someone have any news? What happen? Is the teacher alright?

2 Upvotes

r/programming_funny • • Mar 15 '22

Golang live coding session today :)

2 Upvotes

Hello, Dear Team!

So, today we have another one live coding session where we'll talk about:

- Structures

- Pointers

- Maps

There will be an application we will parse together: simple image generator that makes a pictures similar github user images.

Also, after that I believe we could go with first go-coding homework :)

See you all soon!


r/programming_funny • • Feb 03 '22

So we going to start the lessons :)

2 Upvotes

Hello, team.

Currently I have a COVID, so, I'm not able to do anything this week, but we'll start from 08.02 :)

Please message me with your emails and I will add you into the classroom.

See you all soon!


r/programming_funny • • Sep 13 '21

256th day of the year today. The programmers day!

2 Upvotes

Dear Colleagues!

Let me sincerely congratulate you on a wonderful holiday: Programmer's Day!

I wish you all the best experiences in your work! Every working day must be a pleasure and our knowledge and skills grow every day. Every working day must be a lovely day while we do our favourite thing - we do develop wonderful products, and we do develop a future.

https://en.wikipedia.org/wiki/Day_of_the_Programmer


r/programming_funny • • Sep 12 '21

Stuff about interfaces

2 Upvotes

I wrote this when I was trying to understand them, if it's any use to anyone.

---

Go has no classes. Go has interfaces. For example, this is an interface from the "sort" package, boringly called Interface.

type Interface interface {
    Len() int
    Less(i, j int) bool
    Swap(i, j int)
}

The sort package provides a bunch of built-in functions such as Sort and IsSorted and Reverse which will work with any type that implements methods with the names and signatures in the interface. So for example I can define these methods for a list (a "slice" in Go) of things of the RGBA type in the color package (ordering colors by redness, just for example):

type colors []color.RGBA

func (k colors) Less(i, j  int) bool {
    return k[i].R < k[j].R
}

func (k colors) Swap(i, j int) {
    k[i], k[j] = k[j], k[i]
}

func (k colors) Len() int {
    return len(k)
}

And now I can apply all the functions in the sort package to a thing of type colors.

Also, I can define my own functions on the interface, and they can be applied to anything that implements its methods. This is "static duck typing". For example, here's a function to measure the unsortedness:

func Unsortedness(L sort.Interface) float64 {
    count := 0;
    for i := 0; i  < L.Len(); i++ {
	for j := i + 1; j < L.Len(); j++ {
		if L.Less(j,i) {count++}
	}
    }
    return float64(count) / (float64(L.Len()\*L.Len()-L.Len()) / 2.0)
}

And here's a function that executes a shuffle:

func KFYShuffle(L sort.Interface) {
    for i := 0; i < L.Len(); i++ {
	L.Swap(i, i + rand.Intn(L.Len()-i));
    }
}

r/programming_funny • • Sep 12 '21

Live session #7: everything depends 17.00 CEST

2 Upvotes

Hello, guys :)

So, today we'll talk about external dependencies in Golang + I believe we'll create funny app that browse internet.

See you all soon!

Here is links (you can find them in google calendar as well):

https://us05web.zoom.us/j/82550222466?pwd=ZHRCYU1hNkR1Z1F0MjhVb0p1aWVIdz09

https://us05web.zoom.us/j/89455670073?pwd=QUF3S2tnN2tBQ0o1blFTdDR0QnErUT09


r/programming_funny • • Sep 10 '21

Time to subscribe

2 Upvotes

Here is a free cute newsletter email notifier

https://golangweekly.com/issues/378

I very recommend to subscribe - they publish great things!


r/programming_funny • • Feb 26 '23

beginner programmers be like

Thumbnail
youtube.com
1 Upvotes