HackerTrans
TopNewTrendsCommentsPastAskShowJobs

maximilienandi

no profile record

Submissions

Show HN: I wrote a book about Go

practical-go-lessons.com
919 points·by maximilienandi·vor 5 Jahren·157 comments

comments

maximilienandi
·vor 5 Jahren·discuss
Thanks ! I still have some chapters not published, I will add them later :)
maximilienandi
·vor 5 Jahren·discuss
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.
maximilienandi
·vor 5 Jahren·discuss
Thanks ! Don't hesitate to send me a message with the chatbox if you have any questions
maximilienandi
·vor 5 Jahren·discuss
Many thanks Jahak !
maximilienandi
·vor 5 Jahren·discuss
Hi rollulus, I’m so grateful you liked the book :) Do not hesitate to share with me if you found an error or an improvement suggestion.
maximilienandi
·vor 5 Jahren·discuss
Hi ossusermivami, thanks for finding this book interesting.

I hope that it will help your niece!
maximilienandi
·vor 5 Jahren·discuss
Thanks I appreciate your feedback !
maximilienandi
·vor 5 Jahren·discuss
I'm happy that you find it interesting, do not hesitate to speak to me on the website chatbox :)
maximilienandi
·vor 5 Jahren·discuss
Hello ! Thank you for your feedback ! I added this to my TODO
maximilienandi
·vor 5 Jahren·discuss
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.
maximilienandi
·vor 5 Jahren·discuss
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
maximilienandi
·vor 5 Jahren·discuss
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
maximilienandi
·vor 5 Jahren·discuss
A big thank you PaulAnunda !
maximilienandi
·vor 5 Jahren·discuss
Thanks for this clarification I will check this.
maximilienandi
·vor 5 Jahren·discuss
I just pushed a new release with that fix
maximilienandi
·vor 5 Jahren·discuss
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.
maximilienandi
·vor 5 Jahren·discuss
I hope it will help others :)
maximilienandi
·vor 5 Jahren·discuss
Thanks for your feedback added to my todo list !
maximilienandi
·vor 5 Jahren·discuss
great ! see you soon
maximilienandi
·vor 5 Jahren·discuss
Thank you bogomipz !