{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/33871105","id":33871105,"diff_hunk":"@@ -6,6 +6,39 @@\n Noteworthy Differences from other Languages\n *******************************************\n \n+Noteworthy and unusual Julia features\n+---------------------------------\n+\n+* Julia allows identifiers with complex Unicode, for example you could represent the value of a chi-squared test with ``χ²``,\n+  similarly ``χ⁽³⁾`` is used in electromagnetism for the third-order nonlinear susceptibility, another example is ``∇²``\n+  which is the name of the Laplacian operator. All of these Unicode symbols are valid Julia identifiers.\n+\n+  It can also be useful for caching powers of ``x`` to ensure that intermediate products are reused optimally in time-critical code. \n+  A classic example is in computing the [Lennard-Jones 12-6 potential energy](https://en.wikipedia.org/wiki/Lennard-Jones_potential) in computational chemistry and physics, in order to compute: \n+    \n+  .. math::\n+    \n+      A/x^12 - B/x^6 \n+        \n+  one can write:\n+\n+  .. doctest::\n+\n+  \"Lennard-Jones potential\"\n+  function lj(x, A, B)\n+      x⁻² = x^-2\n+      x⁻⁶ = (x⁻²)^3\n+      x⁻¹² = (x⁻⁶)^2\n+      A*x⁻¹² - B*x⁻⁶\n+  end\n+\n+  .. note::\n+  \n+  Be wary about referencing a global variable while thinking it was an operator applied to a local variable and updating a","path":"doc/manual/noteworthy-differences.rst","position":32,"original_position":32,"commit_id":"86b53ca3a69587d386859915fb072b309302159c","original_commit_id":"86b53ca3a69587d386859915fb072b309302159c","user":{"login":"IainNZ","id":692635,"avatar_url":"https://avatars.githubusercontent.com/u/692635?v=3","gravatar_id":"","url":"https://api.github.com/users/IainNZ","html_url":"https://github.com/IainNZ","followers_url":"https://api.github.com/users/IainNZ/followers","following_url":"https://api.github.com/users/IainNZ/following{/other_user}","gists_url":"https://api.github.com/users/IainNZ/gists{/gist_id}","starred_url":"https://api.github.com/users/IainNZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IainNZ/subscriptions","organizations_url":"https://api.github.com/users/IainNZ/orgs","repos_url":"https://api.github.com/users/IainNZ/repos","events_url":"https://api.github.com/users/IainNZ/events{/privacy}","received_events_url":"https://api.github.com/users/IainNZ/received_events","type":"User","site_admin":false},"body":"I have no idea what this sentence is trying to say. Could you word it differently? Is this related to unicode?","created_at":"2015-07-03T15:35:17Z","updated_at":"2015-07-03T15:35:17Z","html_url":"https://github.com/JuliaLang/julia/pull/11998#discussion_r33871105","pull_request_url":"https://api.github.com/repos/JuliaLang/julia/pulls/11998","_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/33871105"},"html":{"href":"https://github.com/JuliaLang/julia/pull/11998#discussion_r33871105"},"pull_request":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/11998"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/11998","id":39144736,"html_url":"https://github.com/JuliaLang/julia/pull/11998","diff_url":"https://github.com/JuliaLang/julia/pull/11998.diff","patch_url":"https://github.com/JuliaLang/julia/pull/11998.patch","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/11998","number":11998,"state":"open","locked":false,"title":"WIP: Document noteworthy unusual Julia features.","user":{"login":"Ismael-VC","id":4594825,"avatar_url":"https://avatars.githubusercontent.com/u/4594825?v=3","gravatar_id":"","url":"https://api.github.com/users/Ismael-VC","html_url":"https://github.com/Ismael-VC","followers_url":"https://api.github.com/users/Ismael-VC/followers","following_url":"https://api.github.com/users/Ismael-VC/following{/other_user}","gists_url":"https://api.github.com/users/Ismael-VC/gists{/gist_id}","starred_url":"https://api.github.com/users/Ismael-VC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ismael-VC/subscriptions","organizations_url":"https://api.github.com/users/Ismael-VC/orgs","repos_url":"https://api.github.com/users/Ismael-VC/repos","events_url":"https://api.github.com/users/Ismael-VC/events{/privacy}","received_events_url":"https://api.github.com/users/Ismael-VC/received_events","type":"User","site_admin":false},"body":"Ref: https://github.com/JuliaLang/julia/issues/11966\r\n\r\nDocument unicode identifiers.\r\n\r\n[av skip]","created_at":"2015-07-03T04:08:48Z","updated_at":"2015-07-03T15:35:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2537bbf5ae5c698187c132d13ad59473263f4205","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaLang/julia/pulls/11998/commits","review_comments_url":"https://api.github.com/repos/JuliaLang/julia/pulls/11998/comments","review_comment_url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/11998/comments","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/86b53ca3a69587d386859915fb072b309302159c","head":{"label":"Ismael-VC:patch-1","ref":"patch-1","sha":"86b53ca3a69587d386859915fb072b309302159c","user":{"login":"Ismael-VC","id":4594825,"avatar_url":"https://avatars.githubusercontent.com/u/4594825?v=3","gravatar_id":"","url":"https://api.github.com/users/Ismael-VC","html_url":"https://github.com/Ismael-VC","followers_url":"https://api.github.com/users/Ismael-VC/followers","following_url":"https://api.github.com/users/Ismael-VC/following{/other_user}","gists_url":"https://api.github.com/users/Ismael-VC/gists{/gist_id}","starred_url":"https://api.github.com/users/Ismael-VC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ismael-VC/subscriptions","organizations_url":"https://api.github.com/users/Ismael-VC/orgs","repos_url":"https://api.github.com/users/Ismael-VC/repos","events_url":"https://api.github.com/users/Ismael-VC/events{/privacy}","received_events_url":"https://api.github.com/users/Ismael-VC/received_events","type":"User","site_admin":false},"repo":{"id":37764250,"name":"julia","full_name":"Ismael-VC/julia","owner":{"login":"Ismael-VC","id":4594825,"avatar_url":"https://avatars.githubusercontent.com/u/4594825?v=3","gravatar_id":"","url":"https://api.github.com/users/Ismael-VC","html_url":"https://github.com/Ismael-VC","followers_url":"https://api.github.com/users/Ismael-VC/followers","following_url":"https://api.github.com/users/Ismael-VC/following{/other_user}","gists_url":"https://api.github.com/users/Ismael-VC/gists{/gist_id}","starred_url":"https://api.github.com/users/Ismael-VC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ismael-VC/subscriptions","organizations_url":"https://api.github.com/users/Ismael-VC/orgs","repos_url":"https://api.github.com/users/Ismael-VC/repos","events_url":"https://api.github.com/users/Ismael-VC/events{/privacy}","received_events_url":"https://api.github.com/users/Ismael-VC/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ismael-VC/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":true,"url":"https://api.github.com/repos/Ismael-VC/julia","forks_url":"https://api.github.com/repos/Ismael-VC/julia/forks","keys_url":"https://api.github.com/repos/Ismael-VC/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ismael-VC/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ismael-VC/julia/teams","hooks_url":"https://api.github.com/repos/Ismael-VC/julia/hooks","issue_events_url":"https://api.github.com/repos/Ismael-VC/julia/issues/events{/number}","events_url":"https://api.github.com/repos/Ismael-VC/julia/events","assignees_url":"https://api.github.com/repos/Ismael-VC/julia/assignees{/user}","branches_url":"https://api.github.com/repos/Ismael-VC/julia/branches{/branch}","tags_url":"https://api.github.com/repos/Ismael-VC/julia/tags","blobs_url":"https://api.github.com/repos/Ismael-VC/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ismael-VC/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ismael-VC/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ismael-VC/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ismael-VC/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/Ismael-VC/julia/languages","stargazers_url":"https://api.github.com/repos/Ismael-VC/julia/stargazers","contributors_url":"https://api.github.com/repos/Ismael-VC/julia/contributors","subscribers_url":"https://api.github.com/repos/Ismael-VC/julia/subscribers","subscription_url":"https://api.github.com/repos/Ismael-VC/julia/subscription","commits_url":"https://api.github.com/repos/Ismael-VC/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ismael-VC/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ismael-VC/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ismael-VC/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ismael-VC/julia/contents/{+path}","compare_url":"https://api.github.com/repos/Ismael-VC/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ismael-VC/julia/merges","archive_url":"https://api.github.com/repos/Ismael-VC/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ismael-VC/julia/downloads","issues_url":"https://api.github.com/repos/Ismael-VC/julia/issues{/number}","pulls_url":"https://api.github.com/repos/Ismael-VC/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/Ismael-VC/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/Ismael-VC/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ismael-VC/julia/labels{/name}","releases_url":"https://api.github.com/repos/Ismael-VC/julia/releases{/id}","created_at":"2015-06-20T09:09:22Z","updated_at":"2015-06-20T09:09:27Z","pushed_at":"2015-07-03T07:33:15Z","git_url":"git://github.com/Ismael-VC/julia.git","ssh_url":"git@github.com:Ismael-VC/julia.git","clone_url":"https://github.com/Ismael-VC/julia.git","svn_url":"https://github.com/Ismael-VC/julia","homepage":"http://julialang.org/","size":77398,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JuliaLang:master","ref":"master","sha":"2cbb72a0a813c367fd8b03d8d10273d0a429f015","user":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"repo":{"id":1644196,"name":"julia","full_name":"JuliaLang/julia","owner":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaLang/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":false,"url":"https://api.github.com/repos/JuliaLang/julia","forks_url":"https://api.github.com/repos/JuliaLang/julia/forks","keys_url":"https://api.github.com/repos/JuliaLang/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaLang/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaLang/julia/teams","hooks_url":"https://api.github.com/repos/JuliaLang/julia/hooks","issue_events_url":"https://api.github.com/repos/JuliaLang/julia/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaLang/julia/events","assignees_url":"https://api.github.com/repos/JuliaLang/julia/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaLang/julia/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaLang/julia/tags","blobs_url":"https://api.github.com/repos/JuliaLang/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaLang/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaLang/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaLang/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaLang/julia/languages","stargazers_url":"https://api.github.com/repos/JuliaLang/julia/stargazers","contributors_url":"https://api.github.com/repos/JuliaLang/julia/contributors","subscribers_url":"https://api.github.com/repos/JuliaLang/julia/subscribers","subscription_url":"https://api.github.com/repos/JuliaLang/julia/subscription","commits_url":"https://api.github.com/repos/JuliaLang/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaLang/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaLang/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaLang/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaLang/julia/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaLang/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaLang/julia/merges","archive_url":"https://api.github.com/repos/JuliaLang/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaLang/julia/downloads","issues_url":"https://api.github.com/repos/JuliaLang/julia/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaLang/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaLang/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaLang/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaLang/julia/labels{/name}","releases_url":"https://api.github.com/repos/JuliaLang/julia/releases{/id}","created_at":"2011-04-21T07:01:50Z","updated_at":"2015-07-02T12:52:03Z","pushed_at":"2015-07-03T15:30:47Z","git_url":"git://github.com/JuliaLang/julia.git","ssh_url":"git@github.com:JuliaLang/julia.git","clone_url":"https://github.com/JuliaLang/julia.git","svn_url":"https://github.com/JuliaLang/julia","homepage":"http://julialang.org/","size":201759,"stargazers_count":5738,"watchers_count":5738,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1221,"mirror_url":null,"open_issues_count":1332,"forks":1221,"open_issues":1332,"watchers":5738,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/11998"},"html":{"href":"https://github.com/JuliaLang/julia/pull/11998"},"issue":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/11998"},"comments":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/11998/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/11998/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/11998/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaLang/julia/statuses/86b53ca3a69587d386859915fb072b309302159c"}}}}