A Quote by Andrew Ng

It seemed really amazing that you could write a few lines of code and have it learn to do interesting things. — © Andrew Ng
It seemed really amazing that you could write a few lines of code and have it learn to do interesting things.
When you learn to read and write, it opens up opportunities for you to learn so many other things. When you learn to read, you can then read to learn. And it's the same thing with coding. If you learn to code, you can code to learn. Now some of the things you can learn are sort of obvious. You learn more about how computers work.
I write a lot, and very often I write a couple of lines that are particularly revealing in some kind of way. And then as a few more lines get added and a piece gets added, eventually the song pretty much takes over and you can't really find a way to change those things.
Perhaps we could write code to optimize code, then run that code through the code optimizer?
Very few pilots even know how to read Morse code anymore. But if a pilot could read Morse code, he could tell which beacon he was approaching by the code that was flashing from it.
In this respect a program is like a poem: you cannot write a poem without writing it. Yet people talk about programming as if it were a production process and measure "programmer productivity" in terms of "number of lines of code produced". In so doing they book that number on the wrong side of the ledger: we should always refer to "the number of lines of code spent".
When you actually sit down to write some code, you learn things that you didn't get from thinking about them in modeling terms...there is a feedback process there that you can only really get at from executing some things and seeing what works
There are a couple of people in the world who can really program in C or FØRTRAN. They write more code in less time than it takes for other programmers. Most programmers aren't that good. The problem is that those few programmers who crank out code aren't interested in maintaining it.
I've had a very interesting career. I get to do amazing things and work with amazing people and travel and learn languages - things most people don't get the opportunity to do.
I grew up under Communism so we could only learn Russian, and then when Communism fell in 1989 we could learn a few more things and have the freedom to travel and the freedom of speech - and the freedom of dreaming, really.
I don't write as much now as I used to, but I write. The lines still come, maybe periodically, and I'll go through these little bursts of time where I write a lot of things then a long period of time where maybe I don't write anything. Or these lines will come into my head and I'll write 'em down in a little book, just little sets of lines, but I won't try to make stories or poems out of them. I'm doing a lot of that now, just the lines.
Type a few lines of code, you create an organism.
If there is something that strikes me as interesting or beautiful or something I could learn from, and I don't write it down, then I could be at lunch with you, and it's like there's a pile of laundry in my brain that I haven't put away, and I struggle to really listen, so that's always been important to me.
I'd hear a tune in my head and the words would come. And then, very suddenly it just stopped. It seemed too stilted to try and learn how to write a song, to go to round robins and to learn things from other people on how to write a song. So I just stopped and did other things.
We flew down weekly to meet with IBM, but they thought the way to measure software was the amount of code we wrote, when really the better the software, the fewer lines of code.
If we wish to count lines of code, we should not regard them as "lines produced" but as "lines spent."
If we're trying to build a world-class News Feed and a world-class messaging product and a world-class search product and a world-class ad system, and invent virtual reality and build drones, I can't write every line of code. I can't write any lines of code.
This site uses cookies to ensure you get the best experience. More info...
Got it!