Jonathan Blow on Function Naming

  Рет қаралды 10,584

Jonathan Blow Clips

Jonathan Blow Clips

Күн бұрын

Support me on Ko-fi: ko-fi.com/jona...
Jonathan Blow on Function Naming
Clip from Jonathan Blow
Twitch: / j_blow
KZbin: / @jblow888
#jonathanblow #gamedev #webdevelopment #programming #jai

Пікірлер: 11
@theeblekbern
@theeblekbern 3 ай бұрын
This might be the first video where Jon doesn't have a strong opinion about stuff xd
@StepanTrvaj
@StepanTrvaj 3 ай бұрын
He mostly doesn't but the things that get clipped and receive attention are usually at least a bit controversial.
@gruntaxeman3740
@gruntaxeman3740 3 ай бұрын
In my opinion, namespacing is the reason why someone want to write C++, instead of C. C doesn't need namespacing when every task is own process. But when ~everything is put to same process to avoid context switching, that is where namespacing is important. And naming of functions, or everything... is extremely important. I just name things as "foobar" or something until I really what name should be and not forgot to check those. PHP function naming is warning example what happens if developer is not careful.
@thebatchicle3429
@thebatchicle3429 Ай бұрын
Prefixing solves basically all of C’s issues with namespacing tho
@gruntaxeman3740
@gruntaxeman3740 Ай бұрын
@@thebatchicle3429 Nope, because there is 31 character limitation on identifier naming. Prefixing cause developers to prefer those 6 character function names and single letter variables on C and code is just not as readable than modern languages. C works indeed fine on enough small programs where it was designed to. Intention was that stuff is stdin -> stdout building blocks connected with higher level languages but that model is mostly outdated on high performance software.
@protolactor
@protolactor 19 күн бұрын
@@gruntaxeman3740 What a made-up problem. If you need even 10 characters for a namespace prefix, and the name limit is 31 characters, then you have 21 characters left for a name. That is way more than 6 characters, and is more than enough. If you want more, write a comment.
@gruntaxeman3740
@gruntaxeman3740 19 күн бұрын
Often that is not enough and suggesting writing comment is that you admit that it is not enough.
@protolactor
@protolactor 19 күн бұрын
@@gruntaxeman3740 I do not admit that it is not enough, or "often not enough" as you put it. It is only a suggestion to you, who thinks that a 31 character long function name is not enough.
@magnuswootton6181
@magnuswootton6181 5 күн бұрын
Is John ever going to do ai? that would be fun.
Jonathan Blow Explains Geometric Algebra
9:31
Jonathan Blow Clips
Рет қаралды 18 М.
Jonathan Blow on work-life balance and working hard
19:18
Blow Fan
Рет қаралды 108 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
The 3 Laws of Writing Readable Code
5:28
Kantan Coding
Рет қаралды 824 М.
What is a Programming Language
4:25
Malloc
Рет қаралды 37 М.
Jonathan Blow on Modern Graphics Programming
10:50
Jonathan Blow Clips
Рет қаралды 74 М.
The most important talk on programming by Jonathan Blow
22:55
Not Sure
Рет қаралды 222 М.
How To Write Better Functions In Python
14:17
Indently
Рет қаралды 57 М.
Thoughts on Kanban, Scrum, etc - Jonathan Blow
3:34
gamedev cuts
Рет қаралды 26 М.
Techniques for dealing with lack of motivation, malaise, depression
1:02:00
Jonathan Blow on how an operating system should work
14:22
Anton Swifton
Рет қаралды 119 М.
Jonathan Blow on Simplicity
16:08
Jonathan Blow Clips
Рет қаралды 68 М.
Jonathan Blow on unit testing and TDD
8:02
Jeru Sanders
Рет қаралды 140 М.