In Python you can use lambda expressions to avoid the creation of temporary, one-time use functions. Look at the following example. def power(x): return x**2 l1 = map(power, range(4)) If you don’t need the power() function in another place, it’s a bit annoying to […]
Category: Coding
On list comprehensions II
In my previous blog entry, I shared some findings on creating lists with list comprehensions. I had a further look on this and how to use map and filter functions for list creation with list comprehensions. For example, in Python you can map a […]
On list comprehensions
I first read about list comprehensions when I started with Python. One application of list comprehensions is to avoid loops. A very simple example in Python would be as follows. l1 = [] for i in range(5): l1.append(i) print(l1) l2 = [x for x in […]
Arrays and lists in F#
Recently, while exploring the capabilities of the F# programming language, I stumbled over the syntax for array creation and accessing elements of arrays. It looks like this. let array = [|"foo"; "bar"; "baz"|] printfn "%A" (array.[0]) Two things I find remarkable here. First, the […]
Programming Languages Rankings
Interesting thoughts on Ranking Programming Languages by Ben Frederickson. Ranking Programming Languages by GitHub Users https://www.benfrederickson.com/ranking-programming-languages-by-github-users/ Will everything be JavaScript in the future? Oh my! Let’s hope TypeScript will make it.
Soziologin: “Hackathons sind Selbstausbeutung” | heise online
https://www.heise.de/newsticker/meldung/Hackathons-sind-Selbstausbeutung-4141848.html Interessante Bewertung dieser modernen Form der LAN-Parties. Ich weiß nicht was ich von Hackathons halten soll. Ist wahrscheinlich eher nervig.
The problem with programming
Jonathan Edwards thinks he knows what the problem with programming is and what can be done about this problem. The problem with programming and how to fix it https://alarmingdevelopment.org/?p=1173 I think industrial software development will always be a problem. You might want to read […]
Hello World on z/OS
Marianne Bellotti writes about mainframes. Hello World on z/OS https://medium.com/@bellmar/hello-world-on-z-os-a0ef31c1e87f I completely agree that ISPF is weird. 🙂
Ageism and Burn-out
Okay folks, let’s have a look at the dark side of working in IT. Surviving as an Old in the Tech World https://www.wired.com/story/surviving-as-an-old-in-the-tech-world/ What can you do when the pup of programming becomes the black dog of burnout? Dude, leave https://www.theregister.co.uk/2018/06/18/burn_out_and_leave_patching_the_patcher/ Is this just […]
Code Archaeology
Eric S. Raymond talks about code archaeology. Eric S. Raymond on Keeping the Bazaar Secure and Functional http://www.itprotoday.com/open-source/eric-s-raymond-keeping-bazaar-secure-and-functional Wait. Code archaeology? Interesting. I think, I could do this. Maybe this is a way for old programmers to stay in the field.
Teach Yourself Scheme in Fixnum Days
You might want to try this. Teach Yourself Scheme in Fixnum Days https://ds26gte.github.io/tyscheme/ I wish I had the time to read this.
Emacs 26.1 mit Zeilennummerierung im Buffer
Eine neue Version von Emacs ist da. Texteditor: Emacs 26.1 mit Zeilennummerierung im Buffer https://heise.de/-4060164
Processing – p5.js – Audio
Finally, I have some free time to try some more programming in Processing. I had a look at the p5.sound library. As far as I understood, p5.sound builds on W3C spec Web Audio. I’m not very good with audio. Haven’t tried it since my Basic days. […]
Replace JavaScript
Every time I read articles like the following from John Ankarström, I wonder why JavaScript is (still) so popular. Let’s Replace JavaScript with Something Better https://john.ankarstrom.se/english/texts/replacing-javascript/ Well, to be honest, I haven’t done bigger projects in JavaScript yet. So I do not really know how […]