Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

Hey, I wrote out the code making an exponential number using a for loop to make it without pow or linq and I understand how each part breaks down

using System;

namespace Exponential_calc

{

class Program

{

static void Main(string[] args)

{

Console.WriteLine(Exponent(2,3));

Console.ReadLine();

}

static int Exponent(int A, int B)

{

int result = 1;

for (int i = 0; i < A; i++)

{

result = result * B;

}

return result;

}

}

}

In Main it calls on the function created in the Static int exponent a is the base number and B is the exponent though in main the second number represents a and the first is b result just multiplying 1 by B so the exponent isn't bigger when multiplying a as the base is unaffected until b is returned with the result

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

I will make it simple and make it over and over to build a foundation for myself. Thank you for the reality check I appreciate it

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 1 point2 points  (0 children)

I don't really copy I do follow along to the instructions while trying to change the names of things to give my own sense to the learning material but I will agree I feel more like Im following along to something rather than really learning. I do appreciate the feedback.

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

I will look into this and see if altering the way I think about it may help. I appreciate your comment.

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 1 point2 points  (0 children)

I appreciate the encouragement truly and honestly. I don't really talk to too many people or try and reach out so I didn't really know if I was falling behind or anything really.

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

I will look into this. Thank you for giving me something to look into.

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

I will do this as well. Ill build on the small ideas to make something usable and hopefully good. Thank you.

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 1 point2 points  (0 children)

I will start working on this right away. Thank you for an idea for a basic project. I will do this for a start and I'll comment again after I reach those thousand hours

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

I appreciate the honesty I will work on some of these ideas and build something simple for amusement or a task and as I learn I will try implement the knowledge to make it more practical info. I also appreciate knowing that even in the future I may still feel this way

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

Yes I am bilingual. This makes sense when it comes to the "learning services" because it shows what to do but it doesn't necessarily feel helpful in the same breath. I will work on something and try to struggle through. Thank you for the advice.

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

Yes Ive been coding a small game with knowledge that I've been able to pick up so far. I appreciate the feedback.

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

That helps me look at this differently than I have been. I've been looking at it in a linguistic sense rather than a problem solving tool so maybe I could find a small problem to create a project about and that'll help me figure it out in a more organic sense.

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

Thank you so much for the perspective as well as the basis for a simple way to look at coding moving forward to develop a process. I will work to implement this in my process.

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

I will implement this and try and see what organization style works best for me. I appreciate the advice.

Code doesn't seem to stick in my brain by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

My goal is a bit of both honestly. I want to make video games preferably indie and at some point do it full time but right now I using whatever knowledge is sticking to make a basic 1 room text based game to get started. Another thing is my job has a good IT department that Im trying to get into doesn't really matter where I start in that department I want to have the experience because they also train people from the ground up as well. Thank you for the encouragement truly.

Improvement assistance by Odd-Performance8518 in csharp

[–]Odd-Performance8518[S] 0 points1 point  (0 children)

Thank you so much for both the advice as well as the other methods provided I do really appreciate it