Live data from Hacker News

Viewing profile — PySlice

PySlice

HN member
Joined
Sat, Feb 16, 2013, 7:10 PM UTC
HN karma
37
Public activity
41 items

About PySlice

No profile information was provided.

Recent public activity

  1. comment
    Comment #7580237

    Yes, bounds checking are unnecessary, you don't need those _s() functions - NSA director

  2. comment
    Comment #6060477

    However it's going to take some time to learn all the gotchas in string functions... Failing to zero-terminate strings (strncpy), potential buffer overflows (many), global internal…

  3. comment
    Comment #6040039

    I think your comment is spot-on. A good Perl programmer can do wonders, but if you add just one average programmer to the team (without a very extensive training), he can write stu…

  4. comment
    Comment #5806598

    Yeah, it's so annoying. Everytime I go to the moon I remember how I hate that uneven gravity!

  5. comment
    Comment #5796438

    +1 just because of "I would personally prefer to tinker with a Brainfuck implementation than spend any amount of time in any bar"

  6. comment
    Comment #5772914

    I guess they just ran out of names, after deprecating java.util.Date (remember that there's also java.sql.Date).

  7. comment
    Comment #5749166

    Never using a space before the paren is more consistent. I don't know why people put a space there...

  8. comment
    Comment #5748647

    Same here...

  9. comment
    Comment #5735850

    I don't see how that invalidates my explanation In F# I would certainly call it "callTwice" too: let callTwice aFunction y = aFunction (aFunction y)

  10. comment
    Comment #5735797

    So enlighten me.

  11. comment
    Comment #5734889

    If programmers of functional languages were better at naming things, it would be easy. Let's rename g to callTwice and h to aFunction : function callTwice(aFunction) { return funct…

  12. comment
    Comment #5709379

    Well, I guess this is going to be a fairly down-to-earth language.

  13. comment
    Comment #5657562

    What one can learn from Perl: When programming in a language you hate, don't take naming arguments for granted. It could be worse: you could be programming in Perl, where all argum…

  14. comment
    Comment #5657540

    I don't think that is a misconception. Perl is the language with the highest occurrence of "subtle" and "ambiguous" in its documentation and tutorials that I have ever seen. Humans…

  15. comment
    Comment #5586438

    > bring a knife to a gun fight > If the goal of the competition is to slice apples What?

  16. comment
    Comment #5580291

    Perl eats C++'s "most vexing parse" for breakfast.

  17. comment
    Comment #5529898

    The standard music notation and the criticism this new notation receives here look to me as if we were stuck for centuries with only one programming language, C++, and nobody could…

  18. comment
    Comment #5484170

    After your excelent suggestions for names (makeMapper and makeGetter, they make everything easier, thank you), I'll try answering this, with a F#-like syntax using redundant parent…

  19. comment
    Comment #5483727

    Your example is great, but it would be even more convincing if it used list comprehension syntax such as totals = [order.total for order in orders] (like some other poster in this …

  20. comment
    Comment #5483688

    Can I upvote you twice? More than once I have found about a new technique in language A and thought: "Wow, this is clever". Then sometime later I learnt language B where that techn…

  21. comment
    Comment #5462586

    I went in the other direction and it was enlightening too. I learned how useful hash tables can be, and that a word count algorithm need not be a complicated assignment full of seg…

  22. comment
    Comment #5455888

    That logic is just a starting point (just to avoid the "I don't need it, why can't you be just like me?"), not the whole thing. Then you have to take into account a few other crite…

  23. comment
    Comment #5455778

    Which is better?

  24. comment
    Comment #5453306

    I remember some years ago when I was glad Java 5 had got some really practical new features. I didn't program in Java back then, but I wanted the language to evolve (maybe I was go…

  25. comment
    Comment #5453291

    > Thus, getters and setters should not be encouraged. Damn, so why are they encouraged in Java? 11 out of 10 frameworks insist that you write getters/setters so properties can be a…