|
that whole "assume the reader knows the rules of the programming language" guideline is meant to avoid useless COMMENTS, not dictate how you actually write the CODE i mean you should know better than to abuse automatic compiler behaviors to write something that's deliberately tricky to follow, just because "hey c++ allows it heheheheheh"
|
# ? Feb 26, 2013 18:54 |
|
|
# ? Jun 11, 2024 11:18 |
|
Mr Dog posted:it's ok guys, regexes are now a thing in every real programming language, you can stop using perl now.
|
# ? Feb 26, 2013 18:55 |
|
it's only in the past year that i've started running into this meme that c++ is an outrageously difficult language
|
# ? Feb 26, 2013 18:55 |
|
Gazpacho posted:it's only in the past year that i've started running into this meme that c++ is an outrageously difficult language well, it is compared to p languages
|
# ? Feb 26, 2013 18:56 |
|
C++ is an excellent tool for turning imaginary problems into real ones
|
# ? Feb 26, 2013 18:56 |
|
disclaimer: i'm a dumb idiot that said, seems to me that the biggest problem with c++ is that everybody just writes c in it
|
# ? Feb 26, 2013 18:58 |
|
like scott meyers says, c++ is a "federation" of four languages: c, the oop c-with-classes poo poo, template c++, and the stl these four all have their own conventions and interact badly. whenever you run into some stupid gotcha in c++, that tends to be the reason (otherwise it's manual memory management) edit: boost probably qualifies as a fifth
|
# ? Feb 26, 2013 19:02 |
|
JewKiller 3000 posted:i mean you should know better than to abuse automatic compiler behaviors to write something that's deliberately tricky to follow, just because "hey c++ allows it heheheheheh"
|
# ? Feb 26, 2013 19:05 |
|
i mean christ, this is not like the p languages where there is just one holy reference implementation, this is a language with a written standard
|
# ? Feb 26, 2013 19:06 |
on the way back from a couple hours long interview. i think it went ok but it'll just depend on if the other people interviewed are more retarded then i am. i'm kinda bad at data structures, which was most of what was discussed, but i want to think that i was questioned on that sort of stuff to see how quickly i could get used to talking about it. on the upside, my transit was covered (short of the few dollars i spent to move my ride back up til now) so it's not much of a loss
|
|
# ? Feb 26, 2013 19:10 |
|
Gazpacho posted:do you wanna give just one concrete example i'm saying that the guideline "if the language allows it, you're good bro" is not a good one... i could overload all the operators to do completely different things than their agreed-upon meanings, name all my functions and variables with one letter, etc... "it's valid c++ heheheh" is not a good excuse for this if you want an actual example of some c++ i think is awful then my favorite one is: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Casting.h?view=markup
|
# ? Feb 26, 2013 19:14 |
|
JewKiller 3000 posted:i'm saying that the guideline "if the language allows it, you're good bro" is not a good one... i could overload all the operators to do completely different things than their agreed-upon meanings, name all my functions and variables with one letter, etc... "it's valid c++ heheheh" is not a good excuse for this
|
# ? Feb 26, 2013 19:16 |
|
Gazpacho posted:wow you're t. clueless
|
# ? Feb 26, 2013 19:18 |
|
Gazpacho posted:wow you're t. clueless
|
# ? Feb 26, 2013 19:29 |
|
what could the t stand for will we ever know
|
# ? Feb 26, 2013 19:29 |
dehumanize yourself and face to bloodshed dev c++
|
|
# ? Feb 26, 2013 19:30 |
|
biggest thing i've learned about c++ since school is that just because you took a data structures class that used c++ doesn't mean you actually know anything about c++
|
# ? Feb 26, 2013 19:34 |
|
http://yosefk.com/c++fqa/defective.html
|
# ? Feb 26, 2013 19:40 |
|
Werthog 95 posted:biggest thing i've learned about c++ since school is that just because you took a data structures class that used c++ doesn't mean you actually know anything about c++ So true
|
# ? Feb 26, 2013 19:42 |
|
kinda makes u wonder how all those windows apps ever got written huh
|
# ? Feb 26, 2013 19:42 |
|
kinda makes you wonder how everyone stampeded to write applications using loving HTML of all things as soon as that became a practical option Now everyone's stampeding to write apps for iOS Probably because it makes money but more than likely because it provides you with a non-horrific GUI toolkit and system services in general and oh my god am I having a crazy sense of deja vu saying this about iOS right now
|
# ? Feb 26, 2013 19:45 |
did anyone post this http://www.theverge.com/2013/2/26/4032180/will-i-am-mark-zuckerberg-and-others-tell-kids-to-learn-code i know i'm bad but let's get even more bad coders. gotta fill those jobs. it can be the new secretarial work.
|
|
# ? Feb 26, 2013 19:47 |
|
http://www.boost.org/doc/libs/1_53_0/boost/preprocessor/seq/fold_left.hpp
|
# ? Feb 26, 2013 19:49 |
|
gucci void main posted:did anyone post this There are separate tags for 'coding' and 'programming'. I do not understand.
|
# ? Feb 26, 2013 19:50 |
|
Werthog 95 posted:biggest thing i've learned about c++ since school is that just because you took a data structures class that used c++ doesn't mean you actually know anything about c++ Biggest thing I remember from data structures with C++ at school is that people spent way more time fighting C++ than they spent time fighting (or actually learning) data structures.
|
# ? Feb 26, 2013 19:51 |
|
Mr Dog posted:Now everyone's stampeding to write apps for iOS apps on routers? color me intrigued
|
# ? Feb 26, 2013 19:51 |
|
prefect posted:apps on routers? color me intrigued
|
# ? Feb 26, 2013 19:54 |
|
gucci void main posted:did anyone post this
|
# ? Feb 26, 2013 19:55 |
moves like shaggar
|
|
# ? Feb 26, 2013 19:56 |
|
Gazpacho posted:kinda makes u wonder how all those windows apps ever got written huh drag-and-drop spyware activex controls
|
# ? Feb 26, 2013 19:57 |
|
celebrities like Will.i.am
|
# ? Feb 26, 2013 19:57 |
|
gucci void main posted:moves like shaggar step into my thread and ill troll you
|
# ? Feb 26, 2013 20:01 |
|
JewKiller 3000 posted:that whole "assume the reader knows the rules of the programming language" guideline is meant to avoid useless COMMENTS, not dictate how you actually write the CODE sometimes i write comments for obvious code just so all the steps of the task have consistent green headers for when i'm glancing through
|
# ? Feb 26, 2013 20:04 |
|
what the
|
# ? Feb 26, 2013 20:04 |
|
Gazpacho posted:it's only in the past year that i've started running into this meme that c++ is an outrageously difficult language i don't hate c++ but its edge cases have edge cases
|
# ? Feb 26, 2013 20:06 |
|
cmon post another C++ HORROR that has nothing to do with my original comment you p-losers
|
# ? Feb 26, 2013 20:07 |
|
so what exactly does this poo poo mean thenGazpacho posted:for c++ i have the opposite rule, assume that the reader understands the language and don't type out what the compiler does automatically
|
# ? Feb 26, 2013 20:09 |
|
don't type out member var initializations that would be inserted don't pull temporary objects out of line just to make it clearer when they are destroyed really, "don't type out what the compiler does automatically" is amazingly unambiguous
|
# ? Feb 26, 2013 20:12 |
|
Gazpacho posted:it's only in the past year that i've started running into this meme that c++ is an outrageously difficult language I'd rather write assembly than C++
|
# ? Feb 26, 2013 20:12 |
|
|
# ? Jun 11, 2024 11:18 |
|
Gazpacho posted:don't type out member var initializations that would be inserted people don't type that poo poo out to be explicit about it, they type it out because they don't realize that c++ will do it for them
|
# ? Feb 26, 2013 20:13 |