
extendedstep
Network Programming in Elixir and Erlang: missing code (page 49, 55, 67)
I’ve been following along with the book and have noticed there’s some code missing.
Page 49: We create the inital Acceptor
module, the paragraph mentions that it is a GenServer
but in the code block we are not invoking the GenServer
or adding the start_link
function.
Page 55: We register to the BroadcastRegistry
and BroadcastRegistry
registries, but do not alias them into the module.
Page 67: We reference the Chat.AcceptorPool.Acceptor
in the code and the paragraph mentions that we should be able to pass the tests after changing our supervisor tree. We are not given the code for the Chat.AcceptorPool.Acceptor
.
I understand that these are minor issues that an experienced Elixir developer will have no issue with. I am a less experienced Elixir dev and these issues left me with non-functional code and caused me to debug, looking at the included code repo for what I was missing. It would be nice if the book contained all necessary code.
Extras
Page 68: Spelling mistake at bottom of page, To
is missing the T
.
BEAM system. o use it, you’ll first need to make sure that you Erlang version
Thank you,
David
Popular Pragmatic Bookshelf topics










Other popular topics










Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /crystal
- /c-plus-plus
- /tailwind
- /kotlin
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /ash
- /vscode
- /opensuse
- /centos
- /php
- /deepseek
- /scala
- /html
- /zig
- /debian
- /nixos
- /lisp
- /agda
- /textmate
- /react-native
- /sublime-text
- /kubuntu
- /arch-linux
- /ubuntu
- /revery
- /django
- /spring
- /manjaro
- /diversity
- /lua
- /nodejs
- /julia
- /slackware
- /c
- /neovim