Jim Lynch Codes
  • Blog
  • About Jim

Writings about one coder's stories & experiences.

Video Tutorial - Java Eclipse Fizzbuzz (with TDD!)

12/16/2015

0 Comments

 
I'm getting back into video tutorials! This one covers the classic Fizzbuzz coding kata. Here I do it with a TDD (Test Driven Development) approach, starting with the unit tests and following the red-green-refactor cycle. Enjoy!

Read More
0 Comments

Coding For Kids

12/16/2015

0 Comments

 
Hour of Code exercises Link - https://code.org/learn/
There are a lot of hoops and traps to get past when setting up an IDE, and this can be a real turn-off for kids. I can remember when I was an early teenager trying to set up eclipse or flash builder. I really had no idea what I was doing, and I was either trying random things as if hacking away at forest brush with a machette or following along step-by-step with an online guide. It's tough for beginners, and it's a shame that most kids give up or are too afraid to start, and they never really get to the funs part of coding; deciding how to use the given api to build things, solving a problem to get the code working as you intended, or seeing something that you made run.

Read More
0 Comments

Proofreading with JProof

12/15/2015

0 Comments

 
Let me begin by saying that I don't like reading grammar mistakes. To me, reading blatant errors shows a lack of intelligence and casts doubt on the validity of the claims in the text. However, much like coding, I believe that writing should be an organic process where you plop your thoughts down in words and then refactor it later. With code, however, you have a compiler to check your work. For word processors like Microsoft Word or Google Docs there is no compiler to run the text through and reveal grammar mistakes with the same level of detail as a skilled proofreader (note to self- this could be good project). These programs love to tout how they have grammar checking engines, but it seems that at the moment human proofreading is the best method for catching and fixing the most errors. 

Read More
0 Comments

Controlling the Tab Key (in As3) with TabIndex & TabEnabled

12/15/2015

0 Comments

 
Picture
In the world today users will take for granted the ability to use the tab key on the keyboard to navigate between text fields in a form. In Flash you are building dialog boxes from shapes and TextFields so it can't guess how you want the tabs to be controlled. Luckily, you are given total control over this because text fields have the properties tabIndex and tabEnabled.

Tab index – This is an integer that basically allows you to put this text field in a list relative to all the other fields. The first one we should have a tabIndex of one, the second tabIndex of two, and so on. So suppose now you have the text field with tab index of one selected (which for TextFields just means that there is a cursor blinking inside of it). Then pressing tab will move your cursor to the TextField with index two. If you press tab again when the selection is on the text field the highest index then the list will loop back around, and the one that has index one will be selected.


Read More
0 Comments

Hilite.me Syntax Highligher

12/13/2015

0 Comments

 
I've recently discovered this syntax lighting website, and I'm really liking it a lot. With my new weebly theme, the alex gorbachev library stopped working (the code always looked black). With this hilite.me highlighted syntax generator it's a breeze to embed code into my web pages and blog posts now. Here's a screenshot of what it looks like:

Read More
0 Comments
<<Previous
Forward>>

    ​Author

    Picture
    The posts on this site are written and maintained by Jim Lynch. About Jim...
    Picture
    Follow @JimLynchCodes
    Follow @JimLynchCodes

    Categories

    All
    Actionscript 3
    Angular
    AngularJS
    Automated Testing
    AWS Lambda
    Behavior Driven Development
    Blockchain
    Blogging
    Business Building
    C#
    C / C++
    ClojureScript / Clojure
    Coding
    Community Service
    CS Philosophy
    Css / Scss
    Dev Ops
    Firebase
    Fitness
    Flash
    Front End
    Functional Programming
    Git
    Go Lang
    Haskell
    Illustrations
    Investing
    Java
    Javascript
    Lean
    Life
    Linux
    Logic Pro
    Music
    Node.js
    Planning
    Productivity
    Professionalism
    Python
    React
    Redux / Ngrx
    Refactoring
    Reusable Components
    Rust
    Security
    Serverless
    Shell Scripting
    Swift
    Test Driven Development
    Things
    TypeScript
    Useful Sites
    Useful Tools
    Video
    Website Development
    WebStorm
    Writing

    Archives

    March 2023
    August 2021
    February 2021
    January 2021
    October 2020
    September 2020
    May 2020
    April 2020
    February 2020
    January 2020
    December 2019
    October 2019
    September 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    May 2017
    April 2017
    March 2017
    February 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    December 2015
    November 2015
    October 2015

    RSS Feed

  • Blog
  • About Jim
JimLynchCodes © 2023