Skip to content

Documentation update to help new programmers#2599

Merged
darrachequesne merged 1 commit intosocketio:masterfrom
boazsegev:patch-1
Aug 5, 2016
Merged

Documentation update to help new programmers#2599
darrachequesne merged 1 commit intosocketio:masterfrom
boazsegev:patch-1

Conversation

@boazsegev
Copy link
Copy Markdown

@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.

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
Copy Markdown
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
Copy Markdown
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
Documentation update to help new programmers
KhanMaytok pushed a commit to KhanMaytok/socket.io that referenced this pull request Jul 5, 2025
KhanMaytok pushed a commit to KhanMaytok/socket.io that referenced this pull request Jul 5, 2025
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.

2 participants