Jump to content
  • Advertisement
Sign in to follow this  
EccentricSight

Hard for you to understand

This topic is 4002 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was wondering what part of coding or the programing language was difficult for you to understand? i remember not being able to understanding how the CPU flags work in 6502 asm. I also had problems with indirect access (for the guys who know it, ADC ($44),Y & ADC ($44, x)). With vb6 i had problems understand and using variables passed into functions (byval & byref).

Share this post


Link to post
Share on other sites
Advertisement
pixel shaders, still having hard time, mainly because i don't have enought time for it.

also never understood asm and not enough practice

Share this post


Link to post
Share on other sites
Actually, 6502's instruction set is probably the neatest ever (in terms of simplicity and beauty :)), though I've never found a proper use for the ($mm,x) addressing mode. Ok, back to the question... The most difficult part (or should I say method?) for me would be dynamic programming. In fact I've only seen two problems solved with this method, and both were kind of difficult to follow, yet one of those did make a little bit of sense. :)

Share this post


Link to post
Share on other sites
I haven't used VB6 for long time, but I could tell you that
passing ByVal mean you pass your variable by its value to the
function. ByRef mean you pass your variable by its address not
by its value. For example:


Function Test(ByVal A)
A = 10
End Function

Function Test1(ByRef A)
A = 10
End Function

Sub Form_Load()
Dim Result As Integer
Result = 5
Test(Result)
MsgBox(Result)
Test1(Result)
MsgBox(Result)
End Sub


The first message box will display "5"
The second message box will display "10"

Sorry for my dreadful english but I hope you understand
what I mean. and sorry if there is any mistake in my code
because I haven't for programming in VB6 for ages.


Share this post


Link to post
Share on other sites
I'm currently having hard time with IA32 assembly. I need to learn it for university.

Sadly the classes are not about assembly but about computer architecture, so i must know about how commands are interpreted, what exactly happens at the time in processor and such. Just recently we started analyzing how commands are constructed in binary code.

The good side is, that when you know how to program in machine code(i just hope that we won't have to learn that) there is nothing harder to come anymore :)

Share this post


Link to post
Share on other sites
The only thing I find difficult at the beginning is learning a completely new programming paradigm.
It's not that much of an issue switching between object-oriented and procedural programming as it is going into purely functional programming for the first time.
My first contact with Haskell made me rethink my usual approach on problem solving completely, which even helped me finding more elegant solution on non-functional languages.

Share this post


Link to post
Share on other sites
I think the hardest part for me was just getting used to how the programs worked and flowed. I understood all the syntax, but it took a little while for me to see how you make everything work together I guess. It's kind of hard to explain.

Oh yeah, and pointers. I didn't understand them at first so I saw no need for them. Then about a year after I first read about them, I went back and reread the section about them, and everything just clicked.

Svenjamin

Share this post


Link to post
Share on other sites
Quote:
Original post by Cybernator
Actually, 6502's instruction set is probably the neatest ever (in terms of simplicity and beauty :)), though I've never found a proper use for the ($mm,x) addressing mode. Ok, back to the question... The most difficult part (or should I say method?) for me would be dynamic programming. In fact I've only seen two problems solved with this method, and both were kind of difficult to follow, yet one of those did make a little bit of sense. :)


Haha, it is. The 6502 was very nice =)

What do you mean exactly by "dynamic programming"?
Your not talking about putting asm in ram then jumping to it? : O. haha, i am sure this is not what you mean. (if it is, then thats pure evil and there should be a non dynamic way to solve it)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!