|
Magissima posted:I didn't know I had a coworker that posted here you have to do some terrible things when the stipulation is "frontend and all microservice backend applications compiled, packaged, and servers downloaded and started with a single command"
|
# ? May 29, 2018 20:45 |
|
|
# ? May 31, 2024 17:30 |
|
that doesn't sound too bad compared to having half the code deployed through a million ultra-fragile docker containers and the other half through ant -> gradle -> npm, all of which break constantly
|
# ? May 29, 2018 21:05 |
|
carry on then posted:you have to do some terrible things when the stipulation is "frontend and all microservice backend applications compiled, packaged, and servers downloaded and started with a single command"
|
# ? May 29, 2018 21:16 |
|
this is more a coding horror, but barely adequate performance is our goal, and to that end we've basically done the bare minimum to keep stuff running adequately fast. this is fine. until one day it's not, and we end up to have someone rewrite a major component - directly in production we knew this component was a big perf problem beforehand, but because perf was barely adequate, management were unwilling to spend any time on improving it. then it fell over and Something Needed To Be Done so this poor person had to do a full rewrite of this poorly-understood, extremely legacy component, and deploy it into prod with minimal testing (at best) needless to say we're still finding bugs. very visible bugs with potential legal implications ~performance culture~
|
# ? May 29, 2018 21:56 |
|
it sounds like the barely-adequate performance was the least of the problems here
|
# ? May 29, 2018 22:29 |
|
Thermopyle posted:it sounds like the barely-adequate performance was the least of the problems here although i seem to recall bill mcneal being quite happy with that level of adequosity
|
# ? May 29, 2018 22:42 |
|
carry on then posted:you have to do some terrible things when the stipulation is "frontend and all microservice backend applications compiled, packaged, and servers downloaded and started with a single command" Sounds like a job for msbuild.
|
# ? May 29, 2018 23:08 |
|
Sagacity posted:i think he's referring to the barely-adequate performance of management little from column a, little from column b this place is a horrorshow
|
# ? May 30, 2018 02:20 |
|
“it just needs to be barely fast enough” seems to be fairly universally used to defend things that actually are not anywhere close to fast enough
|
# ? May 30, 2018 10:31 |
|
i've yet to be at a company where "it works" was fast enough i have had partner teams for whom "fast enough" needed to be much faster than the legacy system they were building their front end on could support.
|
# ? May 30, 2018 10:38 |
|
don't optimize if you don't need to but also don't do obviously studpid poo poo like running queries in for loops for no reason. my coworkers do that all the time and it's only a matter of time before it fails and i have to dig through their garbage code
Maximum Leader fucked around with this message at 14:21 on May 30, 2018 |
# ? May 30, 2018 14:12 |
|
Fiedler posted:Sounds like a job for msbuild. please, no more, i can't take another build discussion
|
# ? May 30, 2018 14:36 |
|
Fiedler posted:Sounds like a job for msbuild. HappyHippo posted:please, no more, i can't take another build discussion We're going to keep on improving our build discussions until each one is byte-for-byte reproducible We're going to have a new build discussion every night and run the full test suite on it
|
# ? May 30, 2018 14:43 |
|
Maximum Leader posted:don't optimize if you don't need to but also don't do obviously studpid poo poo like running queries in for loops for no reason. my coworkers do that all the time and it's only a matter of time before it fails and i have to dig through their garbage code if premature optimization is bad then premature pessimization must be good right? there’s a certain sort of programmer that when given two choices that are identical for readability and maintainability but different in performance will choose the slower one every time and I’ve never understood why
|
# ? May 30, 2018 15:04 |
|
Plorkyeran posted:if premature optimization is bad then premature pessimization must be good right? so that you can feel superior when you look at their code, hth
|
# ? May 30, 2018 15:07 |
HappyHippo posted:please, no more, i can't take another build discussion we’re going to have them until the morale improves
|
|
# ? May 30, 2018 15:08 |
|
Plorkyeran posted:if premature optimization is bad then premature pessimization must be good right? i think it's the same sort of mentality that concludes if terse variable names are bad then SimpleBeanFactoryAwareAspectInstanceFactory must be good
|
# ? May 30, 2018 15:10 |
|
HappyHippo posted:i think it's the same sort of mentality that concludes if terse variable names are bad then SimpleBeanFactoryAwareAspectInstanceFactory must be good
|
# ? May 30, 2018 15:26 |
|
It's a pretty funny meme tbh
|
# ? May 30, 2018 16:32 |
|
i wonder if you could have descriptive names that were not awkward and if not does that mean you've got fundamental issues with how your code is structured
|
# ? May 30, 2018 16:50 |
|
the ridiculous names are the symptom. the problem is oop is a terrible way to structure code
|
# ? May 30, 2018 17:07 |
|
would this be a good moment to share some opinions on ++x vs. x++
|
# ? May 30, 2018 19:24 |
|
Soricidus posted:would this be a good moment to share some opinions on ++x vs. x++ both are terrible code:
|
# ? May 30, 2018 19:26 |
Notorious b.s.d. posted:both are terrible because both involve state. Serious answer: in most compiled languages, if you have the choice it doesn't really matter. In C++, you should get in the habit of using ++x because if x is a non-trivial iterator there is a very good chance that ++x will produce better code than x++. Generally you should never use the result of ++x or x++, because it's hard to read and error-prone. The possible exception is that one C idiom, but honestly I think that C idiom is a bit of a horror so I'd avoid it anyways.
|
|
# ? May 30, 2018 19:42 |
|
VikingofRock posted:because both involve state. There's been some changes to the behavior in C++, you can see all of them here. Still dangerous, but it's been cleaned up a bit over the years
|
# ? May 30, 2018 20:08 |
|
VikingofRock posted:Generally you should never use C++, because it's hard to read and error-prone.
|
# ? May 30, 2018 20:15 |
|
prisoner of waffles posted:We're going to keep on improving our build discussions until each one is byte-for-byte reproducible We should write our own goon build system
|
# ? May 30, 2018 20:24 |
|
feedmegin posted:We should write our own goon build system judging by the thread it'll wind up being maven written in lisp
|
# ? May 30, 2018 20:38 |
|
feedmegin posted:We should write our own goon build system ugh, don't know about you but I can't stand GBS
|
# ? May 30, 2018 20:43 |
|
Soricidus posted:would this be a good moment to share some opinions on ++x vs. x++
|
# ? May 30, 2018 21:00 |
|
VikingofRock posted:Generally you should never use the result of ++x or x++, because it's hard to read and error-prone. it's actually fine though
|
# ? May 30, 2018 21:10 |
|
Soricidus posted:would this be a good moment to share some opinions on ++x vs. x++ that is the classic example. in c++ i default to prefix because spending time thinking about whether or not your iterator is expensive to copy is stupid. i have been told that this is a "premature optimization" more than once. another stupid example was that i once worked on an obj-c codebase where the policy was that all properties had to be marked as atomic unless profiling indicated that it caused performance issues, and only then could it be switched to nonatomic. none of these were ever actually accessed from multiple threads, and there was no benefit gained from not just declaring everything nonatomic to start with. it was just pointless busywork done in the name of avoiding "premature optimization"
|
# ? May 30, 2018 21:19 |
|
why is constexpr hosed in C++
|
# ? May 30, 2018 21:21 |
|
did u do something silly like skipping ctors
|
# ? May 30, 2018 21:32 |
|
prisoner of waffles posted:ugh, don't know about you but I can't stand GBS
|
# ? May 30, 2018 21:33 |
|
prisoner of waffles posted:ugh, don't know about you but I can't stand GBS
|
# ? May 30, 2018 21:59 |
redleader posted:it's actually fine though I mean, it's a matter of preference. Maybe I shouldn't have made such a general statement, but I personally think that even C++ code:
C++ code:
C++ code:
|
|
# ? May 30, 2018 23:58 |
|
redleader posted:it's actually fine though nah it’s dumb, += forever
|
# ? May 31, 2018 00:57 |
|
carry on then posted:judging by the thread it'll wind up being maven written in lisp its called leiningen?
|
# ? May 31, 2018 01:15 |
|
|
# ? May 31, 2024 17:30 |
|
code:
|
# ? May 31, 2018 01:17 |