News for hackers. Stuff that matters.

namekuseijin

Re:Extrovert or Introvert? (thoughts) on Saturday September 26, 2015 @02:11PM (#10283881)
poor bipolar
Re:Ask HN: Should beginners learn Python 2 or Python 3? on Saturday September 26, 2015 @02:00PM (#10283833)
are people still learning python? eons ago when I last looked at it, people were still making this very question LOL

it's the curse of open source software: as long as the source is out there, people with legacy software will continue updating it. Perl 6 was long in the making, never made any real inroads because all of its audience was already readily invested in perl 5.

it only really works with commercial tools, because people will whine much but eventually bend over and buy Microsoft's or Oracle's latest bloated money grabber. Because there's no option, right?

Re:Low-carb diet may make you unhealthy, shorten your life on Saturday September 26, 2015 @01:42PM (#10283757)
right, most people are pigs

I'm a dog and only eat bone marrow...

Re:Redesigning a model of Tyrannosaurus Rex on Saturday September 26, 2015 @01:38PM (#10283734)
a giant turkey, indeed

probably even the motion was likely very similar to that of birds... you know, those careful steps one after the other of chicken...

Re:NewLisp on Friday September 25, 2015 @11:07PM (#10281941)
racket is a superset of scheme. I write perfectly valid scheme code and run in racket even with the #lang racket tag... now, let's not get started on RxRS compatibility...
Re:NewLisp on Friday September 25, 2015 @10:55PM (#10281924)
its features are comparable to old Lisps from the 70's, prior to Scheme and Common Lisp. Nothing really new here at all and lots of old bugs passing for features.
Re:Why do programmers hate Microsoft? on Thursday October 21, 2010 @02:34PM (#1816832)
it's actually a very small vocal minority who hates microsoft. They hate microsoft because microsoft means ubiquitous standardized flatten programming environments the way managers like, with sheeple programmers properly strapped and assembling programs from paid frameworks.
Re:Why do programmers hate Microsoft? on Thursday October 21, 2010 @02:30PM (#1816813)
Microsoft Research is kinda like a country club for retired compsci laureates...
Re:Ask PG: Lisp vs Python (2010) on Wednesday October 20, 2010 @02:46PM (#1812338)
that's bad assembly-style pseudo-code and thinking. Lisp favors higher-level, functional pseudo-code that readily runs as is!

like in scheme: (write (let for ((i 0) (s 0)) (if (> i 100) s (for (+ 1 i) (+ i s)))))

why would you care for those a, b, or s variables in the first place when all you want is the sum? The above expression writes the sum as computed by a recursive approach using lexical bindings.

you may of course abstract it away into a function: (define (for from to doit result) (if (> from to) result (for (+ 1 from) to doit (doit from result))))

and use it: (write (let ((a 0) (b 100)) (for a b + 0)))

I didn't even need macros yet!

Re:Ask PG: Lisp vs Python (2010) on Wednesday October 20, 2010 @01:04PM (#1811934)
Yeah, there'll come a time when to build systems all you need is a bunch of people talking to reach a consensus: how much to pay for a third party to write it for them.

oops, it seems it already happens today...

Re:Ask PG: Lisp vs Python (2010) on Wednesday October 20, 2010 @12:56PM (#1811896)
I wish there was a language called harmless which common folk could use to express common thought without any fear. It would go like this:

do this do this and that and that too do this amen

No branching nor decision trees as not to confuse common folk. Now programming is a socially acceptable activity!

Re:Ask PG: Lisp vs Python (2010) on Wednesday October 20, 2010 @12:49PM (#1811869)
Typed Racket combines all the inconvenience of type declarations with all the performance provided by a dynamic language.