uriel

- friends
32,405 link karma
20,841 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • Six-Year Club

    Secret Santa
    2010

    Verified Email

    Well-rounded
    2009-11-10

reddit is a source for what's new and popular online. vote on links that you like or dislike and help decide what's popular, or submit your own!

Using math/rand to generate an int between a given min and max? by Kealperin golang

[–]uriel 0 points1 point ago

Sometimes the painfully obvious solution can be hard to see, even for somebody experienced. At least this happens to me rather frequently, but I'm not very smart anyway.

5 Weeks of Go by urielin programming

[–]uriel[S] 0 points1 point ago

? And it isn't, I don't see your point.

5 Weeks of Go by urielin programming

[–]uriel[S] 2 points3 points ago

What kinds of tools that make a difference at that scale aren't available for Go?

It seems to be working just fine for Google.

5 Weeks of Go by urielin programming

[–]uriel[S] 0 points1 point ago

Part of the point of Go is that is simple and lean enough not to need tooling.

All that "tooling" is just language smell.

5 Weeks of Go by urielin programming

[–]uriel[S] -5 points-4 points ago

This debate was settled in the mid 90's and all serious languages that came out since then have supported exceptions.

Lots of stupid shit was 'settled' in the 90's, from XML to inheritance-based OO.

One of the things that makes Go great is that it reverses much of the braindamage that has become so pervasive over the last 20 years.

5 Weeks of Go by urielin programming

[–]uriel[S] -4 points-3 points ago

In many languages things like null and true are not keywords either, so that they aren't keywords in Go is not all that special.

5 Weeks of Go by urielin programming

[–]uriel[S] 4 points5 points ago

That is one reason I love Go: gofmt or GTFO.

5 Weeks of Go by urielin programming

[–]uriel[S] -11 points-10 points ago

Throws what? And you still have to catch the exception somewhere, so you don't really make anything more concise, you just move error handling to a further away place, and scattering 'throws' along your path.

Also just because you don't have exceptions doesn't mean error codes, those are two unrelated things (in python for example 'exceptions' were just strings for a long time).

5 Weeks of Go by urielin programming

[–]uriel[S] -13 points-12 points ago

The most striking thing about Go code to me is that it's littered with error handling of the form

Is not more verbose than the exception-equivalent, and less fragile, because you handle the error closer to where it is generated.

5 Weeks of Go by urielin programming

[–]uriel[S] 10 points11 points ago

Go has the feature I most wanted in a new language: less features.

5 Weeks of Go by urielin programming

[–]uriel[S] 23 points24 points ago

48 down votes in <30 min, is quite impressive.

5 Weeks of Go by rauyranin golang

[–]uriel -1 points0 points ago

Seems that this post ended up in the spam filter, a post of the non-minified url is here.

Highlights from the PostgreSQL 9.2 beta - what's coming in the next major release by corbetin programming

[–]uriel 4 points5 points ago

A name that happens to be wrong, as SQL was never one of MySQL's strong points. (Not that anyone has ever fully implemented the SQL standard, which is insane and beyond huge, but MySQL is particularly bad at this.)

For a long time MySQL implemented a very laughable and incompatible subset of SQL, it has got better, but is still pretty bad.

Highlights from the PostgreSQL 9.2 beta - what's coming in the next major release by corbetin programming

[–]uriel 2 points3 points ago

Is there anything MySQL hasn't figured out how to fuck up?

Shared libraries diamond problem: Loading incompatible shared libraries simultaneously by tomtennnin programming

[–]uriel 0 points1 point ago

No, the correct answer is static linking.

D is a dragon, or why D matters for Bioinformatics by andralexin programming

[–]uriel -6 points-5 points ago

If you like C, try Go, if you (are insane enough to) like C++, try D.

You can read the Go spec in less than half an hour, and get a good grasp of the whole language in one afternoon.

I don't think anyone (other than andralex) even knows all the "features" in D, andralex's book was supposed to act as the "spec" for the language, but last I heard there is plenty of stuff in the book that is not implemented at all.

The Node.js cpu blocking thing (Go vs Node.js) by theringoffirein golang

[–]uriel 6 points7 points ago

The Node community has never cared much about facts.

The Node.js cpu blocking thing (Go vs Node.js) by theringoffirein golang

[–]uriel 0 points1 point ago

Which is how it ought to have been. Tcl is also a much nicer language than Ruby.

The Node.js cpu blocking thing (Go vs Node.js) by theringoffirein golang

[–]uriel 3 points4 points ago

Node is indeed a cancer. It has completely rotten the brains of almost a whole generation of programmers it seems. And I thought the RoR fad had been bad...

Quotes about programming languages by shenglongin programming

[–]uriel 0 points1 point ago

For example if your using an array, it's pretty normal that you will only be using around 9 or 10 methods,

Then why are they there hundreds if you are only supposed to use less than a dozen?

And you might not use the rest, but somebody will, and somebody will have to read the code written by people using the other methods.

view more: next