Commit Graph

8 Commits

Author SHA1 Message Date
Andrew
dd5c81e40d
Incorporate micro-feedback
* Update documentation for using contains() and contains_key() with dict (previously incorrect)
* Prefer to use HH\Asio\curl_exec() over \file_get_contents
* Add example for enum class (enum of any type)
* Remove incorrect description of `use` keyword in traits
* Fix and improve various explanations in comments
2022-07-11 18:44:32 -04:00
Andrew
52cec041d0
Update function names
Follow best practices (function should be snake case [do_task()], and methods should be camel case [doTask()])
2022-07-10 23:06:24 -04:00
Andrew
cbe2e63882
Overhaul Hack in Y Minutes
This file was updated about 6 years ago. Since then, there have been many changes, including a distancing from PHP. This commit is an overhaul of the previous documentation for learning Hack in Y minutes.

Over the years, there have also been many language changes and updates, for example, the introduction of Hack Arrays (vec, keyset, and dict) and the Hack Standard Language (HSL). To read more about how the language has changed and evolved, you can read the HHVM Blog: https://hhvm.com/blog/.
2022-07-10 22:52:18 -04:00
HairyFotr
985d23a52b
Fix a bunch of typos 2017-08-23 10:14:39 +02:00
Gabriel Halley
960ee4a185 removing whitespace all over 2015-10-07 23:11:24 -04:00
David Lima
ff1b91d463 [hack/en] Fixed some typos 2015-10-04 11:57:41 -03:00
Stephen Holdaway
177b51a331 [hack/en] Fix link to other learnxinyminutes article
I had assumed a relative link to another markdown file in this project
would work, but it renders as:

    http://learnxinyminutes.com/docs/hack/php.html.markdown

instead of the desired:

    http://learnxinyminutes.com/docs/php/

I've replaced this relative link with an absolute link to where the target
page is located on the published site.

This commit also fixes a typo in markdown syntax at the end of the document.
2015-02-18 19:23:58 +13:00
Stephen Holdaway
75f720fd34 [hack/en] Add english Hack language page 2015-02-18 16:21:58 +13:00