Skip to content

Documentation update to help new programmers #2599

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 5, 2016
Merged

Documentation update to help new programmers #2599

merged 1 commit into from
Aug 5, 2016

Conversation

boazsegev
Copy link

@boazsegev boazsegev commented Jun 26, 2016

The documentation, inadvertently, causes confusion for newer programmers, hindering their learning curve and ability to learn socket.io faster.

This proposed change aims at preventing this confusion in order to allow new programmers easier access to resources, especially when searching the web for more information.

The name socket in the documentation refers to the API gateway, or the abstraction layer, related to the client and other properties. However, in the rest of the programming world, sockets usually refer to Berklee sockets or the lower-level communication channel that is used to implement Protocols such as the Websocket Protocol and HTTP.

New programmers often search for more informations using the sockets keyword when they are grappling with learning the socket.io API. These searches are ineffective, and hinder new programmers from accessing the information they need and advancing as fast as they could have been advancing.

A good example is the stack overflow site, where newer programmers incorrectly tag their questions sockets and in turn their questions don't reach the right community and don't get a (prompt) response.

By simply changing the name of the variable used to describe socket.io's "Socket" class instances from socket to client, this mixup should be mitigated considerably.

Unverified

This user has not yet uploaded their public signing key.
The documentation, inadvertently, causes confusion for newer programmers, hindering their learning curve and ability to learn `socket.io` faster.

This proposed change aims at preventing this confusion to allow new programmers easier access to resources, especially when searching the web for more information.

The name `socket` in the documentation refers to the API gateway, or abstraction layer, related to the `client` and other properties. However, in the rest of the programming world, `sockets` usually refer to Berklee sockets or the lower-level communication channel that is used to implement Protocols such as the Websocket Protocol and HTTP.

New programmers often search for more informations using the `sockets` keyword when they are grappling with learning the `socket.io` API.

A good example is the stack overflow site, where newer programmers incorrectly tag their questions `sockets` and in turn don't get a fast response to their questions.

By simply changing the name of the variable used to describe socket.io's "Socket" class instances from `socket` to `client`, this mixup should be mitigated considerably.
@boazsegev
Copy link
Author

I only updated the README, the failing build is not my fault...

@boazsegev boazsegev changed the title Prevent mixup for new programmers Documentation update to help new programmers Jul 3, 2016
@darrachequesne darrachequesne merged commit 30ea0b8 into socketio:master Aug 5, 2016
@darrachequesne
Copy link
Member

Hi, thanks a lot for your contribution!

@boazsegev boazsegev deleted the patch-1 branch August 5, 2016 22:47
@darrachequesne darrachequesne mentioned this pull request Nov 23, 2016
dzad pushed a commit to dzad/socket.io that referenced this pull request May 29, 2023

Unverified

This user has not yet uploaded their public signing key.
Documentation update to help new programmers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants