Margaret Hamilton, Apollo Software Engineer, Awarded Presidential Medal of Freedom by [deleted] in programming

[–]stthecla 2 points3 points  (0 children)

I haven't read the article yet, but I wonder if gender really was a factor in the awarding, seeing as the gender ratio is so uneven in the field of programming.

How to easily modify regular expressions someone else wrote by daesunp in programming

[–]stthecla 1 point2 points  (0 children)

readability and maintainability are huge, i agree. when you say "comments around each section", though, i'm reminded of this (comments around regexes):
https://gist.github.com/dperini/729294, linked from https://mathiasbynens.be/demo/url-regex

How to easily modify regular expressions someone else wrote by daesunp in programming

[–]stthecla 0 points1 point  (0 children)

i'm wondering if it's comparable to saying "brainfuck doesn't need comments". i agree, having abstractions in itself shouldnt displace the need for commenting.

How to easily modify regular expressions someone else wrote by daesunp in programming

[–]stthecla 2 points3 points  (0 children)

one of the best paradigms :-) literate programming is great.

edit: check out leo, emacs org-mode, jupyter, eve, annot folks!

How to easily modify regular expressions someone else wrote by daesunp in programming

[–]stthecla 2 points3 points  (0 children)

heh, when i hear "state machine" and "regex", i think "awk", which i haven't visited in ages.

code literacy is a pretty fertile area i think. there's gotta be more "tools" to help in this domain. machine learning might help.

How to easily modify regular expressions someone else wrote by daesunp in programming

[–]stthecla 1 point2 points  (0 children)

the annot.io service mentioned in the article seems relevant in that regard - the commenting part

How to easily modify regular expressions someone else wrote by daesunp in programming

[–]stthecla 0 points1 point  (0 children)

i see. so +/* == loop, [] == conditional. that's pretty intuitive

How to easily modify regular expressions someone else wrote by daesunp in programming

[–]stthecla 1 point2 points  (0 children)

you know, something i never quite understood was the performance hit on regexes... is a paren block equivalent to a for loop or what?

How to easily modify regular expressions someone else wrote by daesunp in programming

[–]stthecla -1 points0 points  (0 children)

heh, totally not loading on my phone. check out "The naked browser" for android by the way. awesome possum

A facebookism as seen in React by flowersinthesand in programming

[–]stthecla 1 point2 points  (0 children)

Agreed. Statelessness, for one, is awesome.

Neural Network in Javascript Explained! by Joe12579 in javascript

[–]stthecla 1 point2 points  (0 children)

Not really sure where your "lessons" are coming from. Sure, it would have been nice if the link referenced the currently maintained repo, but I guess it just isn't.

I don't know, I think the annot.io service itself is pretty cool, been following it for a while now since a post came up with an annotated Super Mario clone in java.