Pas de Code
76 subscribers
106 photos
1 file
402 links
What I cannot create, I do not understand.

DM: @alexey_mileev
Original channel in RU: @devballet
Twitter: twitter.com/pasdecode_
Download Telegram
Ladies and gentlemen, please welcome JEP 430: String Templates!
They've decided to bring something like string interpolation to Java, but to do it BETTER than everyone else.
The result is, well, quite surprising:
String s = STR."\{x} + \{y} = \{x + y}";

#java #language #jep
Check out this strangely nice thing. Have no idea why would I need it, but looks interesting!

#keyboard #hardware
I've decided to dedicate this whole week to this wonderful series in prose. Enjoy!

Reversing the technical interview

“That’s not a list,” the interviewer says. “That’s an if statement.”
“What else are lists,” you reply, your eyes flashing


#interview #humor #fp
Hexing the technical interview

“We’re, uh, we’re not doing IO here. Just an in-memory list.”
Agree politely, but delete nothing. Never apologize for who you are.


#interview #humor #fp
😁1
Typing the technical interview

“You’re… defining the natural numbers by hand? Why?”
“Haskell is for mathematicians,” you explain. “We always define our terms.”


#interview #humor #fp
Rewriting the Technical Interview

“People always complain,” you murmur. “That Lisps have too many parentheses. What they really mean is that their positions are too far to the left.”

#interview #humor #fp
Unifying the Technical Interview

“You absolute madwoman,” Aisha chortles. “You can’t remember how to balance a binary tree, but you memorized µKanren?”

#interview #humor #fp
And a little bonus à la fanfic.

Typescripting the technical interview

“Okay, that looks like a correct solution, but the code is quite hard to follow, and it’s not very concise.” he asserts, wrongly.
“Oh it’s mostly just TypeScript boilerplate. I think you’ll find once it’s compiled down to JavaScript it’s perfectly concise.” you reassure him.
Invoke the compiler


#interview #humor #fp
👍1
AI coding assistants. Why are they important? How did we get here? What are the problems in this area? There's a bit of ad in the end, but it's definitely not a usual marketing BS kind of post. A nice overview, so to speak.

#ai #ml #code
Very nice! ThumbHash - yet another algorithm to display a blurred image preview while the actual image is still loading. Code is already available for several languages.

#image #algorithm
New post from Bartosz Ciechanowski. This time about bicycle. It's a long-read, but totally worth your time. Those interactive animations are a big deal!

#bicycle
🤯1
Buying fake Github stars is a thing. In this post they're trying to dig deeper into this market and to build a detection tool to catch such bots.

#github #bot
😁1
How to write a simple mark & sweep GC in C.

#c #gc
Wow, C23 standard is out. There are a lot of things, I know that I cannot comprehend it all, but "Constants true, false, and nullptr are now language keywords" fills me with a pleasant warmth.

#c #language