-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HW3 is completed #3
base: master
Are you sure you want to change the base?
Conversation
hw03_frequency_analysis/top.go
Outdated
var SplitFilter = regexp.MustCompile(`[\s?!.;,]`) | ||
var IgnoredSymbols = regexp.MustCompile(`[-]`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Переменные можно сделать неэкспортируемыми, поскольку они не используются вне пакета.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Поправил в последнем коммите :)
Экспортирование как-то влияет на расход памяти?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Скорее для инкапсуляции. Чтобы не было желания и возможности редактировать снаружи пакета.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Спасибо за выполненное задание. Отличная работа.
Домашнее задание №3 «Частотный анализ»
Критерии оценки
Зачёт от 7 баллов