Posted: Mon Jun 26, 2006 3:24 pm
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.astions wrote:Ah, The joy of feature creap.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
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.astions wrote:Ah, The joy of feature creap.
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.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.
Code: Select all
$var1 = 10;
$var2 =& $var1;
$var1 = 42;
echo $var2; //42The only solution I know is to create object wrapper for such a values:d11wtq wrote: Not to go off topic but do you know how to create pointers/references in JS?
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 handWeirdan wrote:The only solution I know is to create object wrapper for such a values:d11wtq wrote: Not to go off topic but do you know how to create pointers/references in JS?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
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.
No, I'm not.Hockey wrote:Your kidding I hope...
Hockey wrote: Outside of it's syntax being similiar to C...there is nothing pretty about that language...
...which is more powerful concept than class-based OOP...Hockey wrote: It's prototype'd OOP support
Hockey wrote: and non-strict syntax (missing semi-colons aren't a bigt deal)
oh, really? It seems you don't know what you're saying.Hockey wrote: in combination with lack of flexibility
DOM is out of the question here. I was talking about the language itself.Hockey wrote: and so many browsers having different DOM implementations...
js exceptions are fairly standard compared to exeption handling of most of the languages today.Hockey wrote: plus horrible error messages/exceptions...
Closures. Functions as (almost) first-class objects. Many things to name.Hockey wrote: Whats so wonderful about it???![]()
vim+firefox+firebug = excellent DE. I'm not a big fan of I.Hockey wrote:The lack of a quality IDE doesn't help either
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: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...
Setup a SVN repo, release it under the (L)GPL, grant me access, and I'll do cleanup on it from time to time.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...