Stories
Slash Boxes
Comments

SoylentNews is people

posted by janrinok on Friday March 21 2014, @11:25PM   Printer-friendly
from the another-day-another-language dept.

youngatheart writes:

"First there was HipHop, the PHP interpreter which improved performance, now usually referred to by the less embarrassing name HHVM. Building on HHVM, they've just introduced Hack, which 'reconciles the fast development cycle of PHP with the discipline provided by static typing, while adding many features commonly found in other modern programming languages.'

Over the past year, Facebook has converted nearly all of its PHP code base to Hack, which makes up the core of its website."

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 1, Funny) by crutchy on Friday March 21 2014, @11:58PM

    by crutchy (179) on Friday March 21 2014, @11:58PM (#19534) Homepage Journal

    ...php still sucks though, right?

    Starting Score:    1  point
    Moderation   0  
       Funny=1, Overrated=1, Total=2
    Extra 'Funny' Modifier   0  

    Total Score:   1  
  • (Score: 4, Insightful) by davester666 on Saturday March 22 2014, @12:43AM

    by davester666 (155) on Saturday March 22 2014, @12:43AM (#19549)

    This is taking a really crappy language and making it slightly less crappy. And then giving it a name with a negative public perception.

    Imagine as an independent contractor going to a client and saying "I plan on doing your project in a language called Hack. It's by Facebook."

    • (Score: 2) by chromas on Saturday March 22 2014, @01:10AM

      by chromas (34) Subscriber Badge on Saturday March 22 2014, @01:10AM (#19554) Journal

      You're right. Leave out the part about Facebook.

  • (Score: 5, Insightful) by tibman on Saturday March 22 2014, @01:58AM

    by tibman (134) Subscriber Badge on Saturday March 22 2014, @01:58AM (#19563)

    I still develop in PHP for fun. C# for work and C++ only occasionally. Javascript is likely to dominate in the next year or two. It's already almost tied with server-side code.

    PHP will always have a bad reputation. Even from those who never took the time to learn it. Languages don't bother me but bad code certainly does. Poorly named variables and functions are possible in any language. Writing code without tests feels unprofessional. Methods with more than four or five lines in them look too busy. Functions that are both a command and query make me shiver. A collection of functions passing the same objects around is just a class in disguise. Presentation layers that have any database knowledge are cringe worthy. High level code should not depend on low level details. Long predicates should be made into boolean methods. Blah blah blah. The language doesn't mean shit. It's up to the person using it that determines how accurate/stable/fast/reusable it is : )

    --
    SN won't survive on lurkers alone. Write comments.
    • (Score: 3, Insightful) by rts008 on Saturday March 22 2014, @09:56AM

      by rts008 (3001) on Saturday March 22 2014, @09:56AM (#19652)

      I've dabbled with html, a little Java, and a little python scripting, but I really do not know coding, programming, or any 'language'(I focus on some game 'modding' only)

      Coming from a 'country/farm boy' background, blacksmithing, construction, and other blue-collar vocations, I see your post and react to it in that mindset.

      To set the stage, coder/programmer/developer are fellow craftsman in my view, so keep that in mind for the below statements:

      The language doesn't mean shit. It's up to the person using it that determines how accurate/stable/fast/reusable it is : )

      The 'world's best, Super Ultimate, Foolproof, comprehensive' toolkit wielded by an incompetent or mediocre craftsman(?) will not achieve 'master craftsman' level results.
      However, you can provide some basic tools to a true master craftsman, and they will achieve seemingly miraculous works.

      I've personally witnessed this time, and time again in the construction field, and on the various farms and ranches I have worked; never more so than when I was in the US Army.

      So yeah, you hit the nail on the head, from my POV.

  • (Score: 1) by Barbara Celarent on Saturday March 22 2014, @03:05PM

    by Barbara Celarent (790) on Saturday March 22 2014, @03:05PM (#19710)

    Yes, Yes it does.

  • (Score: 0) by Anonymous Coward on Saturday May 03 2014, @08:47PM

    by Anonymous Coward on Saturday May 03 2014, @08:47PM (#39320)

    c8CDmA nncedifvcypt [nncedifvcypt.com], [url=http://dcpgibqknjsy.com/]dcpgibqknjsy[/url], [link=http://vaplxyjknosg.com/]vaplxyjknosg[/link] , http://umicicgihstp.com/ [umicicgihstp.com]