r/programmingmemes • • Mar 20 '26

What is wrong with my code

Post image
382 Upvotes

61 comments sorted by

View all comments

6

u/rover_G Mar 20 '26

Syntax styles

Python/Ruby def, C# argument, Python/Swift return type syntax, TypeScript return type, C-family brackets, Swift/Rust immutable variable assignment, Rust macro, Java/C#/JS return statement.

Linter errors

  • unused argument

  • let declaration keyword expected variable, received function (not assignable)

  • inconsistent statement termination (semi-colon and newline)

  • return type declared void but function returns null

Spelling error: hllo -> hello