Hirdetés
- Luck Dragon: Asszociációs játék. :)
- ubyegon2: Airfryer XL XXL forrólevegős sütő gyakorlati tanácsok, ötletek, receptek
- GoodSpeed: Munkaügyi helyzet Hajdú-Biharban: észak és dél
- eldiablo: 30 év után szakítottunk, de azért még beszélünk...
- Magga: PLEX: multimédia az egész lakásban
- hcl: Amúgy mi a terv?
- sziku69: Szólánc.
- D1Rect: Nagy "hülyétkapokazapróktól" topik
- sziku69: Fűzzük össze a szavakat :)
- GoodSpeed: Philips AWP9820 (vízlágyító) Calgon helyett?
-
LOGOUT
JavaScript != Java (A JavaScript nem összekeverendő a Javával, két különböző programozási nyelvről van szó!)
Új hozzászólás Aktív témák
-
Jim-Y
veterán
válasz
Sk8erPeter
#5127
üzenetére
BRENDAN: ... But long story short, there was an idea in JavaScript that I was pursuing, and maybe a few others saw it, too, of a language that wasn’t C-like. It was easy to use. It was meant for people who were building things inductively. They were learning programming for the first time. And they didn’t necessarily have to know where semicolons had to go, or even curly braces. I lost the curly brace front. On the semicolon front I said, “It’s ridiculous to reject a program because of a missing semicolon. We should do some kind of error correction procedure.” So, I made one up on the spot and that became automatic semicolon push.
[Laughter]
CHUCK: I kind of hacked this in and it stayed.
BRENDAN: Yup.
AARON: That’s awesome.
JOE: And 15 years later, people are still fighting over it.
JAMISON: That’s every programmer’s nightmare, right?
CHUCK: It’s so true.
JAMISON: Just the hack [inaudible] that you made.
AJ: I felt a sudden tremor in the force as if a thousand semicolons suddenly screwed up everything.
[Laughter]
BRENDAN: Yeah, there are definitely some issues there. But in fact, I remember Jamie Zawinski was writing some JavaScript and he had a long return expression so he put it on the next line with no semicolon after the return. And he was outraged that ASI would insert a semicolon after the return making the ‘return’ return the undefined value and the next line becomes dead code, a useless expression. It’s unreachable in the control flow of that function. He was totally outraged. [Laughs] But I said, “It’s too late. I can’t change it.” Once you ship things on the web, it’s very hard to change it.
Új hozzászólás Aktív témák
Hirdetés
- DDR4 Szerver RAM felvásárlás - napi árak, elsősorban nagy mennyiségben
- Thinkpad P1 Gen2 15.6" FHD IPS i7-9750H T1000 16GB 512GB NVMe ujjlolv IR kam új akku gar
- Surface Pro 7 12" 2K IPS érintő i5-1035G4 8GB 256GB NVMe IR kam 790 g gar
- ZBook Fury 16 G9 27% 16" FHD+ IPS érintő i7-12850HX RTX A4500 32GB 1TB NVMe ujjolv IR kam gar
- Dell Precision 7770 17.3" FHD IPS i9-12950HX RTX A3000 32GB 512GB NVMe gar
- Új, Aktiválatlan iPhone 16 (128 GB) (rendelhető)
- Apple iPhone 12 64GB,Újszerű,Dobozaval,12 hónap garanciával
- BESZÁMÍTÁS! ASROCK H510M i5 11400F 16GB DDR4 512GB SSD RTX 3060 12GB Rampage SHIVA ADATA 650W
- Dell Latitude 5320 - hibás kijelzők - i5 1135G7 ,16GB RAM, SSD, jó akku, számla
- Magyar Logitech G915 Billentyűzet lehet +33.000.- Ft ból
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: Laptopszaki Kft.
Város: Budapest

