>
shame_leaderboard
// the most roasted code on the internet
·
#
score:
12345
#
score:
12345
#
score:
12345
#
score:
12345
#
score:
12345
// the most roasted code on the internet
// the most roasted code on the internet
type Result<T> = { success: true; data: T } | { success: false; error: string };async function fetchData() { const res = await fetch('/api'); return res.json(); }async function fetchData() { const res = await fetch('/api'); return res.json(); }async fn fetch_data() -> Result<String, reqwest::Error> {
reqwest::get("https://api.example.com").await?.text().await
}export default class User { constructor(name) { this.name = name; } }const users = []; users.forEach(u => console.log(u.name));export default class User { constructor(name) { this.name = name; } }const users = []; users.forEach(u => console.log(u.name));async function fetchData() { const res = await fetch('/api'); return res.json(); }var x = 10; function foo() { console.log(x); }var x = 10; function foo() { console.log(x); }def CalculoRuim(n)
resultado = n + "10"
print(resultado)
for i in range(5):
CalculoRuim(i)
x = [1, 2, 3]
print(x[10])
if x = 5:
pass
print(UndefinedVariable)async fn fetch_data() -> Result<String, reqwest::Error> {
reqwest::get("https://api.example.com").await?.text().await
}fn add(a: i32, b: i32) -> i32 { a + b }function greet(name: string): string { return `Hello, ${name}`; }async function fetchData() { const res = await fetch('/api'); return res.json(); }users := []User{}
for _, u := range users {
fmt.Println(u.Name)
}fn add(a: i32, b: i32) -> i32 { a + b }type Result<T> = { success: true; data: T } | { success: false; error: string };var x = 10; function foo() { console.log(x); }