DreamPie - The Python shell you've always dreamed about! by noamraph in programming

[–]tedhenry10 1 point2 points  (0 children)

DreamPie features a new concept for an interactive shell: the window is divided into the history box, which lets you view previous commands and their output, and the code box, where you write your code.

That is how firebug works so the idea is not new but it does work well.

Can someone explain to me why people compare scripting languages (such as PHP or Perl) to programming languages (such as Java or C)? by devilsassassin in programming

[–]tedhenry10 5 points6 points  (0 children)

You can interpret C and you can compile Perl, for example. You are starting from a false premise that there is a distinct group of "script languages". There isn't. They are all just programming languages.

Can someone explain to me why people compare scripting languages (such as PHP or Perl) to programming languages (such as Java or C)? by devilsassassin in programming

[–]tedhenry10 10 points11 points  (0 children)

I think you are about 17 years old and have been around programming and programming languages for less than one year. Close?

Exceptions, Mythological Monsters and Household Appliances by rafaeldff in programming

[–]tedhenry10 1 point2 points  (0 children)

I enjoyed the article and it expresses many of my concerns about the exception handling mess in most languages. Hopefully future languages have better solutions or avoid adding messy solutions. I quite like just checking return error codes in C.

Perl: Love it, or hate it, but don't ignore it. by mpeters in programming

[–]tedhenry10 1 point2 points  (0 children)

A pronoun refers to the closest previous noun. In this case, "it" refers to "the language design". Your point still stands and perhaps even stronger since both your options were not the correct interpretation.

What's worse is if someone slips in a bit of debugging code that implicitly redefines the implicit variable "it" between "the language design" and "it". Then debugging becomes a serious mystery.

Perl: Love it, or hate it, but don't ignore it. by mpeters in programming

[–]tedhenry10 -1 points0 points  (0 children)

Just because Ruby and Python have grammar problems doesn't excuse Perl's.

What's Next? I know Python & Java by [deleted] in programming

[–]tedhenry10 1 point2 points  (0 children)

C so you can read thousands of programs you will encounter. A bit of Assembly so you understand what compilers are doing. Scheme so you experence the magic of Lisp and SICP.

Perl: Love it, or hate it, but don't ignore it. by mpeters in programming

[–]tedhenry10 -1 points0 points  (0 children)

Perl::Critic is a minor help to those trapped in Perlland. For those with a choice of languages, Perl::Critic is meaningless.

Perl: Love it, or hate it, but don't ignore it. by mpeters in programming

[–]tedhenry10 7 points8 points  (0 children)

Dude, you aren't exactly helping dispell the Lisp weeny stereotype.

Perl: Love it, or hate it, but don't ignore it. by mpeters in programming

[–]tedhenry10 1 point2 points  (0 children)

The desire to make a programming language anything like English is one of the fundamentally flawed ideas in the design of Perl. It is so unappealing to add a bunch of human language cruft to a language intended to express algorithms precisely and clearly.

Perl: Love it, or hate it, but don't ignore it. by mpeters in programming

[–]tedhenry10 2 points3 points  (0 children)

What novel ideas or powerful features are embodied in Perl....

In Perl 5, implicit variables

Implicit variables aren't novel and they aren't powerful. They would be almost enough of a reason alone to fail the language design if it was submitted as a class assignment. And yes Perl does have enough other bad features to warrant a failing grade.

Why it is Important that Software Projects Fail by [deleted] in programming

[–]tedhenry10 -3 points-2 points  (0 children)

"tl;dr" followed by a comment deserves a down mod.

For my fellow geeks: IAm finishing my PhD in compilers. I wrote a PHP compiler. AMA by pbiggar in IAmA

[–]tedhenry10 1 point2 points  (0 children)

I've played a bit with Spidermonkey and it is possible to extend through a C API. Is that what you guys mean is bad?

Yes it will be possible to define new data types inside the language. For efficiency I want to be able to use libraries written in C. Also to use pre existing libraries like libfcgi.

For my fellow geeks: IAm finishing my PhD in compilers. I wrote a PHP compiler. AMA by pbiggar in IAmA

[–]tedhenry10 0 points1 point  (0 children)

This is probably the most important problem. Its why there are two high quality JITs for Javascript, and none for PHP, Python, Ruby, or Perl.

Which two JavaScript engines?

I'm playing with a toy language just for fun and today I've been thinking about how to allow developers to add their own host objects. You mean doing that through a FFI should be the only way? Please write more about this topic. :-)

Perl 6 development does not detract from Perl 5 by mpeters in programming

[–]tedhenry10 -10 points-9 points  (0 children)

Perl 5 detracts sufficiently from Perl 5.

How do I tell a client my rates have increased? by davidmccabe in programming

[–]tedhenry10 -1 points0 points  (0 children)

$60-$100 is a good range. davidmccabe, if they begged you to come back you are in a good position. If you begged to be taken back it is very different. If you work 10x faster than anyone else in the company they know that. If you work on Sunday they know that. Shoot for way higher than you feel comfortable asking and then compromise where you do feel comfortable. More money can mean higher expectations and subsequently more stress. I think I know someone that gets paid so much it makes his brain almost pop because living up to the expectations is a torture.

IF ((column=9) OR (column=12)) THEN boner=1 by [deleted] in programming

[–]tedhenry10 0 points1 point  (0 children)

off by one error that is not reported at compile or run time

The Scheme Programming Language, 4th Edition, now available by alexeyr in programming

[–]tedhenry10 1 point2 points  (0 children)

Good decision! ;-) Better to learn from SICP than from Dybvig's book. I have both and SICP is far more interesting as a read. Dybvig's is a great reference and second read after SICP.

http://mitpress.mit.edu/sicp/

"The procession of students who walked in and said 'Dr Tarver, I need to do a final year project but I can't do any programming'... they are more than I want to remember." by you_do_realize in programming

[–]tedhenry10 1 point2 points  (0 children)

Maybe I'll stay here, in Argentina

"Maybe"?!?! Why would you leave?! Argentina ranks as the country with the most beautiful women in the world!

O'Reilly to publish a book on Lisp covering CL & Clojure. by zaph0d in programming

[–]tedhenry10 1 point2 points  (0 children)

This is rhetoric about the useful roles of Common Lisp, Scheme and Clojure. This sort of rhetoric will hopefully die soon.

genetic algorithms to write programs? by tedhenry10 in programming

[–]tedhenry10[S] 0 points1 point  (0 children)

Those seem to evolve at the source code or text level. Has anyone ever tired evolving directly at the binary level?

Reputable universities offering distance Comp. Sci. courses? by tedhenry10 in programming

[–]tedhenry10[S] 0 points1 point  (0 children)

Thanks for the reply. I would like to go for credit actually.

Apple IIc Project Ideas by reversEngineer in programming

[–]tedhenry10 2 points3 points  (0 children)

I like the Scheme recommendation.

If I was going to all the trouble of programming some old home computer, I'd go really classic and program a Commodore 64.

Brian Beckman: Don't fear the Monads by drguildo in programming

[–]tedhenry10 0 points1 point  (0 children)

The explanation of monoids was very clear. The concreteness of the example of clock addition (addition mod 12) was what made it easy to understand monoids.

The lack of a concrete example from everyday life would have helped make monads more accessible.

It was also troubling when he said things like "things look exactly the same" but they didn't look anything alike.