HN user

maximilienandi

491 karma

https://www.practical-go-lessons.com/

Posts1
Comments68
View on HN

Hello andreagrandi, sorry to hear that, can you access the website now ? It's hosted on AWS with Amplify, I did not received any alerts regarding that.

The only warning I got was a Free-Tier limit alert.

Hello rijoja, I'm currently thinking about it.

I'm writing the book with Lyx. Lyx documents are converted to LaTeX docs, then converted to HTML with pandoc. Then I have a homemade Go script that generates the VueJs components (one per chapter).

This question is asked a lot so I will write something about the system because it can help other writers.

Thanks for your comment ! If you want to do it, just pick a language and start to write.

Writing is not easy but it becomes easier if you transform it into a habit.

In my experience I forced myself to write regularly like every day of the week. I usually worked one hour approximately by session.

By doing so you will see that you will achieve a lot.

Do not force youtself to write for one entire day then do nothing for a week.

Concerning the topics to cover I will recommand using a mind map to build the table of content. This is interesting because you can drag and drop sections easilly.

I would suggest first to define your targeted audience. Having this audience you can begin building the plan.

My approach was to teach notions progressively. Sometime I needed to rework the sections order. Use an editor that allow you to do that easilly like Lyx (love it).

Students generally love rituals and adding some introduction ritual/section and conclusion section is a plus.

Hope those recommendations will help you :)

Writing something is really a great way to make sure you understand something !

Good luck

Thanks jhunter1016 ! This is so true, My first Go program (for work) was to build a web server and it was so intense :)

I'm happy that you like the book

Interfaces in Go are implicitely implemented. It means that if a type has the methods defined in the interface, then it implements the interface.

I will update the example because it's confusing !

If you have some time come to the speak with me in the chatbox on the website I can help you understand this.

Hello rustyboy, first thanks for your feedback.

I think that there is a mistake in the name of the interface type. It should not be `Cart` but something else. Like `CartStorage`.

A type that implement this CartStorage interface can be named `MySQLCartStorage` or `DynamoDBCartStorage`. Each database engine responsible for the storage will have a different implementation.

The interface is here to define a contract, a set of behaviors that you should implement.

I will definitely change that

Hello syndacks, thanks for your feedback ! Do not hesitate to chat with me directly on the website ! I added a chatbox (on the bottom right corner).

Thanks for liking my approach !

Finding the title was a really hard task. I asked myself existential questions for a couple of days about it. I agree with you it's not perfect.

Thanks for your kind feedback _l4jh. You are not the only one to request a preview ! I will add it when I have some time.

I will include maybe the Table of Contents and a couple of chapters.

Thank you jackosdev !

Maybe you can begin by blog posts ? It is a good exercice to dive deep into a subject and make sure you understand it. Do not hesitate to contact me if you want support in the process