1 year ago • Beau

As a software developer, would you rather... 

code with only your nose. 👃

code with only your elbow. 💪

245 votes

2 years ago • Beau

As a software developer, would you rather... 

write code with no code completion.

write code with no syntax highlighting.

5.5K votes

2 years ago • Beau

Interviewer asks: "How do you invert a binary tree?" 

🪞🌳

i'm applying to be a coder, not a landscaper

f=lambda n:{(a+b,)for k in range(n)for a in f(k)for b in f(n+~k)}

can i use CSS for this?

i created Homebrew

4.5K votes

2 years ago • Beau

As a software developer, would you rather... 

have access to Google but not Stack Overflow.

have access to Stack Overflow but not any search engine.

4.8K votes

2 years ago • Beau

Are our video too long for you, even at 2X speed? On a video page, open the browser JavaScirpt console and run this code: document.getElementsByTagName("video")[0].playbackRate = 10 

2 years ago • Beau

What do you usually do after catching an exception? 

handle it gently

quarantine for 10 days

release it back into the wild

ignore it

log it in your pokédex

2K votes

2 years ago • Beau

Interviewer asks: "How do you reverse a string?" 

print("gnirts")

grab sides of the string with each hand, then switch your hands

def rec_rev(w): return (len(w)==1 and w) or rec_rev(w[1:])+w[0]

simple you just return the letters in the opposite order

i never wanted to work at this company anyway

3K votes

2 years ago • Beau

What's the correct way to display "Hello world"? 

console.log("Hello world")

print("Hello world")

printf("Hello world");

System.out.println("Hello world");

puts "Hello world"

2.8K votes

2 years ago • Beau

How long did it take you to become a software developer? 

4 years

2 years

37 seconds

18.5 seconds (watched at double speed)

Why do you assume my profession?

1.2K votes