www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - GBAiD (GameBoy Advance in D)

reply "MattCoder" <stop spam.com> writes:
Hi,

Not mine, just sharing:

reddit: 
http://www.reddit.com/r/programming/comments/2qaxvs/gbaid_a_gameboy_advance_emulator_in_d/

github: https://github.com/DDoS/GBAiD

Matheus.
Dec 24 2014
next sibling parent reply "Meta" <jared771 gmail.com> writes:
On Thursday, 25 December 2014 at 00:05:06 UTC, MattCoder wrote:
 Hi,

 Not mine, just sharing:

 reddit: 
 http://www.reddit.com/r/programming/comments/2qaxvs/gbaid_a_gameboy_advance_emulator_in_d/

 github: https://github.com/DDoS/GBAiD

 Matheus.
That's really neat. The author's coding style suggests that he's new to D and coming from Java, as I was in a similar place when I started with D and his code looks very similar to some that I wrote back then.
Dec 24 2014
parent reply "JN" <666total wp.pl> writes:
On Thursday, 25 December 2014 at 01:59:48 UTC, Meta wrote:
 On Thursday, 25 December 2014 at 00:05:06 UTC, MattCoder wrote:
 Hi,

 Not mine, just sharing:

 reddit: 
 http://www.reddit.com/r/programming/comments/2qaxvs/gbaid_a_gameboy_advance_emulator_in_d/

 github: https://github.com/DDoS/GBAiD

 Matheus.
That's really neat. The author's coding style suggests that he's new to D and coming from Java, as I was in a similar place when I started with D and his code looks very similar to some that I wrote back then.
I write the code in a same way, even though I first learned and used C++ before switching to Java. Is it really that bad? I know OOP isn't trendy nowadays and functional programming is cool, but it's a very simple way to write software. I don't think the fact you're not using "advanced" features makes the code less cool.
Dec 25 2014
next sibling parent "Tobias Pankrath" <tobias pankrath.net> writes:
 I write the code in a same way, even though I first learned and 
 used C++ before switching to Java. Is it really that bad? I 
 know OOP isn't trendy nowadays and functional programming is 
 cool, but it's a very simple way to write software. I don't 
 think the fact you're not using "advanced" features makes the 
 code less cool.
It's totally fine.
Dec 25 2014
prev sibling next sibling parent "Abdulhaq" <alynch4047 gmail.com> writes:
On Thursday, 25 December 2014 at 09:22:48 UTC, JN wrote:
 On Thursday, 25 December 2014 at 01:59:48 UTC, Meta wrote:
 On Thursday, 25 December 2014 at 00:05:06 UTC, MattCoder wrote:
 Hi,

 Not mine, just sharing:

 reddit: 
 http://www.reddit.com/r/programming/comments/2qaxvs/gbaid_a_gameboy_advance_emulator_in_d/

 github: https://github.com/DDoS/GBAiD

 Matheus.
That's really neat. The author's coding style suggests that he's new to D and coming from Java, as I was in a similar place when I started with D and his code looks very similar to some that I wrote back then.
I write the code in a same way, even though I first learned and used C++ before switching to Java. Is it really that bad? I know OOP isn't trendy nowadays and functional programming is cool, but it's a very simple way to write software. I don't think the fact you're not using "advanced" features makes the code less cool.
OOP encourages use of inheritance (prefer composition over inheritance) and the overuse of state, increasing the likelihood of bugs. If you avoid those traps then it's a good paradigm.
Dec 25 2014
prev sibling parent "Meta" <jared771 gmail.com> writes:
On Thursday, 25 December 2014 at 09:22:48 UTC, JN wrote:
 I write the code in a same way, even though I first learned and 
 used C++ before switching to Java. Is it really that bad? I 
 know OOP isn't trendy nowadays and functional programming is 
 cool, but it's a very simple way to write software. I don't 
 think the fact you're not using "advanced" features makes the 
 code less cool.
I don't mean to say that it's bad, just pointing it out. Although using more idiomatic D can make some code a lot shorter/more readable than the equivalent Java.
Dec 25 2014
prev sibling next sibling parent Rikki Cattermole <alphaglosined gmail.com> writes:
On 25/12/2014 1:05 p.m., MattCoder wrote:
 Hi,

 Not mine, just sharing:

 reddit:
 http://www.reddit.com/r/programming/comments/2qaxvs/gbaid_a_gameboy_advance_emulator_in_d/


 github: https://github.com/DDoS/GBAiD

 Matheus.
Personally I think its pretty neat. Although one thing I did notice was his port of OpenGL wrappers around DerelictGL. Guess what I have under Devisualization.util:opengl :)
Dec 24 2014
prev sibling parent "Suliman" <evermind live.ru> writes:
 reddit: 
 http://www.reddit.com/r/programming/comments/2qaxvs/gbaid_a_gameboy_advance_emulator_in_d/

 github: https://github.com/DDoS/GBAiD

 Matheus.
Cool! And what you can say about D after Java? What do you liked\disliked?
Dec 24 2014