Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why browsers are bloated

Name: Anonymous 2014-07-27 0:20

https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/Scrollbar.cpp
https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/win/ScrollbarThemeWin.cpp
Let's reinvent the fucking scrollbar, which every goddamn platform with a UI already has, and make it behave subtly different from the native one!

Right-click a native scrollbar in some other app:
- Scroll Here
- Top
- Bottom
- Page Up
- Page Down
- Scroll Up
- Scroll Down

Right-click a scrollbar in Chrome:
- Back
- Forward
- Reload
- Save As...
...

Right-click a scrollbar in Firefox and Opera:
Absolutely fucking nothing happens!

What the fuck!? How did these terminally retarded idiots get involved in creating one of the most important pieces of software to the average user?

Name: Anonymous 2014-11-17 17:49

>>272
I want to say fold(container) and have it work, no matter what type "container" is or the type of its elements is. That's fucking generics, if you didn't know: being able to define generic functions, functions that work on general stuff, not just on specific types.

>>277
If the call is the same, then that's one generic function with lots of instances. It's the same in Common Lisp, Haskell and any decent language. But if you have to waste your time on shit like fold_rbtree_double (as in C), then that's not generic, it's useless.

>>278
bytes
bytes
bytes
Programmers don't give a shit about "bytes", "bits", "cycles" or any of that sewer infrastructure that has the honor of running programs. Because wasting time on floor-scrubbery means having less time to actually write useful programs.

Newer Posts