What's your idea of a "fun" coding project ?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

astions wrote:Ah, The joy of feature creap.
The important thing to note is that it doesn't pass judgement on it either way. It just mentions that it occurs. ALL THE TIME. :)
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

I like front-end work, especially Javascript (it's beautiful language).
Janitor work... I like it as well. It's fascinating to read and improve other's code.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Weirdan wrote:I like front-end work, especially Javascript (it's beautiful language).
Janitor work... I like it as well. It's fascinating to read and improve other's code.
I keep learning cool stuff about JS and I like it too. I just wish it would run faster and managed resources better. My JS code, even though JS is a OO language used to look fairly procedural. These days I'm implementing patterns and working with objects entirely which feels much more natural in a language like that. There are some OO annoyances with it though. Not to go off topic but do you know how to create pointers/references in JS? I needed to do this not so long back. i.e - the following equivalent in JS.

Code: Select all

$var1 = 10;
$var2 =& $var1;

$var1 = 42;

echo $var2; //42
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

d11wtq wrote: Not to go off topic but do you know how to create pointers/references in JS?
The only solution I know is to create object wrapper for such a values:

Code: Select all

var var1 = {q:20}; 
alert(var1.q); // 20
var var2 = var1; 
alert(var2.q); // 20
var2.q = 10;
alert(var1.q); // 10
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Weirdan wrote:
d11wtq wrote: Not to go off topic but do you know how to create pointers/references in JS?
The only solution I know is to create object wrapper for such a values:

Code: Select all

var var1 = {q:20}; 
alert(var1.q); // 20
var var2 = var1; 
alert(var2.q); // 20
var2.q = 10;
alert(var1.q); // 10
Thanks... that makes sense I guess. Ok back to the topic at hand :)
adamb10
Forum Commoner
Posts: 91
Joined: Sat Jun 24, 2006 7:44 pm

Post by adamb10 »

A fun coding project is adding a fairly large yet easy to implent feature into a project of mine.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

All this talk about front end and back end...

Liquor in the front and poker in the rear anyone??? :P
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Sicko... Although...

Whoo, anyway, all weird thoughts aside, my favorite coding projects are the ones that: A) I can complete, B) others can use without too much instruction, C) work right the first time, D) pay me and E) allow me to better develop my coding skills.

I usually accept one of these and feel decent about the project. It is a cold day in Phoenix when I get all five.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Weirdan wrote:I like front-end work, especially Javascript (it's beautiful language).
Janitor work... I like it as well. It's fascinating to read and improve other's code.
:lol: Your kidding I hope...

Outside of it's syntax being similiar to C...there is nothing pretty about that language...

It's prototype'd OOP support and non-strict syntax (missing semi-colons aren't a bigt deal) in combination with lack of flexibility and so many browsers having different DOM implementations...plus horrible error messages/exceptions...

Whats so wonderful about it??? :P

The lack of a quality IDE doesn't help either :)
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

My interests flucuate all the time...so it depends what gets me going...

For instance a while back I was all about designing a template engine (using a completely new approach) which didn't require logic...

I won't explain how I anticipate this to work, but so far...in theory, so everything but the most complicated interface, it should work...

And can actually make complex interfaces a trivial task...

But that kind of faded from the radar...

Then I was onto Knowledgebase systems and I thought of a way of approaching result fetching different than that of FULLTEXT

THe idea isn't totally unique...but basically using heuristics...the knowledgebase would get better at returning results based on user navigation and searching...

Not using a trivial approach like "How would you rate this article" either...more complex than that...the problem is...lots of bugs to work out...and ideas to solidify...

I did alot of research and thinking about neural networks and pattern recognition when working on this project...

I have had interest in encryption and designed my own algorithm then studied others techniques and discovered major weaknesses in my own :oops:

But it was a cool learning expeirence... :)

I've worked with 3D graphics engines...writing my own when I first started programming in C/C++ and later reading up on OpenGL and DirectX...

Anyways...the list is endless...my interests I cannot keep on one single subject for very long - and enjoy what I do to the fullest...

I still get much satisfaction from finishing a project...but it's not like the high I get when I start on something completely new... :)

What Roja does...janitor work...

OMG...I'm not sure whether to respect him or puke on the floor...

I admire the fact anyone could do just that...but for me...I mean...I do it...and I enjoy the finished result of clean code as it's easier to get back into later...but man...

I can't even fathom doing something like that...

Hey Roja I have a project I want to release as (L)GPL but it needs cleaning up...mostly phpDoc comments, consistent variable naming, etc...

Interested??? Please... :P

I never thought I'd ever hear anyone say they actually enjoy that...eveyone else's response...I could agree with or have heard before...but janitor work...

Thats crazy :)

Cheers :)
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Hockey wrote: :lol: Your kidding I hope...
No, I'm not.
Hockey wrote: Outside of it's syntax being similiar to C...there is nothing pretty about that language...
:?
Hockey wrote: It's prototype'd OOP support
...which is more powerful concept than class-based OOP...
Hockey wrote: and non-strict syntax (missing semi-colons aren't a bigt deal)

...until you start using jslint...
Hockey wrote: in combination with lack of flexibility
oh, really? It seems you don't know what you're saying.
Hockey wrote: and so many browsers having different DOM implementations...
DOM is out of the question here. I was talking about the language itself.
Hockey wrote: plus horrible error messages/exceptions...
js exceptions are fairly standard compared to exeption handling of most of the languages today.
Hockey wrote: Whats so wonderful about it??? :P
Closures. Functions as (almost) first-class objects. Many things to name.
Hockey wrote:The lack of a quality IDE doesn't help either :)
vim+firefox+firebug = excellent DE. I'm not a big fan of I.


PS: I will split the topic should you continue discussion about JS here
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

There's no need for arguing which is a more elegant language or whatever. It's a moot point, so I'd suggest dropping it.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Consider it dropped :P

I didn't really mean as a language...so much as I did a practical language...

Every language in theory has excellent points...the fact is javascript is very limited in what it can do, as it's designed to be not so powerful (as a technology) otherwise...

All your HDD drives would be copied onto my CD's right now...and I'd be looking at your personal information...like which *sites* you all visit... :twisted:

Anyways...i'm done :)

It's all good...I like Javascript... :)
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

My idea of a fun project is something that I will actually finish. I have dozens of sites but they are all unfinished. Usually I learn so much when I am working on a new project that by the I have went through all of the code and found what I need to change, I have lost all interest in working on it. :(
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Hockey wrote:What Roja does...janitor work...

OMG...I'm not sure whether to respect him or puke on the floor...

I admire the fact anyone could do just that...but for me...I mean...I do it...and I enjoy the finished result of clean code as it's easier to get back into later...but man...

I can't even fathom doing something like that...
Not everyone can be a janitor. Its really a very solid metaphor, and I embrace it. I understand that it isn't everyone's cup of tea. I'm not entirely sure why I enjoy it so, but I do.
Hockey wrote:Hey Roja I have a project I want to release as (L)GPL but it needs cleaning up...mostly phpDoc comments, consistent variable naming, etc...

Interested??? Please... :P
Setup a SVN repo, release it under the (L)GPL, grant me access, and I'll do cleanup on it from time to time. :)
Post Reply