Re: GBAiD (GameBoy Advance in D)

2014-12-25 Thread JN via Digitalmars-d

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.


Re: GBAiD (GameBoy Advance in D)

2014-12-25 Thread Tobias Pankrath via Digitalmars-d


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.


Re: GBAiD (GameBoy Advance in D)

2014-12-25 Thread Abdulhaq via Digitalmars-d

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.


Re: GBAiD (GameBoy Advance in D)

2014-12-25 Thread Meta via Digitalmars-d

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.


Re: GBAiD (GameBoy Advance in D)

2014-12-24 Thread Meta via Digitalmars-d

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.


Re: GBAiD (GameBoy Advance in D)

2014-12-24 Thread Rikki Cattermole via Digitalmars-d

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 :)


Re: GBAiD (GameBoy Advance in D)

2014-12-24 Thread Suliman via Digitalmars-d
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?