|
yeah i was just trying to get at "a thing that looks just like another thing, but is in fact nothing like that at all" is the root of every problem with c++
|
# ? Aug 12, 2016 17:37 |
|
|
# ? Jun 13, 2024 03:49 |
|
I'd have figured it'd be "other language has thing, how do we shoehorn thing"
|
# ? Aug 12, 2016 17:38 |
|
i used play once. it was great, it pegged a server cpu at 100% under no load for several hours until the admin was like "uhhh???"
|
# ? Aug 12, 2016 17:46 |
|
Bloody posted:i used play once. it was great, it pegged a server cpu at 100% under no load for several hours until the admin was like "uhhh???" how else are you gonna fail fast? throw a few more cores on that puppy
|
# ? Aug 12, 2016 17:57 |
|
Progressive JPEG posted:I'd have figured it'd be "other language has thing, how do we shoehorn thing" same idea really, those shoe horned things become abuse of notation at best in c++
|
# ? Aug 12, 2016 18:05 |
|
Terrible Programmers: what font do you personally prefer to code in? i hosed up my fonts by messing around and now i can't find one that don't suck
|
# ? Aug 12, 2016 18:44 |
|
HoboMan posted:Terrible Programmers: what font do you personally prefer to code in? https://github.com/nathco/Office-Code-Pro
|
# ? Aug 12, 2016 18:52 |
|
that looks good, but what's up with that % sign?
|
# ? Aug 12, 2016 18:54 |
|
HoboMan posted:Terrible Programmers: what font do you personally prefer to code in? http://www.dafont.com/perfect-dos-vga-437.font
|
# ? Aug 12, 2016 18:54 |
|
HoboMan posted:that looks good, but what's up with that % sign? based on the 5% in the preview window i'm assuming its an optimization for small font sizes?
|
# ? Aug 12, 2016 18:56 |
|
hobbesmaster posted:i hate the days after technical interviews where you second guess things you said like calling vector<bool> "a microcosm of everything wrong with c++" c++ : "it seemed like a good idea at the time"
|
# ? Aug 12, 2016 19:06 |
|
There are problems with Spring but everybody stampeding in the other direction and turning web applications into an amorphous unstructured soup with implicit behaviour all over the place is at least as bad. There is more nuance to the problem of designing applications than "RIGID STRUCTURE GOOD" vs "RIGID STRUCTURE BAD". For the record I wouldn't recommend using Spring for new projects.
|
# ? Aug 12, 2016 19:13 |
|
if youre building a webapp just ask What Would Shaggar Do and fire up visual studio
|
# ? Aug 12, 2016 19:27 |
|
Progressive JPEG posted:wait in what way? like how it's implemented as a bitmap underneath? it's a type named vector<bool> that is not a vector of bools (or even a container at all according to the stl's definition), and the only reason it isn't just std::dynamic_bitset is because they wanted to show off how powerful template partial specialization was
|
# ? Aug 12, 2016 19:34 |
|
i use desdemona in a 17 point font
|
# ? Aug 12, 2016 20:18 |
|
the most appropriate font for your code is probably comic sans, op
|
# ? Aug 12, 2016 20:36 |
|
dont write code, you will only make bad things or make bad things worse
|
# ? Aug 12, 2016 20:39 |
|
Plorkyeran posted:it's a type named vector<bool> that is not a vector of bools (or even a container at all according to the stl's definition), and the only reason it isn't just std::dynamic_bitset is because they wanted to show off how powerful template partial specialization was q: in c++11 can you use a range based for loop to modify a vector<bool> in place? a: sure! its just: code:
a: ¯\_(ツ)_/¯
|
# ? Aug 12, 2016 20:50 |
|
welp, i crashed the test server and the sysadmin left already ... do-do i just go home?
|
# ? Aug 12, 2016 22:23 |
|
spring is ok if you use spring boot and try not to think too hard about what all the magic annotations are doing
|
# ? Aug 12, 2016 22:27 |
|
lol Java logging is such a fuckshow. First there was Log4J Then Sun added the very threadbare java.util.logging in Java 1.4 Then of course this is Java so we need a way to abstract between the two. Enter Commons Logging. Then Java 1.5 came out with things like varargs, so the CL abstraction layer was replaced by the SLF4J abstraction layer The abstraction layer needs at least one implementation, so enter Logback. And that was the state of affairs for about 10-15 years. Oh and apparently JBoss and Jetty have their own internal metametaframeworks for switching among all this poo poo. Now apparently Log4J is back in fashion? or at least they came out with a 2.0 version and its API is basically SLF4J except marginally better. Also there's a semi-decent systemd journal plugin for it. Any sufficiently advanced Java is indistinguishable from parody.
|
# ? Aug 12, 2016 22:34 |
|
hobbesmaster posted:q: in c++11 can you use a range based for loop to modify a vector<bool> in place? a special kind of gearbox for converting strong, narrow types into weak, wide ones
|
# ? Aug 12, 2016 22:39 |
|
hmm. cool. i'm getting java exceptions in my xamarin code when i run it on android. that's extremely cool
|
# ? Aug 12, 2016 22:40 |
|
tef posted:A DSL is what you have when code is written in one language and errors are reported in another
|
# ? Aug 12, 2016 23:38 |
|
poo poo
|
# ? Aug 12, 2016 23:59 |
|
GameCube posted:hmm. cool. i'm getting java exceptions in my xamarin code when i run it on android. that's extremely cool ~native~
|
# ? Aug 13, 2016 00:13 |
|
consolas
|
# ? Aug 13, 2016 01:16 |
|
Plorkyeran posted:it's a type named vector<bool> that is not a vector of bools (or even a container at all according to the stl's definition), and the only reason it isn't just std::dynamic_bitset is because they wanted to show off how powerful template partial specialization was hobbesmaster posted:q: in c++11 can you use a range based for loop to modify a vector<bool> in place? jesus christ what c++ could have been good. it could've just been modernized c. but no. poo poo like this exists
|
# ? Aug 13, 2016 01:17 |
|
i think i have even less respect for people who choose to write c++ than people who choose to use plangs now that i think about it
|
# ? Aug 13, 2016 01:18 |
|
don't use templates or its broken exception system and bam you have modern C see: Qt
|
# ? Aug 13, 2016 01:21 |
|
c++ is fundamentally busted for the reasons i outlined earlier. forcing you to use exceptions (constructors can only fail by throwing, without fallible constructors you lose basically c++ has to offer) in a language with no garbage collection sends you down into a particularly deep and dark circle of hell.
|
# ? Aug 13, 2016 01:23 |
|
so if c++ is so broken what should i learn? c#? java?
|
# ? Aug 13, 2016 01:33 |
|
yes
|
# ? Aug 13, 2016 01:35 |
|
hobbesmaster posted:so if c++ is so broken what should i learn? c#? java? rust
|
# ? Aug 13, 2016 01:42 |
|
Bloody posted:i think i have even less respect for people who choose to write c++ than people who choose to use plangs now that i think about it I chose both
|
# ? Aug 13, 2016 01:47 |
|
Condiv posted:rust
|
# ? Aug 13, 2016 01:49 |
|
whats unmodern about C
|
# ? Aug 13, 2016 01:51 |
|
dear terrible programmers thread, a lot of poo poo that I've been trying to do at work is actually... not going terribly wrong? I think I may be getting better at coding and I can finally clear my conscience a bit for being a fraud
|
# ? Aug 13, 2016 01:54 |
|
Condiv posted:rust i would prefer to move to languages that more people use not less
|
# ? Aug 13, 2016 01:56 |
|
|
# ? Jun 13, 2024 03:49 |
|
Condiv posted:rust
|
# ? Aug 13, 2016 01:56 |