I'm not sure about teaching OO in terms of shape hierarchies or animal species hierarchies. It might help intuition, but doesn't reflect typical usage IME.
If you did model animals in an OO style, you'd be more likely to have base classes or interfaces like IFarmable, IHuntable.
miniblog.
There are technologies that are arcane, time consuming to learn, but extremely helpful to know.
Have you encountered any that fit these criteria?
The latest Read Eval Print Love discusses rules engines!
https://leanpub.com/readevalprintlove004/read
I'm also interested to learn that Clojure has a unification library in its stdlib.
There's a seedy underbelly of refactoring tools that work most of the time.
For example, grep and sed can perform function renaming. For a small codebase, this works well (you can test or eyeball the result).
Ideally we'd only use fully correct tools, but simplicity often wins.
Mid stack inlining in Go: https://go.googlesource.com/proposal/+/master/design/19348-midstack-inlining.md
(Interesting implementation details: the inliner is AST based, how to preserve existing stack reflection APIs, and how to show good tracebacks.)
NLL (non-lexical lifetimes) now landing in Rust! https://smallcultfollowing.com/babysteps/blog/2018/10/31/mir-based-borrowck-is-almost-here/
I've realised that the expression problem applies to docs just as much as code.
E.g. for a PL, do you organise syntax highlighting docs with all editors together, or do you have a separate page for all relevant plugins of a single editor?
OH: Minecraft is the MUD of today's youth.
This is a really interesting way of thinking about Minecraft! It certainly seems to be an outlet for all sorts of creative projects.
What does computing look like if we don't organise our functionality into programs that become OS processes? What paradigms have we not considered?
https://shalabh.com/programmable-systems/systems-not-programs.html
I love how smartphone web browsers will offer a handy option if your clipboard contains a URL. Saves two key presses!
I wonder if there are other UIs that could be improved by considering the current clipboard context.
Ever thought that the AGPL was too weak and didn't encourage sharing source code? The SSPL is a viral copyleft license that requires you to share all the other software supporting your service!
https://lwn.net/Articles/768670/
(I'm struggling to imagine anyone who would use this.)
Internet software decays: https://utcc.utoronto.ca/~cks/space/blog/tech/InternetSoftwareDecay
(Software is dependent on the environment, and that's changing! You also have to stay on top of evolving security concerns.)
Tech skills missing in today's high school students interested in programming: https://nullprogram.com/blog/2018/10/31/
(And general purpose computing is becoming more niche! Don't buy a tablet without a Raspberry Pi too.)
Writing a tracing macro in Elixir: https://www.theerlangelist.com/article/macros_5
Lovely non-trivial example of where macros shine!
A discussion of IBM's revenue also shows the remarkable trajectory of Microsoft. MS may not have a foothold in mobile, and Windows is at saturation, but they're still growing!
https://www.zdnet.com/article/ibm-shows-growth-after-22-straight-quarters-of-declining-revenues-but-has-it-turned-the-corner/
I believe this is largely Azure.
A wonderful talk on a Common Lisp implementation (CCL), language community dynamics, and how things evolve: https://thisoldlisp.com/talks/els-2018/
Excellent overview of what WebAssembly enables today, and the features it will enable in future: https://hacks.mozilla.org/2018/10/webassemblys-post-mvp-future/
(High performance sandboxed execution! Better dev tools!)
Interestingly, Emacs lisp considers the literal 1. to be an integer literal, whereas most languages consider a decimal point to always mean a floating point number.
Awesome GitHub feature: if you link to a line of code at a specific commit, it will render as a little code preview!
Relevant docs:
People running successful open source projects: what do you do when the rate of PRs grows beyond what you can handle? How do you ensure that PRs have had at least one collaborator respond, without being drowned in notifications/emails yourself?
Please RT for reach.
Showing 2,421-2,440 of 7,508 posts