@wallhackio the whole programming language should fit on your screen at once. c++ doesn't even fit in a single brain at once
@alas having tried i can confirm you are making the right decision
@vaporeon_ its a hint to the compiler that you think a function should be "inlined" which means replacing any function invocations with the actual function body
this, theoretically, improves performance because you avoid the overhead of creating a stack. However, if a function is very lengthy, then inlining can increase the literal amount of machine instructions your program represents which might not be desirable. in general, inlining has the best chance of improving the performance of short functions that are called very often
The thing is, C++ compilers are allowed by the standard to inline functions even if they aren't given an inline command. And compilers are so damn smart nowadays that 99% of the time the compiler will automatically inline functions that get a performance benefit from being inlined. And the compiler may make the decision to not even inline a function you declare with inline if the compiler thinks it wouldn't make sense to do.
So the general advice in the modern day is not bother using the inline keyword at all unless you have profiled your program and identified a specific function as a throttle
@vaporeon_ oh this is an ancient history sitting on ti-83 and ti-84s in my dad's house, maybe, so no can do unfortunately
@vaporeon_ probably the worst code i ever wrote was when i was 12 and first learning how to program and i didn't know what for loops and while loops were so i would use GOTO statements in TI-BASIC to do loops
@coriander I saw an interesting video essay a few weeks ago by a young woman deconstructing her fascination with fundie snark and hate-watching Girl Defined and other problematic religious content. She ultimately concludes that it was because she saw herself in these people. Specifically, the version of herself that believed arguing about feminism on tumblr was praxis
It's unlisted now, we'll be turning this one public in the morning. In the mean time, my dear followers, please enjoy:
@coriander too late i already bought it a year ago
@lapis was mad but then i looked at what a swadloon actually looked like and i can't be mad now
@monorail tragic: local woman never got triboulet with photochad before
@monorail HUYGE numbers
@monorail i applied for job and am now playing balatro
@monorail whats goin on
i go by Clodsire, Clodboy and Catwin.
videogame enjoyer. mathematics hobbyist and recovering physicist. software engineer. professional wonk. prophet of The Truth. the walking embodiment of "not diagnosed, but somethings wrong". i like animals that wear cowboy hats.
number of fat cock awards received: 56
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
"oh you're one of those weird movie likers" ~Ti
"the thing you need to understand about @wallhackio is that he is utterly sick in the head. this is partially a compliment. but not entirely" ~aescling
30+
he/him