Message from @kotten
Discord ID: 449712560833298443
?
What if it went like this:
- I need a team of coders. Since it needs to be fail-safe code, with human lives at stake, it needs to be carefully designed, thoroughly tested, and ...
- I have faith in you, you can do it by yourself.
- (Fucking old geezer... I could burn the whole place down, you know?)
What’s the worse coding habits you guys have seen:
```using namespace std;```
I'd say, that's fine when done in a single .cpp file. But last week or so I've heard some idiots ("game devs") still use "Unity Builds".
For those that don't know, it's when you have a `everything.cpp` file with
```cpp
#include "main.cpp"
#include "utils.cpp"
#include "player.cpp"
#include "thatotherthing.cpp"
#include "networkfunctions.cpp"
#include "someotherrandomcrap.cpp"
...
```
Never mind that changing one single file now requires rebuilding your entire program, never mind that now you can't do parallel compilation in your shiny, expensive build machine with 32 cores, never mind that a .cpp file might just define a macro and never undefine it, never mind that multiple files might have a `static int profiler_counter;` variable that are now violating the one-definition-rule and are now shared across everything...
At least now you don't have to learn how to have more than one file on your IDE, so that's a win, right?
What's that, you ran out of memory for the compilation? Then delete some code!
Worst coding habit I've encountered is when the programmer knows absolutely nothing about other people's code. He never read code from anybody else for 10 years or more, has no idea about terminology and concepts. So he writes shit like
```cpp
void context_activate_get_task_prepare(Worker* worker,
int number,
char* buffer,
Context **ctx,
int* explanation,
int level,
int sublevel,
float delay,
ContextExtra *activity,
stack<int> connection,
char file,
char* file2,
int avoid)
{
// ... you don't want to see what's in here
}
```
And no, the documentation for this function doesn't make any more sense than the argument names.
@kotten Fedora.
It is quite handy for all the OpenShift/kubernetes stuff that I have to deal with.
Yeah it's nice
how is kubernetes treating you?
I am only using it as a developer, I don't setup clusters myself. And minishift works like a charm for my local machine.
@Deleted User what kind of apps do you develop?
I am a student, so nothing really exciting for now. Maybe in future.
You?
not yet, although I'm probably gonna have to do it in JavaScript because there isn't an official Discord API for Scala, and I don't wanna deal with using unofficial ones made using the Java API that may stop being updated.
I'd use JavaScript because I want to integrate it with a webpage that displays the poll when visited and you enter the server and poll name.
cool
>JS
<:super_edgy:426099058466095119>
All the Discord APIs are unofficial.
This program colors b/w sketches near perfectly. We have successfully started taking artists jobs now
?
are you shilling?
No I just get boners from impressive tools
oh ok
I had an errection for at least a week after learning about deepfakes
Meh, it's just a toy.
Look at this shit, the hair got painted blue from the clothes.
Then look at how many "hint points" are needed to get proper coloring: https://raw.githubusercontent.com/lrisviel/markdown/master/github/display3.jpg