►
Description
Все видео курса https://www.youtube.com/playlist?list=PL9tzQn_TEuFUakOn-IY9cDQL2ztNzZunh
Совместный курс NEAR & 4ire Labs
Подписывайтесь, чтобы получать обновления о новостях NEAR, акциях, запуске проектов, баунти, хакатонов
Русскоязычное сообщество NEAR https://t.me/near_protocol
Твиттер https://twitter.com/near_protocol
Общение с разработчиками https://t.me/openwebdev
Follow the latest from NEAR Protocol on:
Website: https://near.org/
Discord: https://near.chat/
Blog: https://near.org/blog/
Twitter: https://twitter.com/NEARProtocol
GitHub: https://github.com/near https://github.com/nearprotocol
#Blockchain #FutureIsNEAR #NEAR #nearprotocol #rust #wasm #assemblyscript #раст
A
Well,
today
we
will
consider
the
topic
of
communities,
handling
is
one
of
the
important
topics
in
the
work,
and
how
specifically,
when
programming
on
power
and
also
in
principle
in
any
programming
language,,
the
news
will
be
much
nicer,
because
there
are
many
programming
languages
and
let's
take
a
look
at
why
errors
are
always
like.
This
are
an
integral
part
of
the
program,
that
is,
they
always
exist,.
A
A
A
Volume
differences,
okay,
I’ll,
try
it’s
like
at
the
same
distance
how
data
can
leak
during
an
exception,
but
let’s
imagine
you
have
some
kind
of
application.
You
have
some
kind
of
interaction
with
the
database.
This
database
is
closed.
While
you
in
some
place
there
is
no
exception.
Handling,
you
have
an
exception
and
for
example,
let's
say
the
database
gives
an
error
does
not
contain
some
information,.
Let's
say
about
another
user
and
and
luxe
statistics
from
the
database,
well,.
A
Let's
say
it
was
some
kind
of
bank
and
you
received
information
that
here
you
are
a
client
with
such
a
photo.
There
go
all
clients,
that's
how
much
the
total
resource
here
is
the
table.
You
had
this
amount
of
resources,
that
is,
it's
very
bad.
There
is
such
such
data
flow
out.
And,,
accordingly,
attackers
and
various
hackers
will
definitely
use
these
exceptions,.
These
errors,,
then,
in
order
to
gain
access
to
the
system
in
one
way
or
another,,
the
service
is
undesirable.
A
Smart
contracts
are
relatively
acceptable,
let’s
say,,
but
it’s
still
worth
considering,
because,
even
though
there
is
no
data
leakage,,
because
in
fact
you
have
a
contract
and
almost
always
this
is
public
information,
you
don’t
want
to
disclose
this
information
to
third
parties
and,
of
course
what
may
arise.
Perhaps
this
is
the
worst
if
you
don’t
handle
errors,.
This
is
some
kind
of
non-
dowry
behavior,
that
is,
the
language,.
A
What
is
undefined
behavior,?
This
is
unpredictable
behavior,,
that
is,
it
depends
on
the
implementation,
of,
say,,
the
compiler
and
on
the
platform
on
which
this
happens,
exactly
each
platform
can
be
itself
response
to
such
an
error.
Such
errors
are
very
difficult
to
follow,,
so
they
are
the
worst,
well,
for
example,
I
will
give
an
example,
yes,
some
kind
of
error
accessing
someone's
memory
area.
That
does
not
exist
in
which
there
is
no
data.
A
A
Instead
of
getting
an
error
that
it
is
impossible
to
read
the
balance,
you
will
be
with
me
and
then
you
will
say
it
will
take
a
very
long
time
to
add
such
problems,
because
it’s
very
difficult,
it’s
very
difficult
to
track
this
because
you
just
had
somewhere
before
adding
numbers,
and
you
yourself
didn’t
expect
that
a
random
number
could
appear
somewhere
and
at
the
same
time,
the
program
works
like
it
seems
that
it
is
harmful,.
This
is
already
the
best,
even
it's
better
if
the
program
crashes
than
this
kind
of
undefined
behavior.
A
A
Let's
say
you
have
an
empty
information
output,
somewhere,
an
empty
result
and
you
need
to
somehow
respond
to
it,
which
mechanisms
in
other
languages
skip
you
empty,
empty
data,,
this
one
returns.
Basically,
the
same
thing
looks
like
well.
If
it's
about
growth,
sorry
error
handling,
say
a
special
art
to
return,
but
it's
very
cool.
It's
very
convenient,
I.e.
sorry,
error
handling
is
required
at
compile
time.
What
does
it
mean?
It
means
if
you
have
written
some
code
or
you
use
this
library
that
can
return
errors
once
it
will
not.
A
Let
you
compile
the
program
if
you
have
not
taken
into
account
such
a
scenario
that
you
may
experience
this
or
that
error.
If
you
have
not
handled
this
error,
a
very
cool
feature
of
the
language,
because
it
allows
you
to
make
your
applications,
your
bi
libraries
are
all
you
make
so
stable,
reliable,
predictable,
because,
even
if
you
add
some
new
module
to
your
application-
or
you
extend
your
library
somehow-
and
some
of
them
will
come
from
old
models
or
old
or
old
interaction
of
the
old
base.
A
Module
does
not
take
into
account
all
possible
options
for
errors,.
This
will
also
give
you
a
compilation
error,,
which
means
that
you
will
not
be
able
to
do
it
as
a
diploma
by
mistake,.
The
application
is
not
finished,,
which
does
not
take
into
account
all
the
cases
that
may
occur,.
You
will
not
be
able
to
make
such
a
move
for
yes,
just
do
not
compile.
It
also
helps
to
find
errors
earlier,
that
is,
at
early
stages,.
A
Imagine
you
are
writing
some
kind
of
application,,
let's
say
some
kind
of
heart,
and
your
server
processes,
user
requests
and
at
the
same
time,,
depending
on
various
situations,,
depending
on
the
data
that
comes
in,,
it
can
return
different
types
of
errors
and
imagine
that
you
don’t
process
some
type
of
error,
let’s
say,
and
then
you
use
The
clients
start
using
your
server,
and
it's
even
worse.
If
third-party
applications
use
your
server
as
a
dependency
and,
accordingly,,
then
some
error
occurs
and
it
is
not
processed,,
and
this
is
very
bad.
A
Your
program
will
simply
not
compile
if
you
forgot
to
add
something,
and
in
the
end,
it
makes
a
lot
more
modification
of
your
year,
that
is,.
In
this
case
you
add
new
code
from
the
mouth,.
You
know
if
it
even
compensated
you
for
this
by
faith
in
the
new
year,
and
so
on.
This
means
that
errors
that
can
be
returned
by
til-tils
are
not
modules,
modules.
They
have
already
processed
again,.
If
the
code
compiles
forgive,,
there
are
several
types
of
errors,.
These
are
the
sleeves
of
the
error,
ball.
A
errors,,
the
state
of
which
can
be
restored,,
which
means
that
it
means
that
some
kind
of
error
has
occurred.
That
is
not
critical,,
which
means
that
the
state
of
the
program
that
existed
at
the
time
this
error
occurred
can
be
restored
and
can
be
somehow
processed,
let’s
say,
try
to
retry
accessing
the
formation,,
for
example.
A
This
is
an
error
if
it
does
not
find
a
file,
for
example,,
you
want
to
write
some
data
to
a
file,
well,
at
the
same
time,.
You
expect
that
this
file
already
exists
on
the
user's
system,,
but
even
if
this
file
does
not
exist,,
it
would
be
strange
and
prohibiting
the
issue
of
completing
program
execution,
that
is,
receiving
some
x
exceptions
for
the
program
to
crash
in
this
case,.
This
is
an
error
that
can
be
written
down
because
it’s
your
logic
to
create
again,
or
for
example,.
A
What
kind
of
error
that
the
connection
is
interrupted,
after
all,
by
restoring
the
error
on
the
day,,
you
can
try
to
reconnect
to
the
network,,
wait
for
some
specific
timeout
and
the
program
will
continue
execution,
and
this
will
not
affect
the
experience
in
any
way
and
use,
for
example,
some
container,
that
is,,
you
request
from
some
container,,
but
you
check
the
empty
container
in
advance,.
This
is
not
an
error,.
You
can
write
some
logic
before
processing,.
Let's
wait
until
the
container
is
full,
for
example,
you
container
yes,,
you
can
give
a
simple
example,.
A
You
expect
that
the
user
has
loaded
some
image
into
the
library
there,.
If
those
have
some
of
these
images
in
them,
you
don’t
have
them,,
then.
Accordingly,
you
simply
do
nothing
or
with
this
fear
there
are
2
types
of
errors,.
This
is
with
in
other
words,.
These
are
or
those
errors
whose
system
states
can
be
restored.
Before
you
received
this
error
and
which,
with
which
program,
it
eats
nothing,
even
error,
handling,
and
therefore,
here
you
can
give
an
example
of
such
errors,
for
example,.
A
If
you
remember
from
previous
versions,,
we
discussed
not
happening,
which
has
its
own
sleep
in
its
scope
or
suit,.
Those
functions
still
have
their
own
scope,
and
so
on
and
so
on,.
This
is
the
process
of
such
a
recursive.
One
functions
call
others,
it
is
arranged
and
built
from
this
function.
Call
and
what
happens
if
you
call
once
panic
or
whatever
the
fuck
it
calls
macro
p.
Anic
o
occurs
in
a
recursive
order.
A
Recursive,
it
means
starting
from
the
most
recent
function
that
was
called,
I.e.
immediately
stop
the
function
that
caused
the
error,
start
recursively
returning
the
previous
functions
that
called
this
function
and
gradually
free
the
memory
that
was
these
functions
and
after
the
memory
of
the
previous
function
memory.
So
it
goes
up
to
the
very
top
of
the
main
function,
which
started
the
execution
of
your
program,
which
is
the
entrance
to
the
application,
I.e.
pony
macro.
It
prints
an
error
message.
A
A
You
should
have
heard
that
this
operation
will
expand
the
function,
call
tree
and
gradually
gradually
gradually
clear
up,
and
these
are
quite
expensive
operations,.
Let's
say
this
may
not
be
what
you
want
to
do
on
some
devices.
You
have
a
limited
amount
of
resources,
well,
let’s
say
some
kind
of
beta
asks
for
some
kind
of
microchip
to
grow
in
order
to
get
rid
of
it,
the
program
received
and
like
no
one
wants
to
deploy,.
You
need
to
do
something
cheaper
before
that,.
You
can
use
the
function,.
A
It
just
ends
the
program
execution
infrequently
to
edit
this
possibility,.
You
can
specifically
indicate
that
when
you
panic,,
you
want
to
get
the
behavior,
that
is,
again,,
you
indicated
the
release,,
but
as
we
went
to
the
lectures
about
karma,,
you
can
also
indicate
if
you
have
some
kind
of
cross-platform
application,,
you
can
specify
each
platform
in
this
way
specific
behavior
to
occur
when
the
panic
function
is
called.
A
A
A
A
Here,
ok,
the
broken
state
was
thanks
for
the
information,
but
what
are
these
errors
again,
which
can
be
quite
easily
processed
which,
before
which
the
programmer
can
write
some
kind
of
custom
logic
about
how
to
handle
these
errors,
or
that
is,?
You
can
avoid
unexpected
program
termination,.
You
can
avoid
some
undefined
behavior
and
make
users
more
convenient
in
principle
that
nothing
crashes,
you,,
strange
things
don’t
happen,
and
such
errors
process
1.
A
Before
this
before
this
I'm
sorry,
there
are
two
types
of
generics
for
us
to
become
such
generics
and
for
us,
what
is
it
for
us?
You
know
something
generic
this
we
will
partially
consider
in
the
next
lectures,
but
in
general,
one
of
the
types
is
common
with
this
type.
You
are
already
familiar
with
it.
A
We
examined
in
detail
when
we
had
a
good
fellow
and
the
machin
disappeared,,
but
today
we
will
consider
it
a
little
more
nutritious
ia
and
what
is
inside
this
type
and
how
it
is
used
and
at
the
same
time
it
is
and
cut
through
and
here,
by
the
way,.
The
error
didn’t
open
up
and
would
even
torment
the
style,,
so
we’ll
fix
it,
and
then
the
error
on
the
nuclear
slide
came
already
an
error.
A
What
is
a
general
tesla
and
let’s?
Let's
see
how
it
is
declared
in
the
standard
library
itself,
that
is,
I
want
to
note
that
both
of
these
types,,
both
in
general
and
cut,
in
fact,.
It's
not
that
some
kind
of
built-in
feature,
the
programming
language
itself,
in
this
case,,
this
function,
I,
don't
remember
this
function,.
This
is
also
on
the
standard
libraries
once,
that
is,.
If
you
have
a
standard
library
connected,,
it
is
automatically
usually
connected,.
A
A
Normal
and
to
us,,
as
you
saw
in
the
previous
examples,,
which
has
two
values,
\u200b\u200bthat
is,
and
the
value
is
new,
that
is,,
which
literally
means
nothing
that
eats
there,
is
no
value
and
itself
with
type
ty
type
te.
In
this
case
it
is
a
generic
type.
It
is
a
generic
type
if,
in
short,
I
do
n’t
give.
Now
to
those
who
are
not
familiar
with
this
concept.
It
means
that
here
it
is,
and
in
its
place,
can
be
in
principle.
The
first
value
that
is,
it
could
be
some
number,.
A
A
And,
at
the
same
time,
this
type
is
used
very
generally
or
there.
You
can
see
a
few
lectures
back
if
anyone
remembers-
and
maybe
some
of
you
have
already
done
your
homework
about
which
we
said,.
Perhaps
you
have
already
used
this
general
one,,
but
we
will
consider
it
a
little
more
detail
for
which
I
use
these
general
ones.
Let's
say
for
declaring
from
initial
values.
.
A
Imagine
let's
say
you
have
some
kind
of
structure
you
created
it
and,
at
the
same
time,
part
of
the
fields
down,
that
is,
part
whose
variables
are
part
of
your
structure,.
You
don’t
want
to
break
the
goal
of
life
immediately
upon
creation,
well,
let’s
say
you
have
some
kind
of
structure
that
connects
via
some
link
to
some
server
and
then,
let’s
say,
loads,
some
string,
well,
let’s
use
the
name,
and
you
can
initially
create
an
instance
of
this
structure,,
but
you
can
specify
that
you
didn’t
start
any
data,.
A
A
A
For
what
reason-
and
let's
say
this
is
the
so-called-
if
you
call
a
partial
function-
that
the
meat
is
in
a
row-
let's
say
you
have
some
kind
of
function
that
takes
up
to
5
parameters
and
let's
say
you
know
for
sure
that
if
three
parameters
come
in,
perform
such
an
action.
If
four
parameters
come
in,,
you
can
perform
some,
then
another
additional
action.
A
If
all
5
parameters
come
in,,
you
can
perform
some
other
additional
actions,
that
is,
this
function,,
which
in
principle
should
work
with
you
there,
for
example,,
three
arguments,,
four,
five
arguments,,
this
3
is,
as
it
were,
not
complete
and
partial
execution,
is
still
filling
logic
that
is
assigned
to
the
transferred
quantity.
Your
arguments,
that
is,
in
this
case,.
A
A
Maybe
it
can
exist,,
but
let’s
say
it’s
very
huge
and
you
can’t
read
it
completely
from
your
program
pause
times
and
you
will
also
have
certain
errors,
or
again,
there
may
be
an
error,
for
example,
that
you
can’t
open
the
file
because
it
exists,,
but
your
application
doesn’t
have
access
to
this
file,
that
is,
access
to
the
file
is
limited
and
your
applications,
access
to
this
file,
that
is,
these
are
still
errors,.
This
is
not
an
easy,,
not
simple
error,.
In
this
case
it
is
a
complex
error,,
because
there
are
more
options
for
Timati,.
A
A
Initially,
the
fields
are
well,
let's
say
you
have
a
square
shape
in
this
one,,
let's
say
64
and
you
can
calculate
the
area
of
the
square
after
the
new
function,.
Let's
say
you
did,
what
you
have
optionally
is
well,
in
this
particular
case.
It
does
not
make
sense,,
but
nevertheless,
we
declared
in
general
those
x
x
in
it
optionally,
contains
review
64
or
nothing
and
then,
accordingly,.
You
must
somehow,
in
this
case,
write
a
function
that
returns
the
area
in
this
case,.
A
A
If
you
have
a
rowan
release
on
the
border,,
your
square
5
is
simply
new
and
why
you
don’t
have
data,
respectively,.
You
can’t
calculate
anything
to
know
what
you
are
returning,,
but
there
are
simple,
errors,,
roughly
speaking,,
which
you
conceptually
mean
only
one
type
of
error
in
this
case,,
an
error.
What
the
data
does
not
have
is
a
simple
error,,
but
in
general,
part
of
these
errors
is
recommended
to
be
used
in
these,,
which
we
will
consider
a
little
later,.
Also
optional,.
A
Here
is
the
first
example.
Just
this
is
the
general
type
and
64
which
you
suppose
you
could
then
assign
the
value
of
the
variables
of
your
square
to
this
example,,
which
I
took
off,
started.
Looking
at
the
general,
that's
all
four
of
which
will
come
with
the
value
itself,
with
a
certain
number
of
notes,,
that
is,
itself
means
that
there
is
some
value
of
the
variable,.
The
value
will
be
3,
4
5
6,
as
you
remember,.
If
that,
if
someone
forgot,
this
is
syntactic
sugar,.
In
fact,
this
number
is
23
million.
A
Four
hundred
and
fifty
six
thousand
seven
hundred
and
eighty
nine
date
to
check
this
case
will
return
this
one
in
general,
we
use
color
and
gender
and,
in
previous
mixes
of
mine,
have
already
considered
roughly
speaking
this
macro.
What
it
does
it
compares
that
the
first
argument
of
the
function
and
the
second
argument
of
the
function.
A
They
are
equal
if
they
are
not
equal,
but
the
pony
macro
is
called
that
time
with
you
just
considered,
that
is,
in
this
case,
we
call
the
variable
x
function
from
itself
that
case
it
will
turn
out
this
function
checks.
If
there
is
some
value
of
the
variable
x
itself,
which
has
some
value,
then
this
function
samber
this
one
and
this
code
will
be
a
valid.
Dad
will
not
happen
until
the
next
case
we
create
epam
is
a
common
64
and
which
is
important,,
but
I
see
the
comments
of
the
method,.
A
There
are
only
conceptual
differences,,
and,,
moreover,
it’s,
just
a
shame
to
say
so,
because
the
class
was
grown
in
Russia
structures,.
So
here
the
concept
of
function
methods
grow
more
relevant
if
the
difference
between
functions
by
method
is
more
relevant
and
boxed
in
this
case,,
there
is
not
much
difference
if
we
speak
specifically,.
This
is
the
method
of
the
trader
that
we
will
continue
further
in
this
case,.
We
call
the
same
method
and
I,
myself
will
say
the
method
if
it
is
more
convenient
in
it,.
A
A
If
this
from
new
to
understand
whether
the
structure
is
established
or
not,,
but
there
are
a
lot
of
these
methods
and
you
will
need
to
see
how
to
use
it
yourself
at
the
end
of
the
lecture,
we
will
have
links
to
the
documentation
for
these
methods
and
I
highly
recommend
that
you
practice
using
the
method
of
this
structure
yourself
or
enough
a
lot
for
all
occasions,
so
to
speak,,
which
ones
to
combine,.
But
you
need
to
do
it
yourself
in
this
case,
get
used
to
the
documentation,.
It
will
be
difficult
for
someone
to
understand,.
A
Please
write
in
the
chat,
specific
cases,,
some
examples
that
it
doesn’t
work
out
as
the
best
yes,
connect
the
chain
and
check
these
general,
and
we
will
help
you
now.
Let's
move
on
to
the
grammar
here,
by
the
way,
too,,
and
it
should
be
because
this
type
is
generic
with
respect
to
two
types,.
But
this
is
a
small
mistake,,
we'll
fix
it,,
just
don't
pay
attention
to
the
dance
parts,,
but
if
you're
100
generic
before
you,.
This
is
not
a
problem.
A
Actually,
like
this
result
type,
it
is
intended
primarily
for
development,
rashid.
Let's
see
how
to
define
it
and
again
it's
simple
and
we
are
relatively
two
types
only
in
this
case,
not
others.
If,
in
general
we
had
a
new
one
and
the
same
type,
those
then
in
this
case
we
have
two
types:
it's
ok
with
type
tyr
with
type,
and
here
this
is
this
here.
Let's
look
at
that
is,
and
this
is
communication
types
and
accordingly,
in
this
case
the
type
t
go
displays
the
result
from
the
options.
A
Let's
take
a
not
simple
example
in
this
case,
we
import
the
choice,
import,
the
file
access
module,
and,
accordingly,,
try
to
open
the
file
with
such
a
name
right,
away,
by
the
way,
for
example,.
There
are
quite
a
lot
of
examples
that
you
can
use
in
advance,
find
in
1
cube,
that
is,
there
you
will
see
the
same
example
and
even
much
more,.
Therefore,
it
is
very
I
recommend
to
look
in
this
case.
It
will
say
now
exactly
which
chapter,
if
I'm
not
mistaken,
probably
9,
but
there
are
a
lot
of
examples
there.
A
A
If
you
tried
to
compile
this
program,
and
it
would
be
wrong
for
you
to
use
the
type,,
the
compiler
would
definitely
tell
you
that
here
in
fact,
they
cut
to
this
file,.
They
simply,
that
is,.
In
this
case
it
will
be
the
result,.
It
will
be
cut
by
type
instead
of
ti,.
It
will
sleep
instead
of
p,.
It
will
be.
A
A
A
This
is
how
to
process
the
result,,
of
course,
using
pattern
matching
which
we
have
covered
in
previous
lectures
in
in
this
case,.
We
expand
from
the
previous
example
to
the
following
that
we
first
get
the
file,
that
is,
the
open
function,
and
then
we
analyze
the
value
of
the
result,
obtained,
the
value
of
the
variable
f,,
and
here.
If
we
received
a
variant
of
the
hand
and
inside
which
the
file
is
contained,,
then
we
return
in
this
case.
The
variable
will
contain
itself
this
fear,.
If
we
got
some
kind
of
error,,
then
the
error
itself,.
A
The
message
will
become
such
files
and
directories,
but
the
directories
were
attacked,
of
course,
not,,
because
the
pattern
has
become
a
folder
and
they
don’t
sit
down
from
this
pro.
In
this
s,
In
a
better
way,.
You
can
pay
attention
and
notice
that
you
can’t
open
the
file
on
the
screen,,
but
at
the
same
time
you
received
information
with
you,
which
and.
A
We
can
assume
with
us
what
the
information
actually
means.
More
and
depending
on
what
kind
of
error
we
received,,
we
can
react
differently,
as
I
told
you,.
Let's
say
it
could
arise
why
the
file
does
not
exist
or
there
is
no
access
to
the
floor,
or
even
other
options
in
this
case,.
We
see
that
the
file
is
not
found,
that
is,
no,.
Let's
solve
this
example,
to
react
in
more
detail
depending
on
the
type
of
errors,
and
thus
we
have
a
double
raise,
that
is,
we
open
the
file,.
A
A
If
the
file
is
not
found,
then
we
create
this
file
and
return
its
sheet.
If
we
could
not
create
the
file,
let's
say
we
don't
have
the
truth
to
create
and
create
the
file
with
the
path
specified
by
the
law.
Then
we
return
an
error
using
panic.
We
cause
an
unrecoverable
type
of
error
because
we
have
already
tried
somehow
to
restore
this
error
of
the
file,.
There
would
be
no
attempt
to
create
it,,
but
we
create
it
and
screw
it
up,,
and
in
this
case,
we
mean
the
logic
that
it
says
on
this,.
A
Cause
errors
because
we
didn’t
look
at
the
logic
that
some
other
error,
then
in
this
case
we
just
display
this
error
on
the
screen.
By
calling
the
method
on,,
we
don’t
call
it,,
we
don’t
restore
yours,
I,
see
comments
in
the
chat
that
it’s
possible
to
put
the
suit
block
1
here,,
the
branches
you
need
to
add,.
This
can
be
done,.
A
Let’S
consider
it
with
you.
You
can
also
use
the
same
type
and
common
in
order
not
to
seem
to
open
and
at
the
same
time
you
have
what
then
also
because
it
happens,
let’s
say
you
just
want
that
if
the
tours
didn’t
open,
just
complete
the
execution
of
the
program,
so
that
the
program
signs
with
this,
of
course,
it’s,
not
very
good,,
well,
let’s
say
you
don’t
know
what
to
do
with
it,
didn’t,
open
the
file,,
the
program,
fell,
and
so
on.
A
For
this
there
is
what
are,,
let's
say,,
simpler
ways
of
interacting
with
these
types
of
communities
and
cutting
one
distributes
this
method
dejectedly,
and
consider
a
simple
example
of
what
the
method
method
does,
it
is,
in
fact,
for
example,
for
the
general,.
If
you
have
some
value
in
this
general,
that
is,
it
is
not,
well,,
then
this
value
is
returned
to
you,
that
is,
in
this
case,
here
I
created
a
variable
of
type
f,
which
calls
the
file.
If
no
error
occurred
under
the
variable
f,
you
will
contain
the
result
in
this
case,.
A
This
is
true:
if
some
error
occurred
before
executing
this
method,,
but
for
the
structure
in
general,,
then
you
will
have
a
memory
that
work
that
will
bring
us
trance
to
the
screen
will
make
it
come
out.
A
glass
of
bindin
g
to
clear
and
your
program
will
end,
that
is,
in
this
case,
here
you
can
see
how,
yes,
like
noodles,.
A
This
is
grace
and
cut,
because
we
have
already
considered
that
file
open,
returns,
once,
and
as
for
the
general,
here
we
created
a
change
ourselves
and
we
are
trying
to
call
she
herself,
this
part
of
the
code,.
It
is
obvious
that
it
will
overlap
percent,
because
in
this
case,
well,
this
part
of
the
code,
well,
therefore,.
We
ourselves
cannot
say
for
sure
whether
it
will
panic
or
this
file
may
be
located,
because
the
project
is
correct,
that
we
will
consider
another
method.
Another
method.
This
is
the
expect
method,
what
methods
to
do
by
the
way?
A
Well,
actually,
this
method
is
very
similar
to,
except
that
you
are
an
expert.
Let's
say
you
pass
some
string
to
directly
which
you
want
to
display
on
the
screen
and
that
is,.
In
this
case,
you
are
trying
to
open
a
file
by
which
you
pass
the
file
name
and
if
some
error
occurs,,
then
panic
will
be
called
and,
accordingly,.
This
panic
will
contain
this
in
t.
This
is
a.
A
City,
message,,
well,
respectively,,
exactly
the
same
example,,
yes
to
a
general
variable,.
We
created
a
change
in
the
general
values,
\u200b\u200band.
Then
we
want
to
get
the
value
of
the
data,,
and
if
there
is
no
data,
there,
well,,
we
call
panic
which
will
contain
this
message,,
but
according
to
the
example
of
the
fact
that
I
just
thought
that
there
are
also
a
large
number
of
other
methods
about
which
I
spoke
quite
convenient
before
it
works,
with
the
help
before
working
with
a
common
one,
cut
off.
A
If
we
have
and
if
we
assume
it
in
this
case,
would
return
the
value
that
is
contained
in
the
error,.
But
if
you
don’t
there
were
also
values:
.
Ok,
then
this
one-
and
there
are
still
many
such
methods
in
these
and
in
general
let’s,
say
default,
that
is,
you
could
write
here,
for
example,
in
this
example
that
m.
A
Value
was
new,,
then
you,
let's
return,,
say
0
or
return
5,.
You
return
some
default
value,.
There
are
a
lot
of
such
methods,
for
there
are
many
of
these
communities
of
the
world
following
the
same
example,
and
accordingly,.
In
order
to
get
used
to
them,.
Here
you
need
to
practice
yourself,
that
is,,
you
will
have
to
understand
where
and
how
to
use
these
methods
and
how
it
is
more
convenient
for
you,,
and
for
this
you
need
practice,
practice.
A
Yourself,,
please
see
these
here
is
a
link
to
the
documentation
for
common
types
and
times
lt,
that
is,
in
fact,.
These
will
be
your
first
attempts
to
read
the
documentation
one
by
one
for
those
who
have
not
done
this
yet,,
so
you
will
have
to
read
it
for
you
in
case
these
are
the
first
attempts,
as
it
were,
before
that
a
fairly
simple
case,
if
you
don’t
understand
where
how
to
use
and
combine
these
methods
in
general
and
until
tomorrow,
what
methods
to
use
in
them,
that
is,
there?
A
A
Action
methods
never
methods
these
types
of
communities
and
resant.
We
will
consider
with
you
in
more
detail
at
in
my
opinion,
in
one
lecture,
will
we
go
to
functional
programming
and
in
this
lecture
we
will
somehow
interact
a
lot
with
the
types
of
the
community,,
so
don’t
worry,.
We
ourselves
will
consider
these
methods
in
more
detail
and
we
will
use
much
more
methods
than
they
have
shown
now,,
but
for
the
current
moment,
try
to
modify
yours,
for
example,
with
figures,.
A
Try
to
modify
them,,
find
some
correct
and
convenient
application
to
these
jars
and
cut
them,
and
again,
suddenly
check
the
rub
about
this,
how
quickly
it
is
that
we
start
with
a
simple
example
and
a
little
water.
Your
task
grows
and
it
grows,
that
is,.
You
need
to
understand
where
this
place
is
applied,
where
it
is
inappropriate,,
because,
let's
say
an
example,
that
said
that
you
have
a
structure
of
squares
whose
side
is
an
optional
field.
There
can
be
new
and
it
can
be
some
value.
This
example,
of
course,
yes,
they
are
very
convenient,.
A
That
is,
it
would
be
strange
that
you
can
create
a
square
that
does
not
have
side
in
this
case,.
It
would
be
appropriate
only
if
there
were
some
other
strings
around
the
square,,
then
maybe,,
but
for
example,
let’s
say
such
a
simple
example,.
You
might
have
if
it
says
a
wrapper
around
the
structure
and
then
you
might
have
some,
then
the
canvas
on
which
there
can
be
a
square,
that
is,
it
will
optionally,
be
a
square
or
it
will
not
be
in
this
case,
in
general,.
This
place
is
yes,
that
is,,
depending
on.
A
If
you
have
a
square
on
more,,
you
can
say
that
it
is
and
that
it
has
such
an
area
which
side
are
you,.
That's
why
try
experimenting
with
your
homework?
Again,
read
the
documentation,.
Maybe
it
will
be
hard
for
those
who
have
not
tried
it
yet,,
but
it's
nothing
if
you
have
any
specific
examples
of
where
to
use
this
or
that
type
where
to
use
that
or
another
method
or
how
it
is
better
to
combine
it,,
please
write
to
the
author
of
the
chat,,
but
we
will
help
with
this,.
A
We
will
try
everything,
as
it
were,
in
your
asks
and
process,
okay,.
Let's
move
on
to
questions
as
there
are
no
questions,,
then
it
was
one
question
and
jenil
answered
if
the
generic
to
numeric
types
such
number
java
did
not
answer
that
as
how
you
can
use
any
type,,
then
the
general
hall
alex
asks
a
question,,
but
how
to
limit
the
arguments
only
for
numerical
values
.
In
this
case
it
will
be
a
difficult
question,
that
is,.
This
question
concerns
trades
and
generic
of
trade,
and
we
will
look
at
generics
a
bit,.
A
A
Say
yes,,
you
can
convert
one
type
of
error
to
another,
again,,
at
least
where
to
look
where
to
look
now,
I’ll,
try
to
say
in
fact,
I
advise
you
to
look
in
the
same
methods
of
races,,
and
it
has
methods
with
the
type
of
support
and
asmap
in
which
you
can
convert
one
type
errors
to
another,
that
is,,
roughly
speaking,,
you
can
write
logic
using
spent
like
this,
for
example,.
A
second
time,
I
will
show
an
example,
here.
You
had
this
one,
approximately
in
this
case,
if
it
were
not
the
main
function,.
A
So
let's
say
that
returns
your
result,
a
hidden
file,
or
your
some.
Then
you
could
write
your
own
kind
of
errors
here
that,
if
file
not
found
the
you
return,
the
type
of
error,
well,.
Also
in
we
again
take
these
pr
and
return
your
own
type
of
error
that
file
not
found
in
this
case,.
Here,
an
example,.
The
conversion
from
errors
occurs
explicitly.
If
you
wrote
logic
for
converting
errors,,
it
will
be
so
I.
Advise
you
to
look
at.
A
A
What
you
return
just
your
type
of
errors,
from
which
you
can
already
convey
with
fire
what
value,
that
is,?
What
is
the
content
of
this
error,,
so
I,
hope
to
answer,
well,
in
general,?
I
would
use
it
myself
for
the
first
time,
I,
advise
you
to
set
it
very
much
in
India.
There
are
sections
of
the
slide
in
the
upper
right,
corner,
it’s
better
to
set
there
that’s
all-
it’s
more
convenient
than
in
the
chat.
A
If
it’s
not
clear
with
this
question,
then
write
in
telegram,
we
will
answer,
but
in
general
here
the
transformation
is
quite
such
a
manifestation
with
the
help,
because
you
get
the
type
of
error
you
check
that
if
a
certain
type
of
error
is
like
file
not
found
the
type,
you
indicate
that
if
there
was
an
error,
then
you
do
not
panic
but
return.
Your
error
type
but
in
another
place
say
the
function
that
called
the
current
function.
You
process
again
again
this
type
of
errors,,
but
they
are
not
already
generalized,.
A
A
This
is
the
same,
that
is,
in
this
case
it
will
just
be
rolling
the
error
up,
so
we
will
also
consider
flatev
years,
and
we
also
considered
flat
during
the
lecture
about
potro
match
in
a
for
the
example,
with
unclenched
from
the
communities
more
examples
of
the
cycle.
This
we
will.
We
will
consider
during
the
functional
I
like
functional
programming,
so
you
can
and
get
us
changes
without
using
third-party
libraries
of
the
string.
Type
I
didn’t
quite
understand
the
essence
of
the
issue,.
If
you
can
clarify,
I
didn’t
use
the
string
library
for
us,.
A
So
what
is
it
about
and
what
programming
style
is
preferable
in
1
functional
or
not
yes,
pseudo
about
it.
The
question
is
good.
It
depends
on
your
preferences.
My
personal
preference
is
rather
functional
because
to
me
the
coin
made
it
conveniently.
This
is
a
paradigm
and
with
it
you
can
write
quite
concisely,
but
structural
structured
programming
grows,
and
this
is
also
one
of
the
paradigms
that
is
welcomed.
A
Accordingly,
it's
ok,
if
b
out
of
using
structured
programming,
but
at
this
age
there
is
no
because
there
is
no
passion
for
class
structure,
smart
contracts
more
often
than
smart
contracts,
smart
contracts,
I
would
say
that
it
is
also
functional,
at
least
at
least
with
the
wall
on
which
I
come
across
functional,
more
convenient,,
well,
anyway,.
Will
you
have
cases
yes,
like
to
some
extent,
a
moment
of
savannah
and
different
programming
styles,
that
is,?
A
You
will
have
partially
functional,
partially
structural,,
and
this
is
normal,,
but
the
image
of
a
good
one
is
not
inherited,,
because
until
the
fall
is
true
because
in
Russia
there
is
no
inheritance
of
power,.
At
the
same
time,
there
is
an
implementation
of
the
multiple
implementation
of
trade,
of
which
we
ourselves
look
at
God's.
A
A
A
A
Did
n’t
hear
the
water
was
noticed,
the
work
of
the
operator
I
either
heard
it
wrong
and
let
him
panic
as
far
as
knowledge
of
some
person.
Early
return
returns
an
error.
Yes,
it
will
return
an
error.
In
fact
it
is
an
analogue.
Then
there
is
a
macro,
sorry
and
macro
troy,
I.e.
it
is
a
short
form
of
mattress
three,
I.e.
in
fact
it
is
the
same
as
what
to
call
a
method.
What
to
call
a
macro
troy,
just
its
short
form.
As
far
as
you
need
whether
you
need
to
use
third-party
cray
you
could.
A
But
this
is
a
good
question
and
and
it's
a
bit
controversial
on
the
one
hand,
I
would
say
that
the
wanderer
is
kind
of
good
to
use,
because
it's
good
when
you
use
perry,
I.e.
existing
somewhere,,
that
is,
you
don’t
reinvent
the
wheel
to
the
simplest
things
on
the
other
hand,.
Since
we
are
now
at
the
stage
of
learning
the
language
at
the
moment,
I
would
advise
you
to
do
the
following.
A
A
These
I
see
about
the
question
mark,
yes,.
If
I
said
that
it's
panicking,
it's
wrong
here
goes
as
I
said
in
essence,
the
macro
troy
and
previously
admiring
the
result
or
error.
But
then
again,
if
you
use
?,
then
you
have
the
type
of
the
returned
spike
must
match.
Otherwise,
without
the
type
does
not
match,
you
can
use,
let's
say
about
converting
and
by
mistake,
Kostanay
the
type
of
errors
that
are
expected
and
after
it
you
will
forgive
me.
A
A
Although
there
is
an
automatic
casting
organism,
I
didn’t
ask
as
such,
automatic
before
casting,.
There
are
2
trade
athos
and
in
tube,,
but
this
is
not
automatic
casting,,
roughly
speaking,.
If
you
wrote
your
own
type
of
errors,
yes,
let’s
say
it
’s
called
microsoft,
or,
for
example,.
If
we
talk
about
home,
the
task
about
figures
is
about
figures
of
figures,.
It
has
some
kind
of
errors,
types
of
errors
and
let's
say
you
have
a
type
of
errors.
A
Inside
your
type
and
then
issue
up
to
the
village
of
the
type,
you
can
write
that
if
you
have
before
this
error,
come
to
the
input
of
ideas
and
but
not
found
era,
but
then
you
convert
it
to
your
error
type,,
and
this
is
like
this,
that
is,.
It's
you
again.
If
you
automatically
cast
you,
on
the
contrary,,
you
would
not
automatically
explicitly
implement
that
your
type
of
errors
supports
casting
to
another
type
of
errors,,
we'll
see
if
it's
enough
temporarily
victis
error,
handling,
we'll
see
it
with
you.
A
Yes,
yes,
I
see
comments
that
we
eat
a
street
through
the
stroma.
And
yes,
in
fact,
you
yourself
implement
the
logic
that
your
type
of
errors
can
be
bound
and
formed
into
another
type,.
You
can
get
from
another
type
of
errors,.
This
is
done
before
if
you
expect
to
often
meet
another
type
of
errors
in
the
course
that
you
want
to
convert
your
type
of
errors
in
order
not
to
make
a
potter
matching
in
each
case,,
you
can
write
such
a
transformation.