let name = true ? "KG" : "Peter"
banner
doughboy120.bsky.social
let name = true ? "KG" : "Peter"
@doughboy120.bsky.social
I write bad code!
January 16, 2025 at 11:58 PM
January 15, 2025 at 11:23 PM
January 11, 2025 at 12:59 AM
Decimals are base 10
Binary are base 10
Both true
January 7, 2025 at 3:03 AM
December 24, 2024 at 10:39 PM
section .data
hello db 'Hello, World!', 0

section .text
global _start

_start:
; write(1, hello, 13)
mov eax, 4
mov ebx, 1
mov ecx, hello
mov edx, 13
int 0x80

; exit(0)
mov eax, 1
xor ebx, ebx
int 0x80
December 22, 2024 at 2:43 AM
public static bool CompareBooleans(bool orig, bool val)
{
return AreBooleansEqual(orig, val);
}

internal static bool AreBooleansEqual(bool orig, bool val)
{
if(orig = val) return false; return true;
}
December 20, 2024 at 10:31 PM
?”hello world”
December 19, 2024 at 12:31 AM
fn main() {
println!("Hello, world!");
}
December 8, 2024 at 11:58 PM
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
December 7, 2024 at 2:53 AM
include <iostream>

int main() {
std::cout << "Hello World!";
return 0;
}
November 18, 2024 at 11:33 AM
Hello World
October 19, 2023 at 2:28 PM