|
the same thing everyone thinks of, making the cum happen
|
# ? Oct 23, 2015 14:00 |
|
|
# ? May 3, 2024 06:54 |
|
echinopsis posted:i made an arduino code but ive never objected it I really don't think your arduinos code would benefit from making it more object oriented like if you're coding and you're naturally thinking of whatever you''re doing as "objects with methods and whatever" then go ahead and do it. If you're not then it's fine, your code is probably better this way and if it still feels iffy maybe you just need to break the code into smaller functions? my point is that you can't shove some bullshit class taxonomy over every problem, there's usually better ways to achieve encapsulation. and c++ makes oop way harder and more frustrating than it needs to be
|
# ? Oct 23, 2015 14:37 |
|
hackbunny posted:I've built a whole program with C++, AMA how do you feel about C++ lambdas
|
# ? Oct 23, 2015 14:38 |
|
ikanreed posted:Microsoft Visual C++ 5.0 is so much more convenient than their Borland C++ competitors!
|
# ? Oct 23, 2015 14:45 |
|
c++ is in their weird place where its not as good as C for systems programming, and also not as good as c# for userspace programming
|
# ? Oct 23, 2015 14:46 |
|
Symbolic Butt posted:how do you feel about C++ lambdas hahahahaha I wish I could use C++11 I think they're cool, wish I had an excuse to learn them. template lambdas are even cooler and probably the closest C++ will ever get to AST manipulation
|
# ? Oct 23, 2015 15:44 |
|
first time i've ever encountered a lambda in a c++ codebase was during debugging. someone was capturing a local stack variable reference and passing the lambda to be executed asynchronously on another thread not really the best first impression
|
# ? Oct 23, 2015 16:01 |
|
hackbunny posted:hahahahaha I wish I could use C++11 closest you'll ever get to rear end manipulation
|
# ? Oct 23, 2015 17:38 |
|
Symbolic Butt posted:I really don't think your arduinos code would benefit from making it more object oriented no way in hell my arduino program needed objects! lol my only experience with objects is in ue4 and they are fuckon indispensable I honesty don't know how people would get anything done without objects to be honest
|
# ? Oct 23, 2015 19:30 |
|
echinopsis posted:no way in hell my arduino program needed objects! lol code:
|
# ? Oct 23, 2015 19:43 |
|
just use void* arrays
|
# ? Oct 23, 2015 19:59 |
|
Cat Face Joe posted:ive never coded anything. I have nerds to do that for me
|
# ? Oct 23, 2015 20:08 |
|
ive never farmed anything. I have displeased moo cows to do that for me
|
# ? Oct 23, 2015 20:13 |
|
BONGHITZ posted:just use void* arrays this but unironically
|
# ? Oct 23, 2015 20:22 |
|
Symbolic Butt posted:ive never farmed anything. I have displeased moo cows to do that for me I thought everyone farmed in your part of the world
|
# ? Oct 23, 2015 20:28 |
|
BONGHITZ posted:just use void* arrays lol I have an old project where I used STL containers with void * elements "because templates bloat code". it's actually really, really, really, really stupid. I was also using Borland C++Builder, which used STLPort, which internally already uses a generic non-template rbtree structure with void * keys/elements to implement map and set. lol, just lol
|
# ? Oct 23, 2015 20:42 |
|
Displeased Moo Cow posted:I thought everyone farmed in your part of the world HAH NO, brazil's rural population is 15%, less than USA's 19% and new zealand's... *puts glasses* 14%?!? whaaaaaaaaaaaaaaaaaat
|
# ? Oct 23, 2015 20:45 |
|
suck on your Brazilian beef
|
# ? Oct 23, 2015 21:03 |
|
symbolic, are you one of the reef jandal babes
|
# ? Oct 23, 2015 21:35 |
|
Symbolic Butt posted:HAH NO, brazil's rural population is 15%, less than USA's 19% and new zealand's... *puts glasses* 14%?!? whaaaaaaaaaaaaaaaaaat we're just incredibly efficient at stripping our relatively Virgin land of everything good and wholesale and life giving
|
# ? Oct 23, 2015 21:37 |
|
milk it, baby
|
# ? Oct 23, 2015 21:48 |
|
Displeased Moo Cow posted:milk it, baby heh.
|
# ? Oct 23, 2015 21:48 |
|
cities have alot of people in them
|
# ? Oct 23, 2015 21:50 |
|
I like to think so
|
# ? Oct 23, 2015 21:53 |
|
Symbolic Butt posted:HAH NO, brazil's rural population is 15%, less than USA's 19% and new zealand's... *puts glasses* 14%?!? whaaaaaaaaaaaaaaaaaat all anglo colonies, apart from the US, have this weird thing where we all live in a few mega cities instead of lots of medium cities idk why c++ seems cool if you hate yourself
|
# ? Oct 23, 2015 22:56 |
|
my stepdads beer posted:all anglo colonies, apart from the US, have this weird thing where we all live in a few mega cities instead of lots of medium cities idk why it's pretty common in europe too germany is the exception since they were a bunch of countries with their own major cities that then merged together
|
# ? Oct 23, 2015 23:07 |
|
i work on a large latency sensitive distributed system in c++, ask me things and i wont answer
|
# ? Oct 23, 2015 23:10 |
|
we all want things to be nice for us. c++ is for the other times.
|
# ? Oct 23, 2015 23:10 |
|
Dessert Rose posted:i work on a large latency sensitive distributed system in c++, ask me things and i wont answer is it some sort of bullshit HFT financial garage xfer system that provides no value to anyone ever in the history of the universe but makes your bank millions of dollars a year?
|
# ? Oct 24, 2015 12:59 |
|
Feisty-Cadaver posted:is it some sort of bullshit HFT financial garage xfer system that provides no value to anyone ever in the history of the universe but makes your bank millions of dollars a year? i work on exactly that. all your pension money is ours
|
# ? Oct 24, 2015 15:17 |
|
Feisty-Cadaver posted:is it some sort of bullshit HFT financial garage xfer system that provides no value to anyone ever in the history of the universe but makes your bank millions of dollars a year? no it helps humans communicate with each other
|
# ? Oct 24, 2015 19:39 |
|
I tried to learn objective C and its just the worst. I appreciate the premise of everthing being a message, but why do I have to pass all params as a hash AND in order? Sandy Metz helped me realize how everything I did before ruby was a bastardized version of object oriented programming, it was more procedural programming with objects.
|
# ? Oct 25, 2015 05:25 |
|
Feisty-Cadaver posted:is it some sort of bullshit HFT financial garage xfer system that provides no value to anyone ever in the history of the universe but makes your bank millions of dollars a year? its skype or some other awful microsoft crap fyi
|
# ? Oct 25, 2015 05:28 |
|
Doc Block posted:LOL if you only use c++ as c with objects some of us were even using it before iPhone or Mac OS X
|
# ? Oct 25, 2015 05:55 |
|
hackbunny posted:I thought C++11 made it perfect but then C++14 made it somehow even better, and the upcoming C++17 is impossibly even better than C++14 so terrifyingly wrong what's next, thinking Windows is a good OS with a nice API?
|
# ? Oct 25, 2015 05:59 |
|
Symbolic Butt posted:how do you feel about C++ lambdas a poor cousin to blocks (which are a C thing rather than just an ObjC thing) in clang at least they're interoperable
|
# ? Oct 25, 2015 06:01 |
|
Ludwig van Halen posted:c++ is in their weird place where its not as good as C for systems programming, and also not as good as c# for userspace programming EC++ is actually good for systems programming though it's C++ except without templates or exceptions, just the "C with objects" parts that's what Darwin IOKit is built with, and it's damned useful, it was only a matter of creating a subclass in a few lines of code for me to write a display driver (for one example)
|
# ? Oct 25, 2015 06:02 |
|
KoRMaK posted:I tried to learn objective C and its just the worst. umm, name a c-derived language where you don't pass in the arguments in order? I don't know what you mean by having to pass the arguments as a hash. the argument names are part of the selector (aka the method name), so for: [someObject pissOn:steve andThenShitOn:bill]; the actual method name is -pissOn:andThenShitOn: Objective-C was heavily influenced by SmallTalk.
|
# ? Oct 25, 2015 06:11 |
|
With ruby (and any language that has hash like params) it doesn't have to be in order. IT seems like obj-c forced you to used hashes, but they also had to be in order. I didn't spend a lot of time with it, it seemed overly difficult. I might be missing something that makes it truely great
|
# ? Oct 25, 2015 06:13 |
|
|
# ? May 3, 2024 06:54 |
|
ruby is poo poo
|
# ? Oct 25, 2015 06:16 |