Code Review 🦊 SO MUCH LEARNING #6 Building an Online Business

  Рет қаралды 29,746

DevTips

DevTips

Күн бұрын

Пікірлер: 68
@martinnyagah4313
@martinnyagah4313 6 жыл бұрын
I was confused at first when you guys came in but I decided to wait and see how it goes. Honestly, I am glad I did not leave. I speak for myself but I love how you are doing this in the real world kinda way. Making mistakes, and finding solutions plus giving very valuable advice that most might take for granted. Like test driven development or testing out your code before or after is a very valuable trait. I am honestly committed to the channel and what you two are doing. I love the background music by the way, very relaxing and weirdly triggers my thinking..Good job you two.
@sebastianhewelt2197
@sebastianhewelt2197 6 жыл бұрын
This is e x a c t l y why I like you guys too!
@DarkZoneGamingMain
@DarkZoneGamingMain 6 жыл бұрын
Absolutely fantastic episode. You guys should keep making these long kids where you code together, it really helps us learn how people work together and engineers figuring stuff out and also very nice to watch besides the learning. Thanks so much for this you guys rock
@wilhelm.reeves
@wilhelm.reeves 4 жыл бұрын
You guys are so fun 💜 Love your channel 👍 ✌ ✨
@mtheoryx83
@mtheoryx83 6 жыл бұрын
I think a great part of this is the extra effort at the end to do a retrospective. So many times people (including myself) do a thing, then just move right onto the next thing. Taking some time for reflection is how improvements happen, and you two showed how it can be done very respectfully. We can all learn a great deal from that.
@AdityaFingerstyle
@AdityaFingerstyle 5 жыл бұрын
33:44 I found it really shocking that MPJ didn't know what a static function was. Great video though 👌
@richie-bonilla
@richie-bonilla 6 жыл бұрын
Great episode. I love that the edit is not polished to the point of being sterilized. Watching how you reason about things or use a bit of tooling is very helpful. It helps me, as a self-taught dev, know that the way I do certain in-between things is not inefficient/unusual.
@davidluhr
@davidluhr 6 жыл бұрын
Really enjoying the learning content of the series. It may be helpful to provide an overall plan of what you are working on and planning for the future. For example, right now, is there a specific MVP you are working towards, or are you still exploring and learning potential technologies to use? At what point are you going to define the business in terms of it's services and revenue, or begin designing what the website will look and do? Starting each episode with a quick recap of what you're trying to accomplish at this stage would be really useful. Thanks for putting these videos together!
@BrianDriesenga
@BrianDriesenga 6 жыл бұрын
Learning tons! Thanks for talking this all through....good to have a deeper understanding.
@douglosu
@douglosu 6 жыл бұрын
As someone who has been in the industry a long time, this code review was so representative of what it is really like in a lot of places, even the beginning part, it almost gave me code review PTSD.
@FurbnMax
@FurbnMax 3 жыл бұрын
haha well said
@max-mr5xf
@max-mr5xf 6 жыл бұрын
On *NIX and OSX console.error doesn't only print red but uses stderr instead of stdout. So error messages can be handled seperately, also redirected, while being displayed in your terminal by default.
@DanKaschel
@DanKaschel 2 жыл бұрын
Windows as well.
@samwemyss5002
@samwemyss5002 6 жыл бұрын
First video I have fully watched since David and MPJ took over. And to be honest it was actually quite informative if not a little slow / roundabout (nothing 2x speed can't fix). I really liked the comment from MPJ on speculative code and how that isn't very useful for the team/yourself later on. Keep it up! Keen to see you guys improve and learn from different perspectives
@gamberril
@gamberril 5 жыл бұрын
Very interesting !
@JonPreece
@JonPreece 6 жыл бұрын
You guys really need to install, and use, prettier. You're always manually formatting your code. I've been using Prettier for some time now and its so cool I never have to worry about formatting my code ever again
@DanKaschel
@DanKaschel 2 жыл бұрын
I don't like formatting tools. They fight me when we disagree on how something should look.
@Ahmad-ww4ue
@Ahmad-ww4ue 2 жыл бұрын
prettier is a life saver.
@AbhishekKumar-mq1tt
@AbhishekKumar-mq1tt 6 жыл бұрын
Thank u for this awesome video and series
@t3rman1
@t3rman1 6 жыл бұрын
Another fun tutorial :) You can map the docs property of snapshot. I could see that was annoying mpj :) This line should do it. return snapshot.docs.map( doc => ({id: doc.id,...doc.data() }) )
@TheSldsnake
@TheSldsnake 6 жыл бұрын
Amazing episode pls more !!
@Hasel32CH
@Hasel32CH 6 жыл бұрын
MPJ you win the award for coolest shirt! 😀
@Joshca4
@Joshca4 6 жыл бұрын
i like this kind of videos, more of this please!
@peterthefoxx
@peterthefoxx 6 жыл бұрын
Hey nice series, really helped me progress with nextjs however I've encountered a security issue with the database setup used and it's probably worth people knowing that they shouldn't use this in a real application. Nextjs shares everything with the client, all your env values will be visible on the client side! - You can see this in chrome dev tools if you search for one of your ENV variable names from the sources tab then you see it's publicly visible. Not sure of a fix yet other than having to make a separate api that nextjs can talk to.
@thearchibaldtuttle
@thearchibaldtuttle 6 жыл бұрын
I have no idea what you are doing but the life share feature is awesome!
@ericellison2413
@ericellison2413 6 жыл бұрын
2:38 => Read/write so that you can destroy my system ...... mpj is the jimmy kimmel of coding ..... love that dude ...
@RobertBMenke
@RobertBMenke 6 жыл бұрын
Pair programming > code review. Well said.
@t3rman1
@t3rman1 6 жыл бұрын
Good luck with your new business :)
@ksuhavoloshuk2644
@ksuhavoloshuk2644 5 жыл бұрын
Thanks for this episode, it was really helpful to understand more the code review process in practice. Our team is using Review Assistant since it integrates with Visual Studio, and it suits us fine. But could you please recommend some plugins for code formatting?
@cristianrosescu2914
@cristianrosescu2914 6 жыл бұрын
I think I have a better understanding of await and promises and when await can/not be used. An episode with examples on when to use or not to use async/await would be great.
@OfficialDevTips
@OfficialDevTips 6 жыл бұрын
Check out this episode (and comments) on Fun Fun Function: kzbin.info/www/bejne/nqCYgaF4hNSUmdk
@spotted756
@spotted756 6 жыл бұрын
Hello, I would have created a promise that returns null or undefiend and used setTimeout to simulate a delay for example in order to test that catch thing.
@SuprunAlexey
@SuprunAlexey 6 жыл бұрын
Interesting
@robertbrogers3
@robertbrogers3 6 жыл бұрын
I'm confused as to how the getInitialProps is used. It's returning a promise as well with the .then returning an object. Does the calling code use async and await to use the values 'returned' from the promise?
@mellet89
@mellet89 6 жыл бұрын
When the "page component" is run on server side in next js, it will call the getInitialProps function on your component first. Wait for the result(doesnt matter if the calling code is using then or await, it's just a implementation detail) of the function and inject it as a prop to the component before returning the response to the web browser :) If you want to dive down deep you can check out the source code of the App(root componet) of nextjs and what it does here: github.com/zeit/next.js/blob/canary/lib/app.js
@robertbrogers3
@robertbrogers3 6 жыл бұрын
thanks
@mrmagicrapattack
@mrmagicrapattack 6 жыл бұрын
Go map that snapshot! stackoverflow.com/questions/46614055/map-items-of-collection-snapshot-in-firebase-firestore
@slimhmidi6398
@slimhmidi6398 6 жыл бұрын
Very very interesting episode
@BirkirRGujonsson
@BirkirRGujonsson 6 жыл бұрын
Instead of the forEach you could simply return a map, removing the result array, push etc.
@rexli2017
@rexli2017 6 жыл бұрын
Huge support
@iRedee
@iRedee 6 жыл бұрын
Would love to see more of this code review concept. But suggest there be more comment should be written when writing the code in the first place. Both help to code review and so that people can follow along easier...
@sholomaber
@sholomaber 6 жыл бұрын
During the retrospective you mentioned how pair programming is superior to code review. Does that mean code review is not required if the code was written in the pair programming method?
@OfficialDevTips
@OfficialDevTips 6 жыл бұрын
Correct. It becomes reviewed as it is being done. Also it removes a lot of downtime for someone to get up to speed with the code. All in all it can be more effective then one doing coding, and someone else later having to figure out intent and correcting bugs.
@vamseetelugupriest
@vamseetelugupriest 5 жыл бұрын
Code vs agile manifesto must be compared.
@sreekumarmenon
@sreekumarmenon 6 жыл бұрын
fyi, "next start" is to be run after running . "next build"
@spotted756
@spotted756 6 жыл бұрын
Could you explain why 404 does not throw an error when using Promises but it does when you use async await? repl.it/@Deviad/Maybe-Data-structure Thank you. Anyways, the one in the video is a typical situation when Typescript and Flow can save you lots of time.
@sdelvalle57
@sdelvalle57 6 жыл бұрын
How about hosting it on firebase?
@mellet89
@mellet89 6 жыл бұрын
You can check out this example to see how to host a nextjs app on firebase: github.com/zeit/next.js/tree/canary/examples/with-firebase-hosting
@sivuyilemagutywa5286
@sivuyilemagutywa5286 6 жыл бұрын
thank you
@puyanwei
@puyanwei 6 жыл бұрын
Nice relaxing music... sometimes coding is not that relaxing lol :D
@JuhoLehtinenLehtuska
@JuhoLehtinenLehtuska 6 жыл бұрын
I think you could use querySnapshot.docs.map
@rafaklimek6527
@rafaklimek6527 6 жыл бұрын
that's magic for me xd
@UniBreakfast
@UniBreakfast 5 жыл бұрын
Music is too loud I would say.(
@dealerpriest
@dealerpriest 6 жыл бұрын
Why you still use react and next? I find vue and nuxt to be a much more smooth experience! Try it out, gör det bara👍👍
@rohitkrishnan5456
@rohitkrishnan5456 6 жыл бұрын
Can you define this smooth experience?
@rohitkrishnan5456
@rohitkrishnan5456 6 жыл бұрын
I personally use react because it's less abstracted
@mojar2680
@mojar2680 6 жыл бұрын
You are not growing inside the devtips channel, you guys are great. But you should create your own fanbase / yt channel for actual exposure
@t3rman1
@t3rman1 6 жыл бұрын
The whole thing. return loadFirebase() .firestore() .collection('agencies') .limit(10) .get() .then( (snapshot) => { return snapshot.docs.map( doc => ({id: doc.id,...doc.data() }) ) });
@emberchord
@emberchord 6 жыл бұрын
they are so handsome :o
@mr.anandpande
@mr.anandpande 6 жыл бұрын
Online business from scratch 🤔
@OfficialDevTips
@OfficialDevTips 6 жыл бұрын
We should have a poll. At which episode will there be a functioning website? (... #50?) At which episode do we have some sort of revenue? 😅
@mr.anandpande
@mr.anandpande 6 жыл бұрын
DevTips The final episode have to be in between #20 to #25 (for some kind of revenue) ..... otherwise it becomes lengthy 🙃
@krishnaidamakanti1644
@krishnaidamakanti1644 6 жыл бұрын
Thank you.. myfavs.in
@QWEEKEN73
@QWEEKEN73 6 жыл бұрын
Great insight. I am working on a meal prep app (keyword working). I have the functionality pretty much finished for the front-end. From the user's side, it lets you pin point what person you'd like to order meals from, requests info on what meals they are offering (currently static JSON), and then renders the items as product cards on the screen for you to then choose and purchase. This is my first full-fledged project. If you get a chance, could you please take a look and see if I'm heading in the right direction. - github.com/SenseiCain/meal-prep-app Thank you!
@eddiejaoude
@eddiejaoude 6 жыл бұрын
Windows tshirt 😱 ... duuuuude 😔. Linux 😉🤓💪😜
@OfficialDevTips
@OfficialDevTips 6 жыл бұрын
It's too bad that I don't show the entire thing really - it's a Japanese Windows 95 shirt.
@eddiejaoude
@eddiejaoude 6 жыл бұрын
Next time 👍🤓
Junior Vs Senior Code - How To Write Better Code
22:13
Web Dev Simplified
Рет қаралды 1,1 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Recursion ➰ for Paginated Web Scraping
32:24
DevTips
Рет қаралды 30 М.
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
Code Review Best Practices
58:47
JetBrains
Рет қаралды 94 М.
7 Amazing Developer Tools that you're not using yet
6:27
Fireship
Рет қаралды 1,9 МЛН