Rust Codebase vs Python Library
>check Python library for sending simple requests to certain HTTP API endpoints >open Github >nice, should be simple enough, let me see how it wo-- >code is actually in Rust exposing Python entry points >completely unreadable >everything is behind 7 layers of abstraction, scattered across a lot of files >code looks like bad ASCII art, no idea what I'm looking at >fuck this shit >look for an alternate library >less than 200 lines of pure Python >nicely organized >straightforward program flow >functions do what their names say they do >nicely commented >just works
A programmer searches for a Python library to send simple HTTP requests, discovers that its codebase is actually an unreadable Rust project with excessive abstraction, and switches to a small, clean Python alternative. The joke contrasts overengineered software with simple, understandable code, making it relatable as a reaction to frustrating codebases. EN: A programmer searches for a Python library to send simple HTTP requests, discovers that its codebase is actually an unreadable Rust project with excessive abstraction, and switches to a small, clean Python alternative. The joke contrasts overengineered software with simple, understandable code, making it relatable as a reaction to frustrating codebases.
computer screen / экран компьютераcode / кодPython logo or reference / логотип или упоминание PythonRust logo or reference / логотип или упоминание RustGitHub / GitHubprogramming library / библиотека программированияHTTP API / HTTP APIsource files / исходные файлыabstraction layers / слои абстракцииASCII art / ASCII-артtext editor / текстовый редактор
- @gentoomemes / 7458 2023-11-20
- Type
- image
- Size
- 800×781 · 76.8 KiB
- Mood
- frustrated, sarcastic
- Language
- en
- Added