Thank you so much for this. I requested it months ago and though you were never going to do it :( I learned a lot from the video however you really should have covered message passing between processes (since that is the main thing about erlang). Still this is great! Love you!
The custom for loop does not yield the correct answer if Min != 1. It also does not print out the numbers from low to high (as stated in the video). The following does work : for(Max, Min) when Max < Min -> ok;
for(Max, Min) when Max >= Min -> io:fwrite("Num : ~p ", [Min]), for(Max, Min+1). Thanks Don for pointing out the order was incorrect.
thanks a lot Derek Banas, I am one of those who requested you to make video on Erlang programming. you replied me too on that comment request. i will tell everyone in my university to watch this video(without 'ad block'). thank you.
Thank you for creating this video. It is really great! I found one thing, which I hardly understand first: You put that extra parameter into the function "sum" around 35:10 and say that the value would be seen as it runs but after that while you ran it nothing was visible from the "io:.." line.. I put this into main(): sum([1,2,3], 0) and I received this as output: Sum : 0 Sum : 1 Sum : 3 6 I think this is the way the function should work. It needs to get that extra parameter..
Thank you so much, I have been thinking of the solution for several hours. Derek of course should not be blamed because the IDE has a very annoying caching which can confuse a lot of us. Messing up the code on purpose then going back resets that caching.
Did you also create an Elixir tutorial? You're great! Where do you teach, Derek? How do you know so many different programming languages? Do you also know Wolfram Mathematica? Mathematica is very cool! The way Mathematica deals with lists is very similar to how lists are handled in Python, Haskell, Erlang, etc. List comprehensions and writing recursive functions that traverse and manipulate lists. Very cool stuff. And you are a wonderful teacher! I love your videos. Oh yeah, can you PLEASE make a video that introduces us to concurrent programming in Erlang. I sort of get the basics of it, but concurrent programming can get very confusing. Much more complicated than regular functional programming. Thank you.
Thank you for the nice compliment :) Here is my Elixir tutorial ruclips.net/video/pBNOavRoNL0/видео.html I used to teach at a community college years ago, but aside from that I've been making videos like this for over a decade. I'll see what I can do about your requests.
Hey Derek, the link in the description does not work. I also tried to check out your "LEARN TRIGONOMETRY" but it's the same issue. Just wanted to let you know.
Hey Derek! Thanks a lot for covering the stuff I requested, I'm very grateful :) Are you going to do Phoenix sometime after Elixir? Could you perhaps share what videos are coming up next? :)
very cool that you did Erlang. I'm surprised that it was more highly in demand then elixir but I guess knowing Erlang helps with elixir as well. thank you for the video, it will be invaluable for me.
Elixir is great, the syntax is a drastic improvement over Erlang by itself, but it also comes with some really nice features that aren't in erlang. It also seems to be gaining a ton of traction in the industry despite it being a FP language. (I wish clojure was getting the same traction.)
Today i learnt upto 29:50 but you never taught how to take user inputs in this programming lanuage I am exhausted I need a break any ideas anyone what i should do.
I think there is an error in the for loop example as Min is not used. This is demonstrated in the spawn example. Otherwise good video, thank you. I see this has already been mentioned below.
how do you keep managing to save my life at least once every school quarter? we just started erlang and I got lost so I googled a tutorial and lo and behold!!
For the do math protion you have A + B, A - B. But your program only outputs the A - B portion and not both math operations. Why is that? I'm currently trying to create a program that has a main function and is passing 2 variables to two other functions which are sum and difference but only one function output and its only the bottom one.
It bothered me that you put semicolon in the beginning of a new line in the if statement at 14:39.... Just WHY. I looked up for if-else statement on Erlang somewhere else and you are the only one using it like that. It made me think semicolon meant "else", when it actually is there for finishing a single if statement.
Very nice, I learned a lot! But I think your for-function needs tweaking, since it ignores the Min-value. How about something like this: for(Max, Min) when Max =< Min -> ok; for(Max, Min) when Max > Min -> io:fwrite("Num: ~p ", [Max]), for(Max-1,Min).
I would like to know in case my console dose not taking my orders to run the code what i have done , I have written this code , then to run the fist example in the video. I have to set the path for example C:\Users\acer\eclipse-workspace\Tut.erl. my problem is that the console is not taking it to continue on running the example . I am learning this for my project at the school. thanks for your tutorial its very good for beginners.
The people that I know that use it use it because it scales extremely well for large distributed systems. It is great at running millions of concurrent processes.
It's used for applications that need to stay online for years, processing tons of requests. It's popular in telecoms for processing SMS and internal authentications. It's very popular in chat servers, and was used for a while by Facebook, and has always been used by WhatsApp. The entire point of erlang is high throughput, cross process communications, in a simple language.
helloo i have question pls about imo application ..deos imo recorder video calls in a server or imo save all video call online in server ...thank you ...
i don't know about you, but I could not care less about what the standard library provides and built in structures/operators and pattern matching and everything in Erlang. If you have seen this tuff in any language you got the gist. The actor model/shared nothing and message passing and error handling stuff is what really makes erlang stand out. All the actual sequential implementation of the processes could be done in any language for all I care... It is unfortunate that you cannot easily use C or any language to implement the processes... the process system should be independent of how the processes are implemented.
Thanks. But I never seen any other computer language that is so dirty, not understandable syntax like erlang. Horrible syntax, horrible to convert to any other language. I am trying to convert Wings3D .. and it is just so not understandable code. .. oh! I tried to find any converter to assembly that works not just some sites admit that but you don't find it. or to any other language, there is not. Don't waste your time with this horrible language.
The language looks unnecessary complicated. Why should anyone prefer this syntax? hipster nerd swag? btw the syntax is not an excuse for the use of compiled code
What I meant with my last sentence was: I know the great power of this language in use for this specific area, but I also know that this doesn't explain why they designed the syntax so unattractive. As cool as the power of the language is as lame is the syntax u have to use for it. Btw I love this tutorial u explain everything so simple and interesting. The power of the compiler is awesome, but the language for the compiler is the problem.
Erlang is actually very simple language and fairly old. It just uses different approach to solve problems. It will take way less time to learn Erlang than e.g. Scala.
Hipster nerd swag is very dismissive considering the language came out decades before those terms became a thing. Not knocking on you in particular just the phrasing. Listen to Joe Armstrong's (inventor of Erlang) speeches.
After watching video about prolog and then this video, this syntax is actually makes sense. It's not like in 1985 there was many modern syntaxes around. There was no Haskell, Python or Ruby. Between syntaxes of Prolog, Lisp and C, seems like Prolog was the best choice at the time.
Thank you so much for this. I requested it months ago and though you were never going to do it :(
I learned a lot from the video however you really should have covered message passing between processes (since that is the main thing about erlang). Still this is great! Love you!
Thank you :) Sorry it took so long. I'll cover Elixir next and will definitely do a little about message passing.
Thank you, waiting for elixir part
Erlang Interview latest Q & A : ruclips.net/video/2DiEAAo2Rbo/видео.html
47:23 47:24 47:27 47:28
This is the best Erlang tutorial so far. Thank you so much for this!
Thank you for the compliment :)
Only downside to this tutorial is using Eclipse
The custom for loop does not yield the correct answer if Min != 1. It also does not print out the numbers from low to high (as stated in the video). The following does work :
for(Max, Min) when Max < Min ->
ok;
for(Max, Min) when Max >= Min ->
io:fwrite("Num : ~p
", [Min]),
for(Max, Min+1).
Thanks Don for pointing out the order was incorrect.
thank you for your video briefly going through all the introductions into the Erlang language. it was really helpful for my internship.
I’m very happy to be of help :) I wish you the best on your internship
Thanks for the video on Erlang Derek!
You're very welcome :)
Thank you Derek, you're a phenomenal man. Keep up the fantastic work :D
Thank you very much :) Many more are coming
luv u
Glad to hear it :)
Love you to :)
sum([],Sum) ->Sum;
sum(H|T,Sum)->H+Sum.
Throwing error in main sum([1,2,3]).
sum/0 undefined
Should be right cal?
sum([1,2,3],0).
thanks a lot Derek Banas, I am one of those who requested you to make video on Erlang programming. you replied me too on that comment request. i will tell everyone in my university to watch this video(without 'ad block'). thank you.
Thank you very much :) I appreciate it greatly when people turn off adblock :D
Thank you for creating this video. It is really great!
I found one thing, which I hardly understand first:
You put that extra parameter into the function "sum" around 35:10 and say that the value would be seen as it runs but after that while you ran it nothing was visible from the "io:.." line..
I put this into main():
sum([1,2,3], 0)
and I received this as output:
Sum : 0
Sum : 1
Sum : 3
6
I think this is the way the function should work. It needs to get that extra parameter..
Thank you so much, I have been thinking of the solution for several hours. Derek of course should not be blamed because the IDE has a very annoying caching which can confuse a lot of us. Messing up the code on purpose then going back resets that caching.
Wow, that was a great summary. Thanks!
Did you also create an Elixir tutorial? You're great! Where do you teach, Derek? How do you know so many different programming languages? Do you also know Wolfram Mathematica? Mathematica is very cool! The way Mathematica deals with lists is very similar to how lists are handled in Python, Haskell, Erlang, etc. List comprehensions and writing recursive functions that traverse and manipulate lists. Very cool stuff. And you are a wonderful teacher! I love your videos. Oh yeah, can you PLEASE make a video that introduces us to concurrent programming in Erlang. I sort of get the basics of it, but concurrent programming can get very confusing. Much more complicated than regular functional programming. Thank you.
Thank you for the nice compliment :) Here is my Elixir tutorial ruclips.net/video/pBNOavRoNL0/видео.html I used to teach at a community college years ago, but aside from that I've been making videos like this for over a decade. I'll see what I can do about your requests.
Erlang Interview latest Q & A : ruclips.net/video/2DiEAAo2Rbo/видео.html
Nice tutorial for starting up erlang
Great video as always, will be awesome to do one for Elixir.
Thank you :) Elixir will be up very soon
Another great video to get started with a new language, you even talk about concurrency! Good good job!
Thank you very much :)
Omg advanced mathematics videos pleaaase topology, calculus of variations, etc in one video.
Calculus is coming next. I just finished Linear Algebra
Your voice sounds different in a good way
Thank you :) For a short period I added a slight treble boost to my voice, but now it is 100% natural
This makes a lot of sense,thank you.
Happy I could help :)
AMAZING, AND THANKS FOR THIS TUTORIAL
Thank you very much :) I'm happy I could help
Great Video! Thank you
Thanks derek.great tutorial
Thank you :)
Appreciate your work mister
Thank you :)
Excellent tutorial.
excellent tutorial!!! Thx
Hey Derek, the link in the description does not work. I also tried to check out your "LEARN TRIGONOMETRY" but it's the same issue. Just wanted to let you know.
Hey Derek! Thanks a lot for covering the stuff I requested, I'm very grateful :) Are you going to do Phoenix sometime after Elixir? Could you perhaps share what videos are coming up next? :)
I'm very happy that you liked the video :) Phoenix is coming, but first I'll cover Elixir, F# and Swift 3
very cool that you did Erlang. I'm surprised that it was more highly in demand then elixir but I guess knowing Erlang helps with elixir as well. thank you for the video, it will be invaluable for me.
Thank you :) I'll do Elixir next
Elixir is great, the syntax is a drastic improvement over Erlang by itself, but it also comes with some really nice features that aren't in erlang.
It also seems to be gaining a ton of traction in the industry despite it being a FP language. (I wish clojure was getting the same traction.)
Erlang Interview latest Q & A : ruclips.net/video/2DiEAAo2Rbo/видео.html
Extremely good!
Today i learnt upto 29:50 but you never taught how to take user inputs in this programming lanuage I am exhausted I need a break any ideas anyone what i should do.
Thank you so much guy. I love your video.
Thank you very much :)
I think there is an error in the for loop example as Min is not used. This is demonstrated in the spawn example. Otherwise good video, thank you. I see this has already been mentioned below.
how do you keep managing to save my life at least once every school quarter?
we just started erlang and I got lost so I googled a tutorial and lo and behold!!
For the do math protion you have A + B, A - B. But your program only outputs the A - B portion and not both math operations. Why is that? I'm currently trying to create a program that has a main function and is passing 2 variables to two other functions which are sum and difference but only one function output and its only the bottom one.
That looks like a functional prolog :D
It bothered me that you put semicolon in the beginning of a new line in the if statement at 14:39.... Just WHY. I looked up for if-else statement on Erlang somewhere else and you are the only one using it like that. It made me think semicolon meant "else", when it actually is there for finishing a single if statement.
Splendid! Thanks!
Thank you :)
Very nice, I learned a lot! But I think your for-function needs tweaking, since it ignores the Min-value. How about something like this:
for(Max, Min) when Max =< Min ->
ok;
for(Max, Min) when Max > Min ->
io:fwrite("Num: ~p
", [Max]),
for(Max-1,Min).
Does not print out numbers from low to high. Also, both Max and Min should get printed out.
you are simply super, keep going
Thank you :) Many more videos are coming
Who's here after the stack overflow developer survey 😂
Does Erlang really refer to function parameters as attributes?
35:58 there is an compile error. Why can still run the program? Please Help.
Please do more videos on erlang programming language
man you are good...I wish I had this skill.
Thank you :) You can do anything I can I promise
I would like to know in case my console dose not taking my orders to run the code
what i have done , I have written this code , then to run the fist example in the video. I have to set the path for example C:\Users\acer\eclipse-workspace\Tut.erl.
my problem is that the console is not taking it to continue on running the example .
I am learning this for my project at the school.
thanks for your tutorial its very good for beginners.
and I always have a box with msg telling me : there are no runtime launched , please start a runtime to send to commands to.
Thank you Derek. When is C# going to resume?
I mean WPF MVVM, Xamarin, Unity?
In a week I'll upload 2 more C# tutorials. I hope to start Unity soon after
do you have angular 2 tutorial ? or i could not see, keep up good work, thanks a lot for each video separately
Thank you :) I only have an Angular 1 tutorial at this time
41:40 why is the record needed when we can create maps with #{} ?
I understand that this isn't to do with Erlang, But what is the best lisp dialect to learn? Possibly to make small games/software
Common Lisp is what you'll see with most commercial apps. For games I definitely wouldn't use Lisp
Emacs Lisp perhaps. But it already has Pong and Tetris lol
I'm looking into Common Lisp as Derek already has a tutorial on it. But thanks anyway @scopestacker
Okay. Thanks Derek :)
you and mindspace are the two best tutorial makers
Thank you for the compliment :)
please do a brainfuck tutorial :D
Haha, this would be definitely something for later
min 35:46 when you dont care about the function Arity .... lol :)
Shalt ye do algorithms videos any time soon? if yes could thou please include "Dynamic Programming"?
I have an algorithms tutorial ruclips.net/video/f5OD9CKrZEw/видео.html I'll see what I can do about dynamic programming
Hey Derek what sort of industries/jobs use Erlang
It is used a lot in the telephone space. That is where it originated. It is also used by messaging apps like whatsapp, facebook, yahoo, etc.
When is C# again?And what is the first game ur doing?
I'll have another C# tutorial next Saturday. Unity is in the works
Derek can you please make a tutorial on opencv? Thank you! Love your videos!
Can you give example for one camel case program in erlang
thanks
U are the best!
Thank you very much :)
I never hear about that language, what people use for?
The people that I know that use it use it because it scales extremely well for large distributed systems. It is great at running millions of concurrent processes.
thank you. Is MVVM included in agenda?
Yes
what can you do with this language
It's used for applications that need to stay online for years, processing tons of requests. It's popular in telecoms for processing SMS and internal authentications. It's very popular in chat servers, and was used for a while by Facebook, and has always been used by WhatsApp. The entire point of erlang is high throughput, cross process communications, in a simple language.
Whatsapp was originally made in Erlang.
Can you create a series of videos for the Clojure programming language ?
I'm working on it. Here is my Lisp tutorial in the mean time if your interested ruclips.net/video/ymSq4wHrqyU/видео.html
helloo i have question pls about imo application ..deos imo recorder video calls in a server or imo save all video call online in server ...thank you ...
Why is Erlang called purely functional? You just throw in IO everywhere.
Hmm, Erlang Syntax highlightning seems a bit poor in Eclipse. Good part by the way!
Yes I know it kind of stinks. I used Eclipse only because I was asked to set it up that way. I'd use Sublime or Atom
i don't know about you, but I could not care less about what the standard library provides and built in structures/operators and pattern matching and everything in Erlang. If you have seen this tuff in any language you got the gist. The actor model/shared nothing and message passing and error handling stuff is what really makes erlang stand out. All the actual sequential implementation of the processes could be done in any language for all I care... It is unfortunate that you cannot easily use C or any language to implement the processes... the process system should be independent of how the processes are implemented.
Finally!!!!
Elixir is next
Will you also make a video about Elixir? Would be aweeesome :)
Yes that is coming next. I just need some time to finish it
Derek Banas yay, thank you!
Whatsapp was created using such a complex language?😱😱 Calling and video calla are possible in this language?
I wouldn't use Erlang for that
No April fools?
Shit, you're making me skeptical now haha
No I always want to do a whitespace tutorial, but I never get to it. Maybe next year :)
cool!
Thank you :)
I'm watching your videos because I have a mandatory course in functional programming and I FOOCKIN HATE IT!
Functional programming is good. Stop being silly.
can u made few another video about erlang?
I'll do anything with enough requests
Good
Thank you :)
Please make R and Julia tutorial. thanks
They are coming soon
A bit of java here
Elixer?
It is coming in about a week
how do you even learn so many programming language when i'm struggling to even get one right :'D
After you learn a few the rest are pretty easy. Stick to it and you'll be able to switch
Once you learned 2 languages, one functional, one object oriented, you will be able to learn anything quickly. Trust me there is no magic.
Also the best way to learn is in my opinion to take existing code study and modify it and you ll get to it very fast
woah didn't expect to get any reply from my silly comment especially from Derek hahah. Anyway thanks guys for all the feedback and comment. Cheers :)
@@YTcss how's your quest going since it's been 2 years?
Tomorrow Elixir showtime?
The Elixir tutorial will probably be up next Saturday. Sorry these learn in ones are hard to make.
Sup Derek? ?
Thanks for the java tutorials bro.
What's ur major
You're very welcome :) I went to school for electrical engineering and illustration
Derek Banas HOW DO YOU KNOW EVERYTHING
I don't. I'm actually not that smart
What made you interested in CS?
Derek Banas ^
what's your email id, Got few questions for you
RUclips is the best way to reach me. My email gets 5,000 messages a day
I made it!
watched
Thank you :)
Derek Banas i want lern E so what do you recommend but i want speak with any friend American on fecabook ; WhatsApp; anything . so.what I do ?
Have you seen Duolingo? www.duolingo.com/
Derek Banas thanks for u I'll install on Google play . . I hope you come one visit to Egypt . welcome to anytime
Thank you :) I would definitely like to visit some day
I Made It!
Thanks. But I never seen any other computer language that is so dirty, not understandable syntax like erlang.
Horrible syntax, horrible to convert to any other language.
I am trying to convert Wings3D .. and it is just so not understandable code. .. oh!
I tried to find any converter to assembly that works not just some sites admit that but you don't find it. or to any other language, there is not. Don't waste your time with this horrible language.
second
Congrats :)
The language looks unnecessary complicated. Why should anyone prefer this syntax? hipster nerd swag? btw the syntax is not an excuse for the use of compiled code
It isn't for everyone. It is a specialized language that is great at executing thousands of processes
What I meant with my last sentence was: I know the great power of this language in use for this specific area, but I also know that this doesn't explain why they designed the syntax so unattractive. As cool as the power of the language is as lame is the syntax u have to use for it. Btw I love this tutorial u explain everything so simple and interesting. The power of the compiler is awesome, but the language for the compiler is the problem.
Erlang is actually very simple language and fairly old. It just uses different approach to solve problems. It will take way less time to learn Erlang than e.g. Scala.
Hipster nerd swag is very dismissive considering the language came out decades before those terms became a thing. Not knocking on you in particular just the phrasing. Listen to Joe Armstrong's (inventor of Erlang) speeches.
After watching video about prolog and then this video, this syntax is actually makes sense.
It's not like in 1985 there was many modern syntaxes around. There was no Haskell, Python or Ruby. Between syntaxes of Prolog, Lisp and C, seems like Prolog was the best choice at the time.
Excellent tutorial
Excellent tutorial.
Thank you very much :)