6 ms·
Author here. Looking to get feedback from programmers before publishing. You can download a sample chapter at: https://programmingforcats.com/download/ https://
by tigerlilythecat 6y ago
Author here. Looking to get feedback from programmers before publishing. You can download a sample chapter at: https://programmingforcats.com/download/ https://programmingforcats.com/download/
- timthorn 6y agoExcellent work! Did your dog delete the sections on cat & mouse games, and em-cat-bedded programming? Oh, and making sure the code was appropriately tabbified?
- smlckz 6y agoMeow. Mwahaha. Why Java? What made you think that cats would like OOP and lots of boilerplate?
- swader999 6y agoI was thinking cats would prefer scala.
- berkes 6y agoLooking at my cats, I presume they ignore anything neat and impressive, prepared for them. And instead go for the first thing that satisfies their current whim. So, a hodgepodge of bash, basic, Python, JavaScript and some C. Or Java if it happens to be just on top in some menu. And NIH: obviously theyr own ZiggyLang or ZazaScript.
- tigerlilythecat 6y agoYou are absolutely correct, because there is a great Scala library called "Cats"! https://typelevel.org/cats/ https://typelevel.org/cats/
- derefr 6y agoTo answer seriously: it might not be most people's favorite language, but it's probably one that the most practicing programmers today and people who ever took a programming language in school any time in the last 30 years, can read; and therefore it's probably the best choice as the basis for a humor book. Java has so little syntax—and yet what little syntax it has is C-ish—that it's mutually intelligible to everybody from programmers who only know C, to programmers who only know Haskell. (Maybe not to programmers who only ever learned 6502 assembler, but they have their own humor books published 40 years ago.) (Is there a term for this in linguistics? A measure of the eigenvector of mutual intelligibility a language has to all other spoken/written languages?)
- alexshendi 6y ago"Java has so little syntax... ". I pronounce this the understatement of the (admittedly young) decade.
- nomdep 6y agoI took Object Pascal, C, C++, and Visual Basic. Never Java
- smlckz 6y agoi don't know, but, why not, say, BASIC? (most programmers being able to understand) or, Smalltalk, (little syntax, that ''fits inside a postcard'') or a lisp?
- pmontra 6y agoBASIC was commonly understood in the 80s despite lots of very different dialects and also in the 90s mostly because of Visual Basic. Is it still true that developers are familiar with BASIC? I would expect that JavaScript and maybe Python replaced BASIC as lingua franca. JavaScript looks simpler because it basically (pun intended) doesn't have a standard library to learn, with all the problems deriving from that. Java doesn't seem a bad choice because if one sticks to the basics probably everybody can figure out what a simple program does. Smalltalk, I wonder how many people here ever read a Smalltalk source file [1]. Lisp, maybe more, at least to look once at all those funny parentheses (disclaimer, I wrote my fair share of Lisp but I know the effect it does on most people.) [1] One random Smalltalk project from the list of trending Smalltalk repositories on GitHub https://github.com/svenvc/zinc https://github.com/svenvc/zinc
- alisonkisk 6y agoBASIC was commonly understood because it had no structure or boilerplate to learn, just a few commands.
- xkriva11 6y agoWhat you see in the Zinc repository is (obsolete) serialization format, not the code the programmer works with.
- systemvoltage 6y agoJava is like an older brother. He gets all the work done, takes responsibility, accepts blame and still takes a lot of flak. Undetered.
- tyingq 6y agoMaybe add an ethics section. https://hackernoon.com/learnings-from-the-meow-bot-attack-on-our-mongodb-databases-y22q3zs8 https://hackernoon.com/learnings-from-the-meow-bot-attack-on...
- armoredkitten 6y agoEthics? I'm pretty sure cats are above such pedestrian concerns.
- HowTheStoryEnds 6y agoYeah violating ethics is something that happens when you get caught doing something others don't like and like any non-critical error a cat can just walk away from that or spend their time reprogramming the short-circuited device.
- swader999 6y agoHerding cats is always my go-to metaphor for software projects.
- eitland 6y agoI don't particularly like cats, but the intro is so well written I'd been tempted to read a little further. A few folks have already vented that they don't like it. Don't care too much about it. A good bunch of people might love a book like this.
- happyconcepts 6y agoA bad bunch of people too
- gostsamo 6y agoSo, there is already "The Naming of Cats", the book needs "The caching of Cats" and you have the two most difficult chapters covered.
- troymc 6y agoDon't forget "The Herding of Cats"!
- gostsamo 6y agoWell, the two most difficult things with cats is how to name them, how to cache them, and the offset by one when counting the herd.
- bryanrasmussen 6y agoWe need a little discussion as to the best programming paradigms for cats - I'd call it "Cool for Cats"
- gostsamo 6y agoIt is interesting how cats will implement tail recursion.
- giovannibonetti 6y agoAwesome!
- HowTheStoryEnds 6y agoMy cat still seems to run out of space when tail recursing when certain values get adjusted, I figure he needs to go into functional programming and no longer use shared and mutable positional values with what he uses to thread.
- shagie 6y agoIf you like The Naming of Cats... check out RFC 2100
- vlowther 6y agoIt will look good on the bookshelf next to https://www.goodreads.com/en/book/show/3113099-mr-bunny-s-big-cup-o-java https://www.goodreads.com/en/book/show/3113099-mr-bunny-s-bi...
- jgoodknight 6y agothis is purrfect, I love it can't wait to have the full book: good luck finishing it!
- Zhyl 6y agoFirstly, this is frikking hilarious. I giggled so loudly while reading it that my girlfriend asked what I was laughing at and she was so captivated by it that I had to sit on the couch with her reading it, flicking to the next page of the downloadable whenever she'd finished. Secondly, I applaud the style/premise of the book. Cats especially are aiming at an underserved demographic that would absolutely be interested in programming but do not have the same number of and level of quality of 'ins' (ways of getting into programming) as other demographics. Along the same lines I would love to see 'scripting for Sims 4 builders' or 'Love Calculator and other scriots for your next sleepover'. Thirdly, I really like the way that this is pitched. I feel like so few tutorials give a high level overview of programming rather than diving into specifics of languages. I can only think of "Hello Ruby" as being analogous, although I'm sure others exist. Finally, I love the art style. Not much more to be said than that. I can't really think of anything critical to add.
- tigerlilythecat 6y agoThank you! I agree that cats are an underserved demographic! P.S. Tell your girlfriend to buy you the book for your birthday :)
- networkimprov 6y agoAs you liked this, you'll adore the original (?) entry in this genre, the delightful and pictorial Why Cats Paint - A theory of feline aesthetics http://www.monpa.com/wcp/ http://www.monpa.com/wcp/
- pcthrowaway 6y agoAre there any good resources for felines in tech?
- ktpsns 6y agoThink about a chapter about electronics! Soldering with cats is... Weird!
- tigerlily 6y agoWould you like to have my username instead? If yes then I can message you my details via your site and we can mail hn together to request a change.
- tigerlilythecat 6y agoAww I'm touched! But no need, this is not my main account and I only use it for this book, while I see you have a lot of history already. But thank you!
- tigerlily 6y agoNo worries. I like your book sample and thoroughly enjoyed your illustrations :)
- HowTheStoryEnds 6y agoWill there actually be basics of programming in there or is it just for cuteness? Buying it either way but it might be a means to finally kindling an interest into it in my spouse. :P