Bjarne Stroustrup: How to Code Like Bjarne Stroustrup | Big Think
HTML-код
- Опубликовано: 9 июн 2011
- Bjarne Stroustrup: How to Code Like Bjarne Stroustrup
New videos DAILY: bigth.ink/youtube
Join Big Think Edge for exclusive videos: bigth.ink/Edge
----------------------------------------------------------------------------------
Stroustrup shares some secrets about his work habits.
----------------------------------------------------------------------------------
BJARNE STROUSTRUP:
Bjarne Stroustrup is a computer programmer most famous for having designed and implemented the computer programming language C++, one of the most widely used programming languages in the world. His book "The C++ Programming Language" is the most widely read book of its kind and has been translated into at least 19 languages. In addition to his five books, Stroustrup has published hundreds of academic and popular papers. He currently holds the College of Engineering Chair in Computer Science at Texas A&M University.
----------------------------------------------------------------------------------
TRANSCRIPT:
Question: What is your work setup like?
Bjarne Stroustrup: I travel with a little laptop, the smallest real computer I can get. So the 12-and-something screen and... but a decent processor speed. And where I am, I plug it into a dock and I use two screens and such and then I network to any other resources I want. If at all possible, I would like to make that machine smaller, but... or at least lighter. Larger and lighter would be nice, but I don’t get it and too light if you’re stuck in a sardine-class seat on a plane, you still should be able to open up and write. And you can’t do that with one of those bodybuilder’s editions. So a smaller machine, convenient machine that you can carry with you and plug it into a bigger system network to more resources.
My laptop is a Windows. People always ask that. And they can’t understand why it’s not my Linux. Well, my Linux happens to sit on my desk and it talks to a traditional Unix through it. So I use both on a daily basis. It just happened that it’s easier to carry the Windows books around.
Question: Do you prefer to work at night or during the day?
Bjarne Stroustrup: Real thinking, real work goes on fairly early in the day. And then in the evening, no, not really sort of thought work, not creative work. I can polish stuff. I’m not a night bird like that. I like to think when I’m fresh.
Question: Do you listen to music while writing code?
Bjarne Stroustrup: Quite often, yes. I have a mixture of stuff on the computer; I just plug in the earphones and listen. And there’s a mixture, there’s classical, there’s a bit of rock, there’s a bit of country. It’s quite surprising what I can actually work with and what I can’t because it really does affect it. There’s music that sort of takes over and you think about the music, rather than the code. That’s no good. And then there’s music that you don’t hear... that doesn’t help either. And well, so well I found something that works, probably just for me, but I like some music.
Recorded August 12, 2010
Interviewed by Max Miller
----------------------------------------------------------------------------------
ABOUT BIG THINK:
Smarter Faster™
Big Think is the leading source of expert-driven, actionable, educational content -- with thousands of videos, featuring experts ranging from Bill Clinton to Bill Nye, we help you get smarter, faster. Subscribe to learn from top minds like these daily. Get actionable lessons from the world’s greatest thinkers & doers. Our experts are either disrupting or leading their respective fields. We aim to help you explore the big ideas and core skills that define knowledge in the 21st century, so you can apply them to the questions and challenges in your own life.
Other Frequent contributors include Michio Kaku & Neil DeGrasse Tyson.
Michio Kaku Playlist: bigth.ink/kaku
Bill Nye Playlist: bigth.ink/BillNye
Neil DeGrasse Tyson Playlist: bigth.ink/deGrasseTyson
Read more at Bigthink.com for a multitude of articles just as informative and satisfying as our videos. New articles posted daily on a range of intellectual topics.
Join Big Think Edge, to gain access to a world-class learning platform focused on building the soft skills essential to 21st century success. It features insight from many of the most celebrated and intelligent individuals in the world today. Topics on the platform are focused on: emotional intelligence, digital fluency, health and wellness, critical thinking, creativity, communication, career development, lifelong learning, management, problem solving & self-motivation.
BIG THINK EDGE: bigth.ink/Edge
If you're interested in licensing this or any other Big Think clip for commercial or private use, contact our licensing partner, Executive Interviews: bigth.ink/licensing Наука
Want to get Smarter, Faster?
Subscribe for DAILY videos: bigth.ink/GetSmarter
Watched a bunch of interviews with this guy.
Never seen a hint of him being anything other than 100% humble.
Pretty amazing, considering his contribution.
According to the other comments, his hair is the only thing that matters.
Sad, but true.
That said, can't help feeling Bjarne probably doesn't give a s**t. He knows how much he's contributed.
HE IS THE REASON ANY COMPUTER GAME OTHER THAN MINECRAFT EXISTS
Except...OpenGL is C non OO and C++ was merely built upon it olol
syntaxed2 Games aren't built in openGL. Graphics are... I would guess that nearly 99.9% of all games written after 1998 are built in C++ or a language derived from it such as Java or C#.
He is a living legend.
Abi elimde imzalı " Programming, Principles and Practice Using C++ " adlı kitabı var desem bizim evi soymazsın değil mi ))
Yok soymam Evin adresi neydi :))
:))
Yes Dennis Ritchie died.
I love his voice. And he is such a classic style geek haha, idol
Haircut++
lmao
I wan't it too!! Seriously.
hair--
elzilcho222 💀
Because c++ is scary, like his haircut
Warning: He says *nothing* in this video about how he codes!
Well he said he uses a Windows machine to work on while travelling and has a Linux machine on his desk, and that he uses two monitors on his desk, and that he sometimes listens to music while coding, so we've learned some things. They might not be things about the code specifically but they are things about the environment and tools he uses when coding.
@championchap nope, those are the most important and the only ones to be mentioned. What should he say? how he name his variables? how he boot up his pc?
what do you want to know?
@@rufodeer5421 Like talk about modern C++, are u sayin that i'll be as good than him just using linux and listening to lofi hip-hop?
@@dc8890 sometimes coding is about when u are blank moment and then bouncing ur ankle up and down with music and u just lets try this, hmm try this, hmmm try this ........ i need a break;
how peaceful and calm watching this interview of this legend, we are lucky to have his videos in HD and sometime seeing him live. Not like days where it was not possible to record interviews that clear 40-60 years ago
The human incarnation of computer science.
First
I'd like to give that to Dennis Ritchie.
2:08 " a bit of rock..."
*listens to extreme pigscreamo death metal*
Try coding while listening to Slipknot. It makes your code come out quite angry. You'll start noticing that your function names have some attitude.
hahaha
***** You're a bad person. :P
***** Yeah, I know what you mean, it's much harder. I guess it depends on how casually you are coding, so to speak.
I used to have south park on a different monitor while coding, and that was quite a distraction...
He's not 15.
nu-males detected
C++->Stroupstrup = Danish
C#->Hejlsberg = Danish
Rails->Hansson = Danish
Conspiracy?
PHP->Lerdorf = Danish
All languages no one uses
@Alexis Leclerc So which language is relevant to you?
@@comicsans1689 c java python
Code fast, crash young and leave a beautiful runtime error.
Did He say bodybuilder edition? hahaha
Ha ha
tushar potdar You know, I could never image Mr.Stroustrup as someone into Body Building, I'm surprised an anxious to see his 6 pack.
***** Gotta work those triceps opening and closing your laptop.
Jay Bartgis LOL
***** you get that he was refering to big laptops / dekstops which you cannot carry around with you?
body builder edition LOL
This guy n his visualization is just awesome !!
actually i take that back, just the fact that he's talking about using his laptop as a dock and accessing all of the powerhouse rigs around him is pretty awesome. it would be cool to have one big machine in the house that anyone could virtually access
I find that listening to EDM music like Deadmau5 to be less distracting while coding. No lyrics to detract my focus.
Or some better electronic music...
Try Worakls, Nto, Christian Loffler
@@cameronm256 Indeed, there's so much electronic music from the 90s to 00s that is so good. People should seek more, find better quality than Deadmau5.
Most non pretentious computer science genius when he talks about using Windows.
Whats wrong with not wanting to use windows ? It is just a tool. I can program just fine on a raspberry pi or a chromebook as long as I have a text editor and it can execute my code.
Legends never pretend they know it
@@danbo967 I think that's the thing. There is nothing wrong with not wanting to use windows, just as much as there is nothing wrong with using it. Like you said, it's just a tool. We all prefer different ones.
For real scientist, the OS in their computers is just a medium that should never get in their way. Having bias towards one specific OS is just for inexperienced fanboys and technology enthusiasts who have contributed nothing serious to the humanity. Ask university researchers and professors about their OS, and most of them wonder why you are asking them such an unimportant question!
@@hmdz150 some specialist tools only work in certain operating systems. I used to work in a lab where we used a qt app that would run on linux, in the physics lab nextdoor, they used software that only runs on windows.
But yeah, a real pro should feel comfortable in either depending on the needs
This was really valuable. ❤️❤️❤️
Sometimes it's funny, sometimes it's just sad. I'm a programming major, and I'm surprised at how many of my classmates fail at the math part of it. I've always loved math, at least algebraic math, and that gives me a big advantage programming.
I really like this guy
When I hear Bjarne Stroustrup spoke, I always want to thanks Anders Hejlsberg and Guido Van Rossum
you cant do that with one of thoes body builder editions XD
He is A VERY ANALYTICAL PERSON
you could tell by the way he speaks and the time he Code,he seems not to depend on Intuition
If only I could be as brilliant as Bjarne Stroustrup.
The word you are looking for is hardworking
Only one answer to this : work! And passion.
@@hangoutwidfrnz The word you are looking for is shut the fuck up.
@@ccgb92 Salty person? Where?
His voice is like a warm blanket.
Funny you should say that. I use his videos to help me fall asleep. I am also learning C++.
i like to think when im fresh( meaning working early in morning) which is a great & healthy habbit
I wish he made a playlist on Spotify.
This guy is the real deal. No bull, gets things done.
I highly recommend Cult of Luna for writing code. Not everyone's cup of tea I'm sure, but I find it a really good balance for creativity.
Had to check when this was uploaded because he looks straight outta the 80's
Analize that hairstyle, fascinating
def a hero
I listen to The Chariot while coding. I do not know why, but it helps me out.
I like the name of the video and the question that was asked to Bjarne))
i do ladder logic quite frequently but this stuff is just over my head guess ill stick with plc's
It's amazing how alike all of us programmers are!
Well I too listen to music while coding... Sometimes it does distract but you can always put off your earphones... Most of the times it just helps...
Listening to music, having something to eat or drink and coding... What a life! :D
I have a external USB hard drive which has Xubuntu on it. I use Linux for OS Development and Windows for game development.
Polymorphism is a easy access of class structures and manipulation. Even functional switch.
He deserve Noble Prize
I laughed out loud! hahaha
I recommend listening to music that doesn't have lyrics and maybe a little ambient. Good programming music keeps your mind off the background, is inspiring, and doesn't have lyrics that would keep your brain from hearing its own thoughts.
I used to hate C++ and my Deitel and Deitel textbooks. Now I love it.
Thanks :D
his sibilant "s" shredded my mind
I like to code with death metal.
Melodeath in my case, more emotional and epic specially when your complex algorithm works and you raise the volume 😎
One important thing he mentioned is that creative work goes on in the morning. I've noticed that with myself. If I force myself to get up early and start working, I accomplish a lot. If I make it a late day, I rarely get done much. By the way, I'm glad that I learned C++ early on, before any other language. It allowed me to understand some important concepts when I moved onto Java and C#. I also took a class in x86, but it's hard to learn much in that domain in one college semester.
genius!!!
int bjarne = awesome
return o;
:D
I like his computer setup.. small..light..compact.
Anyone here know or from experience dealt in programming on a Raspberry PI?
programming ON one, or FOR one? I had the model B and I would not want to do any kind of work using it at all. If you open emacs or something and want to code like that, it's probably fine, but if you're like me and want to have a million browser tabs open, forget it. And the build times will take *forever*. If I had to do serious work, I would pick the cheapest laptop at Walmart over the pi. If you're just writing some kind of simple program for use on the pi, it would probably be OK, but if you are talking about using a pi as a portable, cheap, replacement for a development workstation, I can't recommend it. I also tried using my pi as a thin client to RDP onto a powerful windows machine, and I got it to *work*, but my experience was that working like that is not productive at all, everything was miserably laggy, even on wired LAN. It's meant to be cheap and compact, not replace a desktop.
Parker Sikand
Thank you very much for that informative reply. Much appreciated!
They make an OK thin client (VNCviewer).
Bodybuilder edition!! haha
IDOL!
THERES A BIT OF SLAYYYYEEEER
Body builder edition Laptop. looooooool
I have one of those. My shoulders hurt at the end of each day of carrying it around!
"body builders editions"😁😁
If anyone wants a tip, I code while listening to ambient game/movie soundtracks, it really increases my productivity.
I listen to classic, jazz, rock and a little game soundtracks. Really liked the new Battlefield 5 soundtracks (+1 for Under no flag)
I use a dell inspiron duo. coding on a tablet makes me feel mega smart even when i was doing hello world :)
Tnx)
1:48 word!
"Bodybuilders Edition" :D
This guy post incremented a variable named C and won the world...
#include
using namespace std;
int main(){
cout
#include
int main() {
printf("He is sure awesome, he used me to create a upgraded version of me!");
return 0;
}
public class Awesome {
public static void main(String[] args) {
System.out.println("I think i'm better than you both when it comes to job demand.");
}
}
L Nguyen print "Python will fu*k all of you."
L Nguyen
#include
using namespace std;
int main()
{
cout
L Nguyen
import javax.swing.JOptionPane;
public class Cplus{
public static void main[string[] args)
showDialogBox ("I think C++ is cooler thank java");
}
}
ikus2011
#!/bin/bash
echo "C++ is cooler than Bash"
We can thanks to this man almost everything... Battlefield 3, Battlefield 4, COD:BO2 etc. xDD But it's true :D
COD games are based on C, not C++. :)
I guess this is true in this reality / timeline, but if not for him then someone else would have come up with a similar language
i highly doubt it, maybe some parts of it, but no sane being would write something like that in C.
if i had to take a bet i would go with C++.
You gotta be crazy to write games.
QED.
good point :) but that goes for almost anything
If you guys want some cool music to code/program to, check out "Com Truise". Great stuff! Very reminiscent of the days of mainframe technology.
It depends on the way you program and the programming language you use (in these cases). I don't believe Bjarne is a person who is a heavy unix/gnu command line operator. He seems more like a program-and-go type, especially with him being the creator of C++. Windows on laptops is also easier to handle while linux on a desktop is much more powerful. There are plenty of factors to rule in on why someone would choose a certain OS. I believe he likes Ease of Access (windows 90%, linux 10%)
@KedViper
Scandinavian countries are general in the top 5 of the "Most happy countries"
So I guess so :)
Real programmers program with a magnetized needle and a very steady hand.
Bjarne and Larry are two very different programmers!
the pathfinding reference was just an example for math usage by the way can you give me some example for programming that doesn't use math, apart the Hello world?
thanks
"plug it into a bigger system network to more resources" - what did he mean by that? Where does his windows laptop connect to for more resources?
+HiperHiv probably meant SSHing into a linux computer/server/environment
OMG! Hilarious.. Nice
I think he's provided with a free version, also, when you buy a computer you get a discounted version of windows, so if you consider that battery drainage, better graphics, faster data transfer and blah blah it worth the extra money to have a good user experience... and I'm not arguing about why linux is good or bad just saying why he uses windows!
master of the c++ master
Dell XPS 15 or LG gram is boon for people who like bigger but lighter albeit expensive
if I listen music I can only think in the next part of the music
From Aarhus, Denmark :D
If i listen to music while I'm programming it has to be a long play list because I won't notice if it stops haha
2:10 and bit of MACHINEFUCKINGHEAD!!!! HELL YEAH!!!
My Hero!
Simula + C = C++
He said himself its easier. Yeah overwriting the windows installation with a linux one is easy, but its easiest to just leave it as you buy it.
ah, a fellow codeblocks user I see lol
Lol!! body builders edition,. I never thought of that.
Three comments in a row saying the exact same thing. Why bother?
Ryan Hackett Why not?,. It's my expression. And theirs are not mine.,.. Are you alright pal?,.
It's called a server. You should give it a try, especially given your name :-).
oh thank god i have nearly zero math skills I thought I was doomed
he should create a big company like microsoft or bigger as he is the one who make everything else in computer possible like os , games , programs !!
@01:10, he says, "Well, my Linux happens to sit on my desk, and I talk to our traditional Unix through it" What does he mean by "Traditional Unix"???? Could someone explain that, What is Traditional Unix????
I'd say Windows is better in his case. He uses a small system for mobility, he mentions a plane for a reason. Mobility also means running long with no power plug. Windows allows closed drivers that allow greater powersaving for any and all parts in the laptop.
basic is an understatement for printing hello world....
dat hair doe
"one of those bodybuilder editions"
lmao old thinkpads be like
Strong Click bait Vibes from the caption and then watching the content.
Mines a phone running c++, eat that master stroustrup.
Just like any other coder, in fact. :)
Give this man a 13 inch M3 mac air. That's exactly what he wanted 13 years back
“Body builder editions” hahaha
Bodybuilders Edition. 😂😂😂
i wonder if he knows how to print hello world.
lol yeah, I'm an engineer and whenever a math involving problem pops up the computer scientists will try and avoid it or try to google for a solution lol.