You ever look back at a project you abandoned a year ago and realize...

  • Topic Archived
You're browsing the GameFAQs Message Boards as a guest. Sign Up for free (or Log In if you already have an account) to be able to post messages, change how messages are displayed, and view media in posts.
This topic contains spoilers - you can click, tap, or highlight to reveal them
  1. Boards
  2. Game Design and Programming
  3. You ever look back at a project you abandoned a year ago and realize...

User Info: DevsBro

DevsBro
1 year ago#1
that you used to be really really good at this?

Just happened to me, lol.

I just blew my own mind. I was trying to put together an engine and remembered this one thing I was working on a while ago and looked at it for reference, and dang man.

The tutorial I was following just now's got nothing on last year DevsBro.

This thing was modularized nicely and even had custom exceptions.

So needless to say, I totally stole my own code for my new engine. :P
http://backloggery.com/devsbro/sig.gif http://backloggery.com/DevsBro
http://i.imgur.com/kU5vu5N.png

User Info: Cheezmeister

Cheezmeister
1 year ago#2
No, but I'm finishing a project I abandoned ten years ago and realized I used to be really, really bad at this...

That's sort of the same, right?
I make games!
http://luchenlabs.com

User Info: Sakum

Sakum
1 year ago#3
Yeah I realized I was bad at this looking at something I started about four years ago, now I am much, much better at this.
What's in the booox?!

User Info: Skel1

Skel1
1 year ago#4
Depends. I've been doing this so long that there are lots of hits and misses. What I find is usually when I'm using a new technology/language/library/thingy I get really excited, and one of two things happens. Either go all out best practices, or I'm so excited a bang out 1,000 lines of sloppy code in a week.

Somethings I look back at and I'm like, "I really pulled that off well!" and others I wish would go away :)
Currently Playing: Pixel Piracy, FTL: AE, Star Point Gemini 2

User Info: Sakum

Sakum
1 year ago#5
Skel1 posted...
Depends. I've been doing this so long that there are lots of hits and misses. What I find is usually when I'm using a new technology/language/library/thingy I get really excited, and one of two things happens. Either go all out best practices, or I'm so excited a bang out 1,000 lines of sloppy code in a week.

Somethings I look back at and I'm like, "I really pulled that off well!" and others I wish would go away :)


Yeah, I understand how that is. Right now I'm teaching myself Haskell and the way I implemented a balanced binary tree (unsorted) in it seems so ugly to me. I mean, it doesn't seem like there is currently a better way for me to do it, but Haskell is such an exciting, powerful, and crazy language, I don't doubt that eventually I will find something powerful I could use to represent the tree in a better way.
What's in the booox?!

User Info: Skel1

Skel1
1 year ago#6
Spoilers:

They are all powerful crazy languages. Our industry is bloated with ego driven developers who want to be the owner creator of the hottest language. Jack of all trades and master of none, we're all forced to swim in a pool of competing tech stacks.
Currently Playing: Pixel Piracy, FTL: AE, Star Point Gemini 2
#7
(message deleted)

User Info: ElementalWind

ElementalWind
1 year ago#8
Even after a few months away from a project, I often have a hard time figuring out where I left off.

Sakum posted...
Right now I'm teaching myself Haskell and the way I implemented a balanced binary tree (unsorted) in it seems so ugly to me.

What do you find ugly about it? I'd have expected all that tree rotation code to be a lot prettier in a language so heavily based in immutable algebraic datatypes. Have you seen Okasaki's version of a red-black tree?
"debates are contests of rhetoric, not argumentative rigor." -DragooneerZero

User Info: Sakum

Sakum
1 year ago#9
Well, I had to write an auxiliary function for discerning whether a branch was perfectly balanced (meaning: full), and if so, to increase the height of the node I am currently visiting (no mutation of course, a new Node is allocated with the increased value). This of course entails a bit of diving around. Before that though I do check if the height of my left child is greater than that of my right (in which case I dive right and don't increase height.) That, and pattern matching a ton of times against my Node data constructor is sort of ugly. (Yeah: I could improve this, it is awfully inefficient. Haven't yet though.)

I actually own a copy of Dr. Okasaki's Purely Functional Data Structures book, I simply figured I ought to get used to the "basics" of Functional Programming and Haskell before getting into that. Surely I would learn a great deal from it though. I looked at his implementation here: http://www.ccs.neu.edu/course/cs3500wc/jfp99redblack.pdf it's indeed pretty brief, and for something more complex as well. That being said it still matches several patterns against his data type, which makes me feel a little better lol.

I'm going through https://github.com/bitemyapp/learnhaskell this "path" to learn Haskell, currently working through CIS 194, on week 6 (Lazy Eval) atm, pretty fun stuff.

Aside: You only need tree rotation if your tree must be sorted. If it's balanced, you can do the dumb thing I'm doing. The only benefit to my way is that the tree doesn't need to get balanced, insertions are done in a way so that it is always balanced.
What's in the booox?!

User Info: Cheezmeister

Cheezmeister
1 year ago#10
Haskell's insane. The fact that it has implicit currying just blew my mind when I got into it. Also the fact that it has a `$` operator whose only purpose is to apply a function to stuff, yet it's actually insanely useful. I'm not riding a high horse here--I'm not actually that good with Haskell--but it is absolutely, black-and-white more powerful than your Python or PHP or Java. Even Perl, but that's a close call.

Solve some Project Euler problems with it, great way to sharpen your skills (in any language, really, but especially Haskell).

Also, Elm. Elm is cool.
I make games!
http://luchenlabs.com
  1. Boards
  2. Game Design and Programming
  3. You ever look back at a project you abandoned a year ago and realize...

Report Message

Terms of Use Violations:

Etiquette Issues:

Notes (optional; required for "Other"):
Add user to Ignore List after reporting

Topic Sticky

You are not allowed to request a sticky.

  • Topic Archived