Functions, Methods, Structs, and Style Guides | Talk Julia #5

  Рет қаралды 4,510

Talk Julia

Talk Julia

Күн бұрын

Пікірлер: 9
@eliascarvalho8637
@eliascarvalho8637 3 жыл бұрын
These are some naming conventions that are in the Variables section of the documentation: - Names of variables are in lower case. - Word separation can be indicated by underscores ('_'), but use of underscores is discouraged unless the name would be hard to read otherwise. - Names of Types and Modules begin with a capital letter and word separation is shown with upper camel case instead of underscores. - Names of functions and macros are in lower case, without underscores. - Functions that write to their arguments have names that end in !. These are sometimes called "mutating" or "in-place" functions because they are intended to produce changes in their arguments after the function is called, not just return a value.
@hugosantaremdearaujo1170
@hugosantaremdearaujo1170 3 жыл бұрын
Another great one!
@TalkJulia
@TalkJulia 3 жыл бұрын
Thanks!
@PaulA-kr1nl
@PaulA-kr1nl 2 жыл бұрын
It’s “functional” to skip return from functions as functions need to return values. Nonfunctional style programmers find it odd but then they expect functions to not return values as well. Those are considered side effects that are discouraged in functional style. From that perspective, “return” is superfluous except in conditional construct. Returning values also allow for chaining or piping, which is the reason why Julia packages work very well together.
@darcynog
@darcynog 3 жыл бұрын
Is there a book under 400 pages from which an experienced programmer can learn the language? Preferably covering up to the most recent versions. Thanks.
@TalkJulia
@TalkJulia 3 жыл бұрын
Honestly, the best resource I (David) have found is this Google Colab notebook written for Python programmers coming to Julia colab.research.google.com/github/ageron/julia_notebooks/blob/master/Julia_for_Pythonistas.ipynb#scrollTo=tQ1r1bbb0yBv If you have Python experience, that might help you out.
@beanloaded
@beanloaded 3 жыл бұрын
Dark screen is difficult to read. Maybe the font is too small.
@TalkJulia
@TalkJulia 3 жыл бұрын
Thanks, we appreciate the feedback. We’ll make sure we the font is much larger in the future.
@DrRandyDavila
@DrRandyDavila 3 жыл бұрын
That's completely my fault! Next time I'll be sure to fix this.
Exploring Graphs.jl and JuMP.jl in Julia | Talk Julia #6
27:12
Talk Julia
Рет қаралды 1,8 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 216 М.
JuliaCon 2020 | Dispatching Design Patterns | Aaron Christianson
27:35
The Julia Programming Language
Рет қаралды 10 М.
A Brief Introduction to Julia
26:13
Exercism
Рет қаралды 25 М.
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 344 М.
Are These The Best Julia Packages? | Talk Julia #7
32:31
Talk Julia
Рет қаралды 1,6 М.
LinearSolve.jl: Because A\b is Not Good Enough | Chris Rackauckas | JuliaCon 2022
13:47
The Julia Programming Language
Рет қаралды 10 М.
Intro to Julia Programming Language with Detroit Tech Watch
1:15:52
Altimetrik Collider
Рет қаралды 11 М.
The Julia REPL is AMAZING (with Miguel Raz) | Talk Julia #15
48:00
Learning Flux.jl from a Tensorflow Background | Talk Julia #9
36:22
5 deadly Rust anti-patterns to avoid
13:25
Let's Get Rusty
Рет қаралды 40 М.