Skip to content
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

Bruh #1

Open
TimboKZ opened this issue Sep 5, 2018 · 1 comment
Open

Bruh #1

TimboKZ opened this issue Sep 5, 2018 · 1 comment
Labels
good first issue Good for newcomers

Comments

@TimboKZ
Copy link

TimboKZ commented Sep 5, 2018

No description provided.

@TimboKZ TimboKZ changed the title Brujh Bruh Sep 5, 2018
@scf4 scf4 added the good first issue Good for newcomers label Sep 5, 2018
@scf4
Copy link
Owner

scf4 commented Sep 5, 2018

Hi @TimboKZ, thanks for the question!

One of the biggest problems with JavaScript is that we must mix synchronous and asynchronous code, resulting in an inconsistent coding style and unnecessary cognitive load. The sixers "Promised" a simple solution to this problem: kill the callback and make everything look synchronous and things will be simpler.

Unfortunately we're still "awaiting" to reap the benefits of all of that nonsense. The added syntactic sugar and blackbox magic has only introduced further complexities and fracturing of the ecosystem, causing confusion for new and old developers alike. Not to mention incompatibilities between browsers and so on.

We've spent the last several years using Webpack and Babel to transpile awaited promisified callback functions back into callback functions: fighting against JavaScript while introducing a greater potential for bugs into our software, and for what?

There has been a far simpler solution to the aforementioned problem in front of us the whole time: use callbacks for everything.

Callbaxx is a library of callback wrappers for common functions which allows you to do just that.

By embracing and promoting the beautiful asynchronous nature of JavaScript, rather than fighting it, Callbaxx let's you write JavaScript as it was meant to be written!

scf4 pushed a commit that referenced this issue Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants