HackerTrans
TopNewTrendsCommentsPastAskShowJobs

maximilienandi

no profile record

Submissions

Show HN: I wrote a book about Go

practical-go-lessons.com
919 points·by maximilienandi·5 ปีที่แล้ว·157 comments

comments

maximilienandi
·5 ปีที่แล้ว·discuss
Thanks ! I still have some chapters not published, I will add them later :)
maximilienandi
·5 ปีที่แล้ว·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
·5 ปีที่แล้ว·discuss
Thanks ! Don't hesitate to send me a message with the chatbox if you have any questions
maximilienandi
·5 ปีที่แล้ว·discuss
Many thanks Jahak !
maximilienandi
·5 ปีที่แล้ว·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
·5 ปีที่แล้ว·discuss
Hi ossusermivami, thanks for finding this book interesting.

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