Hacker Newsnew | past | comments | ask | show | jobs | submit | dkannan's commentslogin

Comparison works as expected in Ruby Have checked in ruby 2.1.2p95

code:

> (250).class #=> Fixnum > (250) == (250) #=> true > (2100).class #=> Bignum > (2100) == (2100) #=> true


Comparisons work, but Ruby's == isn't the same as Java's; what I was referring to was

    250.object_id == 250.object_id         # true
    (2**70).object_id == (2**70).object_id # false


Mark DiMarco gave a talk at JSConf 2014 called User Interface Algorithms which touches upon this

http://youtu.be/90NsjKvz9Ns?t=4m10s

relevant section starts at 4:13

rest of the talk is good as well


would be nice to see http://susy.oddbird.net/ and http://topcoat.io/ as well


It's simple enough to make an addition. It's a Github repo (https://github.com/usablica/front-end-frameworks/) after all.


check http://www.amazon.com/Rails-AntiPatterns-Refactoring-Addison...

other than that, 1. write tests 2. good community. for some measure of good


most of the PHP devs i know write raw PHP. they do not use a framework. one team built their own (4 years back). And NONE of them wrote tests. Actually i have never seen or heard any php dev writing and evangelizing tests

In ruby, mostly everyone i know, uses rails and mostly everyone writes some test. either TDD or after writing the code.

It is not as bad as PHP but personally even for me, i should write better rails code


That's exactly the point I was making. Symfony developers are similar batch of developers like you see with Rails - writes tests, utilizes frameworks/components, very active in open-source.

Any developer, PHP or otherwise, that knowingly ignores contributions within the community is dangerous :)

No matter what language you use, you can always write better code, even with PHP!


what is uploadd? how does it work, what problem does it solve and how is it different?

Was facing timeouts and general slowness, in file upload in my app and found uploadd. Although i am still debugging and it i am sure it is a network issue.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: