|
pseudorandom name posted:post increment requires the construction of a temporary object, pre doesn't. (and copy elision can't eliminate the temporary) this is what people are talking about when they say C++ sucks reading the expression "c++" should not require me to consult a language reference, read a class definition, or debate whether the compiler will optimize away unwanted copies
|
# ? Jun 27, 2014 19:22 |
|
|
# ? May 13, 2024 10:15 |
|
at least when you make a dubious operator in haskell or scala everyone can see that something wacky is going on because the operator is |.<<>>.| so you read that and go "gently caress now i have to look up this dubious loving operator"
|
# ? Jun 27, 2014 19:28 |
|
Kevin Mitnick P.E. posted:|.<<>>.| is that a hairy man's chest?
|
# ? Jun 27, 2014 19:31 |
|
it maps the fold monad over ipv6 addresses. the operator for ipv4 is |.<>.|
|
# ? Jun 27, 2014 19:32 |
|
Kevin Mitnick P.E. posted:at least when you make a dubious operator in haskell or scala everyone can see that something wacky is going on because the operator is |.<<>>.| so you read that and go "gently caress now i have to look up this dubious loving operator" scala makes me spend a lot of time with google verbatim this is my most-hated thing about scala, more so than any wonkiness in the collections or the ridic compile tiem
|
# ? Jun 27, 2014 19:44 |
|
Kevin Mitnick P.E. posted:it maps the fold monad over ipv6 addresses. the operator for ipv4 is |.<>.| oh my god, is that real?
|
# ? Jun 27, 2014 19:44 |
|
Kevin Mitnick P.E. posted:it maps the fold monad over ipv6 addresses. the operator for ipv4 is |.<>.| what the gently caress
|
# ? Jun 27, 2014 20:16 |
|
Kevin Mitnick P.E. posted:it maps the fold monad over ipv6 addresses. the operator for ipv4 is |.<>.| gently caress you for making me look this up, it's certainly plausable
|
# ? Jun 27, 2014 20:48 |
|
lol
|
# ? Jun 27, 2014 21:47 |
|
Kevin Mitnick P.E. posted:it maps the fold monad over ipv6 addresses. the operator for ipv4 is |.<>.| best post itt new thread time
|
# ? Jun 27, 2014 21:55 |
|
pseudorandom name posted:post increment requires the construction of a temporary object, pre doesn't. (and copy elision can't eliminate the temporary) why? why cant i be a register and i++ get compiled to ADD R15, #1
|
# ? Jun 27, 2014 22:14 |
|
Kevin Mitnick P.E. posted:it maps the fold monad over ipv6 addresses. the operator for ipv4 is |.<>.| wow!!
|
# ? Jun 27, 2014 22:31 |
|
Bloody posted:why? why cant i be a register and i++ get compiled to ADD R15, #1 because the type of i is std::vector<lovely::game::engine::CQuaternionImpl<double>, lovely:game::engine::CPoolAllocator<lovely::game::engine::CQuaternionImpl<double>, lovely::game::engine::CPoolAllocator::HeapPool>>::iterator
|
# ? Jun 27, 2014 22:40 |
|
well then gently caress you for defining operator++
|
# ? Jun 27, 2014 22:53 |
|
AlsoD posted:gently caress you for making me look this up, it's certainly plausable was it real?
|
# ? Jun 27, 2014 22:54 |
|
prefect posted:was it real? nope. now that i think about it there's no way an operator would be so specific to be over an ip address specifically, let along a certain kind of one
|
# ? Jun 27, 2014 22:56 |
|
post increment is just inefficient, the real gently caress you is operator||
|
# ? Jun 27, 2014 23:10 |
|
Bloody posted:well then gently caress you for defining operator++ what the gently caress use would an iterator be without operator++ (or operator-- or an indexer)
|
# ? Jun 27, 2014 23:21 |
|
c++ is an awful language but it is also fantastically expressive what you need is to work with people who have incredible respect for native code and so actually take the time to design things properly
|
# ? Jun 27, 2014 23:22 |
|
also yes you need to learn the hundred thousand gotchas. it isn't a very friendly language. but c++11 at least made it worth the random spikes sticking out of all the doorknobs
|
# ? Jun 27, 2014 23:23 |
|
i was hoping that the majority of newjob would be F#, but the more i think about the project ill be doing the more i realise it's probably just gonna be piles of C++. deterministic finalization is lookin crucial
|
# ? Jun 27, 2014 23:30 |
|
Dessert Rose posted:what the gently caress use would an iterator be without operator++ (or operator-- or an indexer)
|
# ? Jun 28, 2014 00:10 |
|
i didn't realise how bad a programmer i was before i started trying to write c++
|
# ? Jun 28, 2014 00:14 |
|
Kevin Mitnick P.E. posted:it maps the fold monad over ipv6 addresses. the operator for ipv4 is |.<>.|
|
# ? Jun 28, 2014 00:33 |
|
why would you increment an iterator? is there no .next or something?
|
# ? Jun 28, 2014 00:53 |
|
are u taking the piss m8
|
# ? Jun 28, 2014 01:45 |
|
Kevin Mitnick P.E. posted:at least when you make a dubious operator in haskell or scala everyone can see that something wacky is going on because the operator is |.<<>>.| so you read that and go "gently caress now i have to look up this dubious loving operator" Kevin Mitnick P.E. posted:it maps the fold monad over ipv6 addresses. the operator for ipv4 is |.<>.|
|
# ? Jun 28, 2014 13:22 |
|
qntm posted:i didn't realise how bad programming is before i started trying to write c++
|
# ? Jun 28, 2014 13:49 |
|
webdev update: loving hell I do not envy anyone who has to do this full time. how have you not killed yourselves yet. how in satans name did this clusterfuck of terrible languages and terrible libraries using unmaintainable hacks to reinvent the wheel on a worse foundation become accepted as the future of computing
|
# ? Jun 28, 2014 14:33 |
|
Soricidus posted:webdev update: loving hell I do not envy anyone who has to do this full time. how have you not killed yourselves yet. how in satans name did this clusterfuck of terrible languages and terrible libraries using unmaintainable hacks to reinvent the wheel on a worse foundation become accepted as the future of computing yospos, bitch
|
# ? Jun 28, 2014 14:38 |
|
Soricidus posted:webdev update: loving hell I do not envy anyone who has to do this full time. how have you not killed yourselves yet. how in satans name did this clusterfuck of terrible languages and terrible libraries using unmaintainable hacks to reinvent the wheel on a worse foundation become accepted as the future of computing would you rather do mobile
|
# ? Jun 28, 2014 14:45 |
|
Notorious b.s.d. posted:would you rather do mobile lol
|
# ? Jun 28, 2014 14:48 |
|
|
# ? Jun 28, 2014 14:49 |
|
Notorious b.s.d. posted:would you rather do mobile in the same way that i'd rather drown than be burned alive, but yes, even android is a better platform than web browsers
|
# ? Jun 28, 2014 15:01 |
|
Soricidus posted:yes you have never worked with android
|
# ? Jun 28, 2014 15:03 |
|
Notorious b.s.d. posted:you have never worked with android
|
# ? Jun 28, 2014 15:08 |
|
Soricidus posted:webdev update: loving hell I do not envy anyone who has to do this full time. how have you not killed yourselves yet. how in satans name did this clusterfuck of terrible languages and terrible libraries using unmaintainable hacks to reinvent the wheel on a worse foundation become accepted as the future of computing p-langers ruined everything for everyone
|
# ? Jun 28, 2014 15:18 |
|
Soricidus posted:webdev update: loving hell I do not envy anyone who has to do this full time. how have you not killed yourselves yet. how in satans name did this clusterfuck of terrible languages and terrible libraries using unmaintainable hacks to reinvent the wheel on a worse foundation become accepted as the future of computing you just kinda...do it idgaf i get a paycheck at the end that is significantly more than almost everyone in the county
|
# ? Jun 28, 2014 17:14 |
|
Soricidus posted:webdev update: loving hell I do not envy anyone who has to do this full time. how have you not killed yourselves yet. how in satans name did this clusterfuck of terrible languages and terrible libraries using unmaintainable hacks to reinvent the wheel on a worse foundation become accepted as the future of computing sometimes you get to write backend stuff that only interacts with your web application via an api so you can do it in haskell or java or c or whatever you want so that is very nice. sometimes it is even more work to go about things in this way but a) it makes your clusterfuck of a web app less of a clusterfuck and b) it's really nice to get a break and also Flaming June posted:idgaf i get a paycheck at the end that is significantly more than almost everyone in the county i'll keep working on my real programming skills and maybe after a few yeras i can get a better job
|
# ? Jun 28, 2014 17:24 |
|
|
# ? May 13, 2024 10:15 |
|
USSMICHELLEBACHMAN posted:sometimes you get to write backend stuff that only interacts with your web application via an api so you can do it in haskell or java or c or whatever you want so that is very nice. i was thinking what is that guy on, webdev isn't so bad. then i remembered that what i call webdev is making JSON apis. thats the closest i ever get to the browser its v nice
|
# ? Jun 28, 2014 17:27 |