• 0 Posts
  • 36 Comments
Joined 3 years ago
cake
Cake day: June 19th, 2023

help-circle












  • Also: January is not always the 1st month, sometimes it is the 0th.

    1/1/2026 can be both Jan 1st, and Feb 1st.


    For the downvoters, try it in your browser’s terminal:

    let test = new Date("1-1-2026");
    
    console.log(`Year: ${test.getFullYear()}, Month: ${test.getMonth()}, Day: ${test.getDate()}`);
    // Prints -> Year: 2026, Month: 0, Day: 1
    
    // --- --- --- --- --- --- --- ---
    
    // test.getFullYear() returns the year, but test.getYear() only returns the number of years since 1900
    
    // test.getMonth() returns the month, but the first month is 0-indexed
    
    // test.getDate() returns the day, 1-indexed, but test.getDay() returns the current day right now and not the day of the date object
    
    




  • You’re way quicker manually reviewing code compared to setting up everything just so that an LLM agent could do that.

    Not only that, you’re better off reviewing the code manually so you understand how everything works.

    If you understand how things work, you can plan things out.

    If you don’t, you’ll end up painting yourself into a corner.

    If you are scared of that, commercial products are your choice.

    Commercial products are not a panacea for bad software quality.

    Code openness and code quality are independent, orthogonal axes.