1,852 karma · joined Nov 10, 2008 (18y ago) · 533 submissions
331.
The only four types of classes an OO system needs(naildrivin5.com ↗)
1 points · by Scriptor · 16y ago · discuss
comment 16y ago · link · parent
comment 16y ago · link · parent
For the average joe schmoe programmer, people don't have such expectations, so there is far less negative reaction. Also, personality does play a huge role. Someone who doesn't seem too aloof and distant from other people will be better off (take _why for example).
comment 16y ago · link · parent
As for frameworks, I don't think there's a ready-made package for what you need. You'll have to harvest the data and build the site yourself.
comment 16y ago · link · parent
341.
Factor (language) 0.92 released(factor-language.blogspot.com ↗)
3 points · by Scriptor · 16y ago · discuss
comment 16y ago · link · parent
Either way, the post only started to get a significant number of points after the first couple of outside votes brought it somewhere in the frontpage.
comment 16y ago · link · parent
comment 16y ago · link · parent
But he knowingly asked for a bribe in return for writing a post. His actions shows an actual personality flaw, not inexperience.
I think it's a fair trade-off, a young person is given the chance to take on an important role while being expected to show a certain level of maturity.
comment 16y ago · link · parent
"without knowing more about anything than some guy named Guido?"
That's an exaggeration and it doesn't bring the discussion anywhere. It's very well possible to post a good analysis of a language without "knowing as much as Guido." In this case, experience with languages other than PHP and Java would help.
Anyone can talk about why they don't like something (even though a lot of the reasons he mentioned have been refuted here). What's so annoying about this person is the fluffy bullshit (ex: "it completely destroyed its potential.")
You can't confuse not impressing you in the meager amount of time you spent working with it and complete failure.
comment 16y ago · link · parent
People still need more heavy-duty computers to do those other things as well as for non-leisure stuff. The advantage of an iPhone was that it was extremely portable and you could just pull it out on the bus to pass the time.
The iPad is barely more portable than a laptop, and much less functional. I guess reliability of the machine is greater since it's so stripped down. Other than that, I don't see what's so special.
comment 16y ago · link · parent
The debugging problem can also be lessened by keeping each file small, so that syntax errors are easier to localize. In the future, it's possible that I'll make a debugging system that can read the PHP errors and find the Pharen code responsible for it.
comment 16y ago · link · parent
The graph is evidence of the complete breakdown of infrastructure in Haiti.
comment 16y ago · link · parent
1. Pretty likely, though I'm a little hesitant to replace the current syntax for if. The others shouldn't be hard to implement.
2. I've been planning to use the vector literal syntax. I've basically been lazy since PHP's array() construct makes it easy to cheat.
3. Indexing into arrays presents a problem. Pharen doesn't know what's a scalar, array, or function name at the moment so a special function for indexing is needed. One possible solution is to prefix an array's name, so it would be (:some_array 4) or something similar. I personally think the superglobal syntax is cleaner, if not more succinct. Any suggestions?
4. I haven't implemented an object system yet because I want to try something new here instead of simply copying PHP's syntax.
comment 16y ago · link · parent
Note that html.phn, which contains a few simple html-element functions, should be compiled before the pastebin works.
comment 16y ago · link · parent
Pharen was also started to eventually abstract out things I don't like about PHP's syntax, and maybe add some new ones. It's not meant as a competitor to other lisps!
Some special features are micros (closer to C macros than true Lisp macros) and partials (partial evaluation). Documentation for those can be found near the end of the linked page.
It is by no means close to completion. Although lisp should be entirely expression-based, parts of Pharen can't really be used as expressions yet (namely conditionals). Closely related is that returning something other than the last expression in a function has to be done manually.
Any questions, glaring (or subtle) problems, or suggestions you have are definitely welcome.
357.
Pharen: A lispy language that compiles to PHP(github.com ↗)
45 points · by Scriptor · 16y ago · 15 comments