|
c++ is a bad programming language
|
# ? Feb 15, 2015 06:49 |
|
|
# ? May 27, 2024 02:27 |
|
JewKiller 3000 posted:c++ is a bad programming language c++ is merely too powerful for most
|
# ? Feb 15, 2015 07:28 |
|
c++ is unnecessary
|
# ? Feb 15, 2015 08:27 |
|
bobbilljim posted:c++ is unnecessary swift
|
# ? Feb 15, 2015 08:53 |
|
lol swift could replace c++ if the only software in the world were cocoa apps
|
# ? Feb 15, 2015 09:07 |
|
i wish
|
# ? Feb 15, 2015 09:08 |
|
fleshweasel posted:lol swift could replace c++ if the only software in the world were cocoa apps win32 delenda est
|
# ? Feb 15, 2015 11:09 |
|
c++ owns but there's no sensible ide for it so writing anything big in it is super annoying vs is a horrendous piece of poo poo that crashes all the time and 2013 won't even let you hotpatch libraries anymore
|
# ? Feb 15, 2015 12:25 |
|
bucketmouse posted:c++ owns but there's no sensible ide for it so writing anything big in it is super annoying VS is the best IDE I've used but it blows my loving mind that it needs the "Whole Tomato" commercial plugin to do simple auto-completion. The "Code Blocks" ide can do auto-complete for free, but it has its own set of garbage problems. Why is C++ in this terrible state?
|
# ? Feb 15, 2015 12:31 |
|
prob because it lost a lot of popularity when the languages that take full advantage of auto-complete stuff came out
|
# ? Feb 15, 2015 16:28 |
|
c-based languages are actually legitimately more difficult to do autocomplete for, c++ especially. tiny differences in inclusion order might mean you're actually finding the NULL from foo.h instead of the NULL from bar.h. and then you include baz.h, and are you actually sure you're going to get the exact same set of declarations? so much for sharing anything between files and in c++ you write foo( and even the compiler doesn't technically know all the declarations you might be using until it sees the types of the arguments. plus all the template instantiation you have to do. plus the problems of lookup within templates xcode does all this, fwiw, though i won't deny it has its own problems
|
# ? Feb 15, 2015 21:06 |
|
I'm sure Xcode benefits from the code completer being derived from the compiler.
|
# ? Feb 15, 2015 21:11 |
|
it does. it also suffers from it; xcode code completion is a lot slower and less stable than some custom thing with less fidelity might be
|
# ? Feb 15, 2015 21:23 |
|
i am mostly irritated by code completion, but i also mostly use plangs. i'm sure if i worked in languages that had more complicated signatures with things like types i would enable code completion more often
|
# ? Feb 15, 2015 21:36 |
|
i really hope emacs/cedet gets the llvm-based completion that people have been talking (well, flaming eachother) about it would be cool to have a free software c/cpp ide that was as capable as commercial choices
|
# ? Feb 15, 2015 21:50 |
|
Captain Pike posted:VS is the best IDE I've used but it blows my loving mind that it needs the "Whole Tomato" commercial plugin to do simple auto-completion. The "Code Blocks" ide can do auto-complete for free, but it has its own set of garbage problems. Why is C++ in this terrible state? have you experienced the special hell that comes from accidentally stepping into a multiple-argument template function in visual studio and having it just grind for 30 seconds while it walks the entire pdb before presenting you with a dialog showing every single instantiation of that function and then regardless which you click it shows you the same template definition unless you pick a specifically overloaded template which will just hose VS and force you to do a full rebuild to regenerate the now-corrupt intellisense db c++ intellisense is the loving worst and even though visual assist makes the language better on the whole, the fact that it apparently figures out line numbers from the often-wrong intellisense info means that half the time you ask it to declare a class method for you it winds up putting the header in a completely unrelated file for no reason
|
# ? Feb 15, 2015 21:50 |
|
bucketmouse posted:c++ is the loving worst
|
# ? Feb 15, 2015 22:03 |
|
c++ is absurd
|
# ? Feb 16, 2015 00:10 |
|
rjmccall posted:c-based languages are actually legitimately more difficult to do autocomplete for, c++ especially. tiny differences in inclusion order might mean you're actually finding the NULL from foo.h instead of the NULL from bar.h. and then you include baz.h, and are you actually sure you're going to get the exact same set of declarations? so much for sharing anything between files Here's a fun thing with c++ parsing: C++ code:
|
# ? Feb 16, 2015 00:13 |
|
HappyHippo posted:Here's a fun thing with c++ parsing: lol owned
|
# ? Feb 16, 2015 00:19 |
|
yep
|
# ? Feb 16, 2015 00:31 |
|
the whole C++ FQA is a good time
|
# ? Feb 16, 2015 00:40 |
|
HappyHippo posted:Imagine you're just trying to parse this as a bonus some compilers return uint instead of size_t based on flags so who knows if its gonna hit the overload or not there's a library called glm that's supposed to provide types that mimic glsl's builtins so you can do glsl type ops like some3dvertex.xz to extract the x and z coords of a vertex as a 2d point if you want to see the most horrifying templates on earth, check out its source. it's the necronomicon of c++ libraries and man was not meant to gaze upon it qntm posted:c++ is absurd e: vv whoever decided that c++ needed a glsl interop layer is definitely a terrible programmer bucketmouse fucked around with this message at 00:56 on Feb 16, 2015 |
# ? Feb 16, 2015 00:51 |
|
this is the terrible programmer thread not the terrible programming language thread
|
# ? Feb 16, 2015 00:51 |
|
when the templating language is sufficient to write any program
|
# ? Feb 16, 2015 01:22 |
|
MALE SHOEGAZE posted:i am mostly irritated by code completion, but i also mostly use plangs. i'm sure if i worked in languages that had more complicated signatures with things like types i would enable code completion more often i make constant typos and code completion helps me catch them it's also v neat
|
# ? Feb 16, 2015 05:09 |
|
EVGA Longoria posted:i make constant typos and code completion helps me catch them that's what syntax highlighting is for
|
# ? Feb 16, 2015 05:17 |
|
I use ctrl+n a lot, ironically most "vimmers" I met irl don't know about it.
|
# ? Feb 16, 2015 05:18 |
|
code completion is the best thing and always useful. without code completion people become miserly about variable and function/method/class/whatever names and you wind up with illegible garbage.
|
# ? Feb 16, 2015 05:36 |
|
bobbilljim posted:when the templating language is sufficient to write any program no one can be sure since nobody has ever had a boost spirit program finish compiling
|
# ? Feb 16, 2015 06:05 |
|
the c preprocessor is also a complete language of its own now combine the c preprocessor and c++ templating
|
# ? Feb 16, 2015 06:06 |
|
whyyyy are header files still a thing
|
# ? Feb 16, 2015 06:11 |
|
because retrofitting modules on the creeping horror of C++ isn't quite as easy as you'd think
|
# ? Feb 16, 2015 06:42 |
|
Symbolic Butt posted:I use ctrl+n a lot, ironically most "vimmers" I met irl don't know about it. I just learned that ctrl+x ctrl+] in insert mode does completion on tags, without the file that the tag belongs being in a buffer (because if it was, just use ctrl+n)
|
# ? Feb 16, 2015 08:54 |
|
piece of poo poo javascript, apparently right clicking a link and hitting "open in new tab" doesnt count as a normal click event
|
# ? Feb 16, 2015 14:49 |
|
Valeyard posted:piece of poo poo javascript, apparently right clicking a link and hitting "open in new tab" doesnt count as a normal click event That kinda makes sense right? Like it happens outside the dom
|
# ? Feb 16, 2015 15:02 |
|
MALE SHOEGAZE posted:That kinda makes sense right? Like it happens outside the dom yeah youre right, just never thought about it though until just now when it was causing problems maybe just gently caress javascript generally
|
# ? Feb 16, 2015 15:15 |
|
Valeyard posted:yeah youre right, just never thought about it though until just now when it was causing problems Im not really sure that I'm right but I could be
|
# ? Feb 16, 2015 16:56 |
|
it should give a click event for the right button, I think after the menu is dismissed?
|
# ? Feb 16, 2015 19:45 |
|
|
# ? May 27, 2024 02:27 |
|
the event for right clicking with the menu is contextmenu also don't use that unless you really really need it. That's definitely not a "good programmer" thing to do reminds me of when people disabled it on their blogs and then popped up "don't steal code lololol"
|
# ? Feb 16, 2015 19:58 |