« first day (804 days earlier)      last day (4134 days later) » 

11:00 PM
Ahhh, well... :-D
You dawg, I heard you like PHP, so I built PHP in PHP so you can run PHP on PHP. #wouldBeFunnyIfIWasntKidding #toCome
3
I dislike that pointer hack though... Will have to re-think that
 
@dyelawn ok, huge difference. DependencyInjection = container compile time ;-)
 
@ircmaxell so i just read the things that you pasted here. what does that php parser do?
 
generates an AST from PHP code. @NikiC built it
actually, maybe I'll add it before function calls. Right now I have a single stack frame...
so function calls are not trivial at all to implement...
 
anything in particular that makes it hard?
 
php's internal implementation of function calls is a real bitch
everything is so incredibly complex
 
11:08 PM
It's not hard. It's just that I don't have any stack frame implementation yet...
So far, I'm not trying to mirror PHP's opcode 100%. More the functional behavior...
 
@philip I just noticed it was you who made that comment. That makes it funnier :)
 
@igorw so it would be a lot easier if there was just a simple scope setter in the service class, right?
 
@dyelawn I don't know the context, but in general setters on services are usually a bad idea.
@dyelawn the reason being that services should be stateless
 
@ircmaxell meta-circular php? :-)
 
@igorw so it all comes back to, using either a) DependencyInjection parameter setter or b) registering a new service within my bundle that is a child of the service i want to use?
 
11:21 PM
@ircmaxell Make sure that stuff like $foo->bar('a', $bar->baz('x'), 'c') will work properly in your design ;)
 
@ircmaxell shit, tell me what you're cooking, seriously - sounds interesting :)
@NikiC you're not gonna like my language... at all :)
 
@KamilTomšík :)
you had the one without any function arguments at all
amirite?
 
@NikiC strict left-to-right evaluation, unless you redefine eval in your own sub-language
 
@KamilTomšík On a scale from 1 to 10, how ugly will the language look?
 
Anonymous
just sayin... 4
 
11:25 PM
@NikiC one parameter, block of further commands
 
Where 3 is LISP ugly and 8 is Python ugly :)
 
@NikiC to be honest, in result it will probably look like python+ruby+smalltalk, but the whole mechanics is different
 
oh
now i am disappoint
 
@NikiC thats what I've learnt from Self, illusion
 
I was expecting your language to look more like mathematical masturbation (as the C++ room put it)
 
11:28 PM
@NikiC its not important how does it actually work if it does what you expect :)
 
You know, like Lisp or Haskell ^^
 
@NikiC nope, I dont like the math at all :-D
 
Btw, I chuckled at this Zen of Haskell: reddit.com/r/programming/comments/15itwl/…
It's funny because it's true ^^
and I also like the first comment for the "hyperzygomorphisms-extra" part
Haskellers really love their *morphisms
I'm personally a fan of the zygohistomorphic prepromorphism
 
That is just golden!
 
@NikiC hehe
 
11:32 PM
@NikiC exactly, that's the point of latest version (54 or so, not sure at all) - being able to iterate over object in js is very practical, so it should be easy thing to do. its something like UI-first in the webapp development
@NikiC bookmarked, btw :-D
@NikiC php: Built-in is better than built-out.
:-D
hilarious :-D sorry :)
Who needs name spaces when you use one character for names?
But there are only so many characters!
 
:D
 
oh myyy :-D
 
@NikiC so far it does... Opcodes are evaluated inside out. Variable variables work ;-)
 
@dyelawn child service sounds like a good approach
 
I'm out. Tty later
 
11:39 PM
lambda is the ultimate goto
 
Today's Image Macro of the Day has been brought to you by the letters P, H, P, H, and P.
 
@igorw fp can seriously harm your mind :)
 
@TheCOMPLETEPHPNewbie NullUserException is almost certainly right. There's no way that explode could be anything other than linear, right? I mean, PHP is stupid but it's not that stupid.
 
11:41 PM
@KamilTomšík yep, I already noticed. I just told someone that services should be stateless.
 
@igorw thats not fp related, thats just the way it should be :)
 
@KamilTomšík let me put it this way: fp makes you more aware of such things
 
@igorw sorry to disagree, but at least not for me, I've learnt recursion and the power of lambdas... but always loved statefulness and will be (hopefully) unless its totally unappropriate (like services are)
 
Anonymous
hmm...
 
@KamilTomšík I'm not arguing for or against statefulness, but for me learning about fp made all the difference to paying more attention as to when something should be stateful or not
 
11:53 PM
@igorw not for me. I still do think FP is totally out of reality, world changes every second, a lot...
maybe its more about the philosophy
 
Anonymous
How does hiring a code auditor work btw. I finished my first PHP enabled website, with news posts, register, login, comments system.
 
I'm aware of being able to fully test correctnes of functions, its just not enough valid reason for me
 
@KamilTomšík I am still very much exploring it. I need to play more with it, but conceptually I like the approach clojure takes.
 
no argument there, seems like there are 2 types of people (or more) :)
 
especially the idea of modelling changing values with persistent data structures is quite appealing, did you ever look at datomic?
 
11:57 PM
like for example design by contract vs. duck-typing
nope, whats that?
homepage doesnt tell a lot...
 
it's from the same guy who made clojure
in the simplest terms it's an append-only key-value database which is transactional and has a strong notion time.
 

« first day (804 days earlier)      last day (4134 days later) »