Let's say you want to launch a service. For coders, by coders.
Let's also say you want only coders. Nobody else should be able to get in.
Leaving aside any "Haha, launching is _hard_! Allow everyone and tweak incentives so only coders want to join." While essentially true, coders act differently around coders than they do around people, and an exclusive environment could be awesome.
The low-tech solution is a manual approval process. When a person signs up, you look at their profile and google around a little bit. Try to find them on Github, see if they have any technical blogs, have ever released a piece of software etc.
Congratulations! You've just made yourself a bunch of work and excluded the 80% of the coders who don't have a strong web presence or aren't even interested in that sort of thing.
No, we need an automated test ... something only coders can solve, but trumps everyone else.
- Every coder can solve.
- Nobody who isn't a coder can solve.
- Is simple to test.
- Takes less than 15 seconds to solve.
But what's the common knowledge all coders share?
Everyone can write a for loop right!? How do you test a for loop? Wikia:code lists 18 different for loops. Which means there are more ... plus there's languages like Haskell which prefer recursio. I hear there's also a lot of coders out there using CSS and HTML that don't even have a concept for looping.
Yes, those people are coders too. They write thousands of lines of code. Maybe not programmers - definitely coders.
Okay that was a stupid idea ... but every coder has got a favourite text editor don't they? If you like a text editor you are definitely a coder. Then again, there are thousands of text editors out there, we can't test this one either.
Oh hey! Everyone can write a regular expression can't they? At least a very basic one!
Regular expressions are great, they aren't language specific since they are a language and pretty much everyone has written a basic regular expression once or twice in some of their projects.
Well, except for the guys writing hardcore C all their lives who are coding rocket launch procedures for SpaceX. Doubt they ever needed a regex. Maybe for grep or sed?
A friend of mine recently (yesterday) had this problem and it seems the final solution is good enough for now.
To sign up you need to answer one of two questions:
- Write a very simple regex. (match New York and New Jersey, but not Newark)
- Or find a hidden element on the webpage and click it.
But what about all those coders who are just starting out? Who haven't encountered any of this stuff before? It took me years to first get into regexes ... And what of those who've never come into contact with either regexes _or _front-end web development ... someone coding up controllers for your car's engine, say?
Question is, how would you make a CAPTCHA to distinguish coders from non-coders?
Here's how it works 👇
And get thoughtful letters 💌 on mindsets, tactics, and technical skills for your career. Real lessons from building production software. No bullshit.
"Man, love your simple writing! Yours is the only newsletter I open and only blog that I give a fuck to read & scroll till the end. And wow always take away lessons with me. Inspiring! And very relatable. 👌"
Ready to Stop copy pasting D3 examples and create data visualizations of your own? Learn how to build scalable dataviz components your whole team can understand with React for Data Visualization
Curious about Serverless and the modern backend? Check out Serverless Handbook, modern backend for the frontend engineer.
Ready to learn how it all fits together and build a modern webapp from scratch? Learn how to launch a webapp and make your first 💰 on the side with ServerlessReact.Dev
By the way, just in case no one has told you it yet today: I love and appreciate you for who you are ❤️