-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[New Concept Exercise on lambda]: Add Secrets draft
#2589
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
Conversation
Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
|
I'm not sure what to put in |
|
I rigged up something for the sort. |
Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
|
Btw, how do I tell if the CI is failing or not? 🤔 |
It usually shows here on the main page...buuut the workflow needs to be approved by a maintainer, so if you then do another push, it gets hidden until the workflow gets approved/run again. |
|
ooof I think I need to take a break and look at this with fresh eyes in the morning (after 6am Pacific). Apologies, @Steffan153 -- I am a bit blurry at the moment, so please bear with me. I'll also have some ideas for the |
|
I'm just 1 hour ahead of you and am a super heavy sleeper (I'm about to buy one of those bed shakers), so that should be plenty good :) |
|
Hey, just wondering what happened with this? |
|
Hi @Steffan153 -- I got pulled into troubleshooting, and then this slipped through the cracks. But I am reviewing today. Apologies. |
|
@Steffan153 -- I have really been struggling with this exercise, and how to adapt it better to Python.
The most "natural" way to do this in Python would be to simply write a function that takes or returns a function -- not by writing/returning a I am also struggling with this, from the introduction:
...because it is perfectly fine in Python to define a one-line named function. Mind you, it is considered pretty bad form, but this will compile and run without issue: So I am trying to think through how to modify tasks 1 & 2 to better show where or why you would need a I think task 3 can be modified to use Task 5 ... might be able to be modified to pull functions from a The long and short : This exercise needs work - but it is around clarifying what topics are, and are not covered. I would suggest in-line edits, but I am not sure that is useful, since they would be less edits, and more entire re-writes. So I am inclined to "optimistically merge" this, and then discuss how we re-work it. The other option is to turn this exercise into the start of a concept exercise on Thoughts on how you would like to proceed? Let me know. Thanks! |
|
What if we have this learn both the Lambdas concept and the Higher-Order Functions? Sounds like they would go well together.
The main advantage is that they're nameless in that case. (Well, and for.... well... yes.... code golf.) I will update that to be clearer. I'll work on this later. |
lambda]: Add Secrets draft
|
@Steffan153 -- are you still up for working on this? Let me know...thanks! |
|
Still working on this. Thanks |
|
@Steffan153 -- Just checking in again. Are you still working on this? |
|
Yeah I'll get to it sometime... |
|
I'm going to close for now to clear the queue. Ping @J08K or myself when you are ready, and we will happily re-open. |
|
@Steffan153 can we work on this together, if you're fine with that? This seems interesting. |
|
@safwansamsudeen -- This exercise is closed to contribution at this time. |
Closes #2357
My checklist:
sorted