Hacker Newsnew | comments | ask | jobs | submit | recursive's commentslogin

How do you know?

-----


I don't have much to say about any of the new functionality, but Spring seems like a very poor name for anything new related to programming.

-----

mountaineer 14 days ago | link

I agree with you, Spring is already well known in Java circles (and .NET to some extent).

-----

iagooar 14 days ago | link

And that's why it doesn't matter at all in the Ruby / Rails community ;)

-----

danielweber 14 days ago | link

And a nightmare for people in both the Java and Rails community when seeking jobs.

-----

r00fus 14 days ago | link

Still Google/search kind of flattens the namespace a bit. Now you're going to get lots and lots of Java Spring framework hits on any Ruby Spring google searches.

-----

agotterer 14 days ago | link

Agreed. I'm a big Ruby fan, but some of the community naming choices are just annoying. In addition to spring: rack, sequel, devise, unicorn, faraday... I could keep going.

-----

midas007 14 days ago | link

Spring rails reloader gem. Solved.

-----

michh 13 days ago | link

Exactly. Except they could have used Springloader or something as a shorthand for it (rather than Spring) and it wouldn't have been as much of an issue.

It reminds me of when Wordpress gave one of their milestone releases the code-name Django. They actually changed it to "Rheinhardt" after the initial release because of the confusion it was causing.

In this case it's even worse. Giving a component of a web framework the same name as a different, in a sense competing, framework is just plain silly.

reply


As a person who is generally considered to be good with scary numbers, I can confirm that this is exactly how it works for me.

-----

dllthomas 15 days ago | link

For the record, I have no trouble at all believing that it works that way for many people. The claim was that this is how it works for everyone, and that I find questionable - in my experience, some people work better verbally than visually. I'm pretty good visually, but it definitely feels like I'm engaging different systems when I am reasoning using words than when I am reasoning using images - and I don't expect this generalizes.

-----


Why not? That's what I would have guessed.

-----


I'm one of them. For me it's because I made some token efforts before to understand it, and it seemed far more complicated than source control should be. I have very simple needs, and correspondingly don't really have a desire to learn non simple tools.

-----

opendais 18 days ago | link

And if that works for you, you shouldn't learn it. :)

But I think Tarsnap -> Patio11's Idea is like Git -> GitHub. I think there are two separate audiences there with different needs.

-----


They will probably not believe you if you tell them a thousand times. Sometimes you have to give people what they ask for so they will realize it's not what they want.

-----


Apparently, I'm the only one who can't figure out how to play. It seems you're supposed to launch missiles, but all I can do is make them pop into and out of the ground. As soon as the first bug reaches the ground, I lose, regardless of how many missiles I have showing.

-----

jedmeyers 21 days ago | link

Missiles correspond to the binary representation of the hex number. All possible values of one hex digit can be represented by 4 binary digits, and vice versa. As an example: to hit an AF hex you need six 1010(A) 1111(F) missiles. To hit 24 hex you need only two missiles: 0010(2) 0100(4)

-----

Elhana 21 days ago | link

Bugs have a hex number of them, you need to match it with a binary representation with rockets.. I'm still slower than that kid.

-----

banjomonster 21 days ago | link

Try selecting the missiles so that they equal the number of the bug (missiles are binary, bug numbers are hex). The box on the lower right shows you what you've selected.

-----


It might be. But I've never heard of it. Is it from a show?

-----


That is completely a stylistic preference. When I write C#, the opening braces are placed on the same line as the preceding control structure.

-----

V-2 22 days ago | link

It's not a crime, but Allman bracing is normally used. Every official guidelines, every programming book, every open source project I know of, uses Allman for C#, so anything else stands out like a sore thumb. It's about convention, consistency and resulting readability. I'm not a fanboy of bracing style :) I think that in Rome you should do as Romans do. When I use Java or PHP, I use K&R - it's a context thing, it would just look weird and out of place otherwise. I believe it's better to embrace the "native" (common) coding style in each language, unless you only ever work on your own.

-----

seanmcdirmid 22 days ago | link

Allman bracing sucks on wide screen laptops, and it was only when I found the 3-font point brace line Visual Studio extension that I was able to switch. I'm really getting annoyed with braces, we should get rid of them.

-----

collyw 20 days ago | link

Python replaced them with indentation. Funnily enough it is one of the most complained about things with Python. I hated it at first, and its still a pain when switching between JavaScript and Python, but you never get the mismatched brace problem which more than makes up for the problems.

-----

V-2 22 days ago | link

Well coding on laptops sucks anyway :)

-----


The problem is the types. Those methods do know how to handle 0-sized collections, but they must be operating on nullable types.

Enumerable.Empty<int?>().Average() returns null.

If you have a sequence of integers, you can get the behavior you want by converting the elements to nullable types like this. seq.Average(x => (int?)(x))

-----

More

Lists | RSS | Bookmarklet | Guidelines | FAQ | DMCA | News News | Feature Requests | Bugs | Y Combinator | Apply | Library

Search: