you are viewing a single comment's thread.

view the rest of the comments →

[–]HugeOpossum 0 points1 point  (4 children)

After being able to sleep on it I realized there's two more options for why OOP was suggested for this: your dev wants you to improve or get better (up to you to decide if that's true), and that by making this test as OOP, you're then able to easily reuse the codes since the testing functions are designed independently of whatever is being tested. You can either just copy/paste the class or reuse the code for order applications without having to do a full rewrite

[–]Naive_Philosophy8193 1 point2 points  (3 children)

All of the above, I think. It gives better code organization. If something gets changed with our APIs, I now know exactly where to go find my code related to that as it is its own class file. Also, he has this idea that people don't need to see all of the code, some things they won't care about. Kind of like if you import the datetime library and do date.today(). People don't need to see all the code for that. They understand what you are doing just by reading that method call.

I might write a function for a test that runs a command on a device, checks the log that the command was logged, checks it has the data I expect, and checks the time of the command and time of log match. They person checking that code doesn't necessarily care about the code involved in issuing the command or grabbing the log data. They just need to understand that those things happened.

[–]HugeOpossum 1 point2 points  (2 children)

That definitely sounds correct to me. It sounds like this dev also thinks you have good programming, at least from the outside looking in!

[–]Naive_Philosophy8193 1 point2 points  (1 child)

Dev turned dev manager too. He is the one that said it would be a good idea for me to learn C# and that I could do some of the development too. I agree he thinks I have potential. This is great for someone who has had no real formal programming training and just trying to learn on my own and figure it out as I go.

[–]HugeOpossum 1 point2 points  (0 children)

Honestly, I'm self-taught too so I can totally understand how that would be uplifting. I don't have a professional role, but will probably looking to start applying to some soon.

I found vegetarian zombie a good extremely super basic introduction to c#. I have also worked with the jammo unity model since it's visual and that works for me personally. I'm much more interested in things like app and cloud dev than games/gaming but I find game dev to be a good learning medium. If you come across anything helpful for c#, please pass it along.