News for hackers. Stuff that matters.
Re:The Python Paradox by jimbob45 on Friday January 27, 2023 @12:26AM (#34542822)
approaches C++-level eyebleed

Have you ever hit F12 on any C++ std function or data structure? Every time I do it genuinely feels like I'm back at day 1 freshman year of an undergrad CS degree.

Re:The Python Paradox by cvccvroomvroom on Friday January 27, 2023 @12:35AM (#34542881)
The C++ library is algorithmically and data structure feature complete for most purposes. It doesn't have what boost and other libraries have, but that's okay. Ideally, a platform should ship without a standard library and use package management for all but built in types.

The problem with C++ template metaprogramming style is symbol length, the notation ordering, and diagnostics generated from those that easily turn into absurdity.

Re:The Python Paradox by arthurcolle on Friday January 27, 2023 @12:29AM (#34542841)
Post a pic
Re:The Python Paradox by klyrs on Friday January 27, 2023 @01:27AM (#34543239)
A random file in the standard library:

https://gcc.gnu.org/onlinedocs/gcc-4.6.3/libstdc++/api/a0109...

Honestly I don't think it's that bad if you can look past all the underscores. I looked around for something worse but maybe I'm just accustomed to the eyebleed that C++ has to offer. To me, Rust is uglier, but that's because it's been around a quarter of the time that I've been using C++ and I don't know what all the symbols do without looking up a cheatsheet.

Re:The Python Paradox by stefncb on Friday January 27, 2023 @03:46AM (#34543997)
If you want ugly look at the MSVC std.
Re:The Python Paradox by keithalewis on Friday January 27, 2023 @10:46AM (#34547316)
Party pooper. Don't you know we are just here to bitch and moan?
Re:The Python Paradox by klyrs on Friday January 27, 2023 @12:09PM (#34548541)
Look, I'll admit, it looks terrible from the view that gdb gives... but when you see the whole file, it's just not so bad.