Public Group

# Hard for you to understand

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

## 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 on other sites
I don't know, but I'm having a hard time understanding you ; )

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

also never understood asm and not enough practice

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 = 10End FunctionFunction Test1(ByRef A) A = 10End FunctionSub 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 manual garbage collection in c/c++ and when to use it #### Share this post ##### Link to post ##### Share on other sites Quote:  Original post by CybernatorActually, 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)

1. 1
2. 2
3. 3
4. 4
frob
15
5. 5

• 16
• 12
• 20
• 12
• 18
• ### Forum Statistics

• Total Topics
632160
• Total Posts
3004500

×