/dpt/ - Daily Programming Thread

Is X11 really the Linux equivalent of Windows' Win32 API?

I've made a few programs using the Win32 API and it's something dreadful and extremely outdated, but I got used to it and learned to like it.
Now I want the same nightmarish experience in the Linux environment (I'm porting a few of my programs to Linux), and I don't wanna use any crap like Qt and other bloated 3rd party libraries.

Designing an efficient systems programming language with implicit dereferencing.

pointers were made to point out your micro dick

A memory address is a memory address.

Attached: pdp-11_qt.jpg (800x1000, 127K)

dicklets btfo hahaha

Trying to get my Java program to read from a text file.
I am a novice programmer.

making a piano bot for gmod

So I have a javascript function that calls a JSON API URL, which it does, and then when I log it to console it will print
{"success":true,"message":"LIKE: removed PostID: 5 from your likes"}


so far so good. Then why does trying to print console.log(res.success) print "undefined"?

fetch(Url)
.then(data=>{return data.json()})
.then(res=>{console.log(res.success)})
.then(function(res) {
if (button.classList.contains("typcn-heart-outline")) {
button.classList.remove("typcn-heart-outline");
button.classList.add("typcn-heart-full-outline");
} else {
button.classList.remove("typcn-heart-full-outline");
button.classList.add("typcn-heart-outline");
}
})

Just use wx.

Everything should be written in 6800 assembly.