IT/Software career thread: Invert binary trees for dollars.

Noodleface

A Mod Real Quick
38,245
15,030
Hah actually that was my salad today. To go along with it was sliced up turkey sausage in "stuffing" and baked macaroni "and cheese"
 

Tuco

I got Tuco'd!
<Gold Donor>
46,830
78,451
No, it's definitely Unity's fault. It's always Unity's fault.

Remember it's a poorly-documented custom version of both C# *and* Mono, inside a black box engine that gets wrapped inside ANOTHER black box convert.

It's a recipe for disaster and not being aware of its limits is a fundamental problem with Unity's decisions, as a programmer you're basically off the hook cause there's no way to know these things besides excessive forum reading or trial and error.

Unity is sadistically designed to lure in studios and then maximize support contracts(I say this jokingly, but I honestly think it's a possibility).
Well that makes me feel better then
biggrin.png


Luckily I'm only using Unity for basic functionality and not as a critical component, so all the bumps and warts it has don't impact me that much.
 

Noodleface

A Mod Real Quick
38,245
15,030
My boss just got promoted to director of hardware engineering here. I wonder what that will mean for me. As far as I can tell this company is very light on middle management
 

Deathwing

<Bronze Donator>
16,718
7,733
I really fucking hate C++'s STL. Imagine having to step through 100+ calls and steps all formatted like this:

In order to determine if the "Unreachable Call" warning emitted by my company's software is true or not.
 

Noodleface

A Mod Real Quick
38,245
15,030
Perfectly readable and understandable, in fact so much so that I'll let some other pleb figure this out o_o;;
 

Tenks

Bronze Knight of the Realm
14,163
607
Bah my ass got loaned out again. I'm getting passed around like a J49 girlfriend.
 

moontayle

Golden Squire
4,302
165
That moment when you realize you thought something did a thing but didn't do the thing unless you specifically told it to do the thing. This fucking code man...
 

Tuco

I got Tuco'd!
<Gold Donor>
46,830
78,451
I really fucking hate C++'s STL. Imagine having to step through 100+ calls and steps all formatted like this:

In order to determine if the "Unreachable Call" warning emitted by my company's software is true or not.
Decay and strip? That sounds erotic.

This is one of those lines where jeff goldbloom comes ut and says somrthing about focusing on whether something could be xone and not whether it should!
 

Deathwing

<Bronze Donator>
16,718
7,733
Honestly, I think C++ is running out of symbols. C++11 had to reuse the index operators in order to support lambda functions. I can't imagine programming an interpreter for a C++ compiler.
 

Noodleface

A Mod Real Quick
38,245
15,030
I hate dealing with linker issues. Fucking shit ass IDE and the UEFI way of linking files is goddamn mystical bullshit. Spending more time trying to get one file to link than actually coding. Thank God I'm in a class and not really working. Laptop about to go out the window
 

Noodleface

A Mod Real Quick
38,245
15,030
Yeah man. To make it worse, the good sounding food was TERRIBLE, so I can't even imagine what the pumpkin chicken was like. I left and got Wendy's. Shit my brains out after but that's fine.

Just hate spending time wrestling with stupid crap like linkers. Not sure about other languages or implementations, but we need to link files manually via text editing but it's an unintuitive huge messy spider Web.
 

a_skeleton_03

<Banned>
29,948
29,763
Okay the beacons are lit. I have my final two assignments to do this weekend. Feel free to ignore this but I am using you guys as a sounding board. I am so glad I will never have to take another coding class in my life.

Assignment 1_sl said:
Functions

In this homework, you will design a program to perform the following task:

Design and write a program, using functions, that calculates the area and perimeter of a rectangle whose dimensions (length and width) are provided by a user.

There are 6 components of your submission including:

Program Description- A detailed, clear description of the program you are building.
Analysis- Demonstrates your thought process and steps used to analyze the problem. Be sure to include the required input and output and how you will obtain the required output from the given input? Also, include your variable names and definitions. Be sure to describe the necessary formulas and sample calculations that might be needed. Talk about how your design will allow any number of students and final grades to be possible inputs.
Test plan - Prepare at least 3 sets of input data (Test data) along with their expected output for testing your program. Your test data can be presented in the form of a table as follows (note: feel free to adapt to your design)
Pseudocode- Provide pseudocode of your overall design that fulfills the requirements of the project
Source Code (Cut and pasted into this section)
Demonstrated Execution Results (Screen shots)
All of these components should be placed in Course Documentation template as a single word document for submission.

Example application test data:

Test Case #InputExpected Output

1Length =4.0, Width=8.0Area = 32
Perimeter = 24

2Your input dataYour expected output

3Your input dataYour expected output
 

Lendarios

Trump's Staff
<Gold Donor>
19,360
-17,424
check for negatives, on the function input, handle negatives with some sort of errors. ignore at the entry point may be best.
function =
Area = length * width ?

Other than busy work of writing the funtions, there nothig complicated here

decimal funtion AreaOfRectangle( decimal a, decimal b)
{
if a <0 || b<0
return 0;
else
return a*b;
}
 

a_skeleton_03

<Banned>
29,948
29,763
Seems like a pretty easy final
I haven't posted the final yet, I will look at your code and understand it and then put it in for this assignment though. I don't think it was supposed to be difficult in any way but just introduce functions. The way I understand it is so that you can come back to calculations whenever you want instead of putting them in multiple times right?